Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 86.33 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.046/1.046, allocations: 135.3 MB / 426.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003528/0.0003529, allocations: 12 kB / 0.5071 GB, free: 5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1707, allocations: 82.31 MB / 0.5875 GB, free: 2.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.5011/0.6718, allocations: 173.3 MB / 0.7567 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009446/0.6813, allocations: 5.369 MB / 0.7619 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001559/0.6829, allocations: 35.75 kB / 0.762 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.6842, allocations: 397.5 kB / 0.7623 GB, free: 9.73 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.00416/0.6884, allocations: 1.376 MB / 0.7637 GB, free: 8.348 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.6911, allocations: 0.8391 MB / 0.7645 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004149/0.6953, allocations: 3.446 MB / 0.7679 GB, free: 4.062 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.6965, allocations: 0.7981 MB / 0.7686 GB, free: 3.254 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001595/0.6981, allocations: 0.8869 MB / 0.7695 GB, free: 2.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.6995, allocations: 0.9068 MB / 0.7704 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001223/0.6996, allocations: 48 kB / 0.7704 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.7017, allocations: 0.7015 MB / 0.7711 GB, free: 0.7031 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000502/0.7022, allocations: 0.4947 MB / 0.7716 GB, free: 212 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003404/0.7026, allocations: 281.2 kB / 0.7719 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001822/0.7044, allocations: 1.633 MB / 0.7735 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.04e-05/0.7044, allocations: 0 / 0.7735 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.966e-06/0.7045, allocations: 0 / 0.7735 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.439e-05/0.7045, allocations: 0 / 0.7735 GB, free: 14.29 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002831/0.7073, allocations: 1.381 MB / 0.7748 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/0.7074, allocations: 16.03 kB / 0.7748 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002123/0.7076, allocations: 156.2 kB / 0.775 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001958/0.7096, allocations: 339 kB / 0.7753 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001353/0.711, allocations: 0.8362 MB / 0.7761 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.993e-05/0.711, allocations: 74 kB / 0.7762 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/0.7113, allocations: 107.9 kB / 0.7763 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001914/0.7132, allocations: 1.081 MB / 0.7774 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.7132, allocations: 0 / 0.7774 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.392e-05/0.7133, allocations: 40 kB / 0.7774 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.041e-05/0.7134, allocations: 42 kB / 0.7774 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001618/0.715, allocations: 0.9954 MB / 0.7784 GB, free: 9.129 MB / 0.5919 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006145/0.7211, allocations: 4.243 MB / 0.7825 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009378/0.7221, allocations: 0.5982 MB / 0.7831 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005096/0.7226, allocations: 346.5 kB / 0.7835 GB, free: 3.645 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002125/0.7228, allocations: 109.5 kB / 0.7836 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.7229, allocations: 46.98 kB / 0.7836 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=53): time 1.994e-06/0.7229, allocations: 0 / 0.7836 GB, free: 3.465 MB / 0.5919 GB Notification: Performance of matching and sorting (n=55): time 0.004057/0.727, allocations: 2.216 MB / 0.7858 GB, free: 1.137 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.727, allocations: 63.89 kB / 0.7858 GB, free: 1.062 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.7281, allocations: 0.8726 MB / 0.7867 GB, free: 184 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.531e-05/0.7282, allocations: 37.7 kB / 0.7867 GB, free: 140 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/0.7286, allocations: 0.5146 MB / 0.7872 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001782/0.7288, allocations: 205.1 kB / 0.7874 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/0.7288, allocations: 16 kB / 0.7874 GB, free: 15.39 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.7289, allocations: 337.9 kB / 0.7878 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004747/0.7294, allocations: 285.8 kB / 0.788 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005896/0.73, allocations: 444.9 kB / 0.7885 GB, free: 14.3 MB / 0.6075 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.7328, allocations: 1.096 MB / 0.7895 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.7328, allocations: 7.938 kB / 0.7895 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.00153/0.7343, allocations: 0.9262 MB / 0.7904 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.7343, allocations: 8 kB / 0.7904 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/0.7344, allocations: 4 kB / 0.7905 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001971/0.7346, allocations: 102.5 kB / 0.7905 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/0.7353, allocations: 171.8 kB / 0.7907 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003384/0.7387, allocations: 4.275 MB / 0.7949 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008974/0.7396, allocations: 82.12 kB / 0.795 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/0.7396, allocations: 24 kB / 0.795 GB, free: 7.168 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0005296/0.7402, allocations: 350 kB / 0.7953 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.7403, allocations: 102.9 kB / 0.7954 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.7405, allocations: 113.1 kB / 0.7955 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.7405, allocations: 8 kB / 0.7955 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7406, allocations: 0 / 0.7955 GB, free: 6.594 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001082/0.7416, allocations: 0.7691 MB / 0.7963 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003136/0.7448, allocations: 1.992 MB / 0.7982 GB, free: 3.676 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.7448, allocations: 4 kB / 0.7982 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.7455, allocations: 164.2 kB / 0.7984 GB, free: 3.512 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000107/0.7456, allocations: 40.83 kB / 0.7984 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.7457, allocations: 19.98 kB / 0.7984 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/0.7469, allocations: 1.48 MB / 0.7999 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.7469, allocations: 4 kB / 0.7999 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001739/0.7486, allocations: 1.246 MB / 0.8011 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000394/0.7491, allocations: 247.9 kB / 0.8014 GB, free: 272 kB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.7492, allocations: 19.98 kB / 0.8014 GB, free: 252 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000723/0.7499, allocations: 85.7 kB / 0.8015 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.75, allocations: 40.17 kB / 0.8015 GB, free: 128 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-05/0.7501, allocations: 31.92 kB / 0.8015 GB, free: 96 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007785/0.7509, allocations: 0.6083 MB / 0.8021 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7509, allocations: 0 / 0.8021 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009442/0.7518, allocations: 300 kB / 0.8024 GB, free: 15.2 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002421/0.7543, allocations: 1.889 MB / 0.8042 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.7558, allocations: 1.006 MB / 0.8052 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.7558, allocations: 4 kB / 0.8052 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0006035/0.7564, allocations: 448 kB / 0.8057 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/0.759, allocations: 0.6222 MB / 0.8063 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.769, allocations: 6.252 MB / 0.8124 GB, free: 4.621 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008972/0.77, allocations: 1.17 MB / 0.8135 GB, free: 3.422 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001083/0.7711, allocations: 252.4 kB / 0.8138 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005038/0.7716, allocations: 375.3 kB / 0.8141 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of SimCode: time 1.203e-06/0.7716, allocations: 0 / 0.8141 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05334/0.8249, allocations: 29.98 MB / 0.8434 GB, free: 5.324 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/0.8252, allocations: 276 kB / 0.8437 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.415/3.241, allocations: 0 / 0.8437 GB, free: 4.973 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) Environment - environmentSimulation: