Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",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.0009461/0.000946, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0009746/0.0009745, allocations: 192.9 kB / 16.14 MB, free: 6.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.207/1.207, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7956/0.7956, allocations: 135.1 MB / 425.1 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001093/0.001093, allocations: 59.31 kB / 0.5048 GB, free: 5.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1288, allocations: 80.92 MB / 0.5838 GB, free: 4.895 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.3716/0.5004, allocations: 192.8 MB / 0.7721 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01527/0.5157, allocations: 14.4 MB / 0.7862 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.5168, allocations: 31.81 kB / 0.7862 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001228/0.5181, allocations: 429.7 kB / 0.7866 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003771/0.5219, allocations: 1.763 MB / 0.7883 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001817/0.5237, allocations: 0.7772 MB / 0.7891 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003062/0.5268, allocations: 3.62 MB / 0.7926 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001004/0.5278, allocations: 0.9386 MB / 0.7936 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.5312, allocations: 1.438 MB / 0.795 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001211/0.5324, allocations: 0.968 MB / 0.7959 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001255/0.5326, allocations: 67.94 kB / 0.796 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.5345, allocations: 1.259 MB / 0.7972 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004106/0.535, allocations: 458.7 kB / 0.7976 GB, free: 2.324 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005645/0.5355, allocations: 0.5831 MB / 0.7982 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001897/0.5374, allocations: 1.928 MB / 0.8001 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.5375, allocations: 0 / 0.8001 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of FrontEnd: time 8.31e-07/0.5375, allocations: 4 kB / 0.8001 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.5375, allocations: 0 / 0.8001 GB, free: 15.8 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001907/0.5394, allocations: 1.447 MB / 0.8015 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.5394, allocations: 8.031 kB / 0.8015 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.5396, allocations: 147.5 kB / 0.8017 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001269/0.5409, allocations: 254.3 kB / 0.8019 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.542, allocations: 0.757 MB / 0.8026 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.542, allocations: 74 kB / 0.8027 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001237/0.5421, allocations: 88 kB / 0.8028 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/0.5437, allocations: 1.184 MB / 0.804 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.5437, allocations: 0 / 0.804 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.576e-05/0.5438, allocations: 36 kB / 0.804 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.656e-05/0.5438, allocations: 34 kB / 0.804 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.5451, allocations: 0.9015 MB / 0.8049 GB, free: 10.71 MB / 0.6231 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.004845/0.55, allocations: 5.715 MB / 0.8105 GB, free: 4.531 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007256/0.5507, allocations: 0.5357 MB / 0.811 GB, free: 3.992 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/0.5511, allocations: 318.6 kB / 0.8113 GB, free: 3.68 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/0.5517, allocations: 319.7 kB / 0.8116 GB, free: 3.312 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.5517, allocations: 42.88 kB / 0.8117 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.836e-06/0.5517, allocations: 3.984 kB / 0.8117 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001341/0.5531, allocations: 0.7948 MB / 0.8124 GB, free: 2.453 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.5531, allocations: 55.84 kB / 0.8125 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007814/0.5539, allocations: 0.7626 MB / 0.8132 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.469e-05/0.554, allocations: 37.7 kB / 0.8133 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003244/0.5543, allocations: 0.5065 MB / 0.8138 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001327/0.5544, allocations: 173.5 kB / 0.8139 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001853/0.5546, allocations: 138.6 kB / 0.8141 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5547, allocations: 334 kB / 0.8144 GB, free: 424 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003488/0.5551, allocations: 253.8 kB / 0.8146 GB, free: 168 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.5557, allocations: 0.5605 MB / 0.8152 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009056/0.5566, allocations: 0.7957 MB / 0.8159 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.5566, allocations: 0 / 0.8159 GB, free: 14.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001142/0.5578, allocations: 0.8429 MB / 0.8168 GB, free: 13.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.5578, allocations: 15.97 kB / 0.8168 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.5578, allocations: 8 kB / 0.8168 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.5578, allocations: 12 kB / 0.8168 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.5583, allocations: 159.7 kB / 0.817 GB, free: 13.53 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.5584, allocations: 19.88 kB / 0.817 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007498/0.5591, allocations: 139 kB / 0.8171 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.193e-05/0.5592, allocations: 36 kB / 0.8171 GB, free: 13.34 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003489/0.5595, allocations: 329.5 kB / 0.8175 GB, free: 13 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.5597, allocations: 82.97 kB / 0.8175 GB, free: 12.92 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009055/0.5606, allocations: 0.6179 MB / 0.8181 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.5606, allocations: 4 kB / 0.8181 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5606, allocations: 3.938 kB / 0.8181 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006756/0.5613, allocations: 0.5134 MB / 0.8186 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002179/0.5635, allocations: 1.669 MB / 0.8203 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.5635, allocations: 4.219 kB / 0.8203 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000503/0.564, allocations: 115.9 kB / 0.8204 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.564, allocations: 0 / 0.8204 GB, free: 9.898 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.534e-05/0.5641, allocations: 16 kB / 0.8204 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.663e-06/0.5641, allocations: 4 kB / 0.8204 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.5641, allocations: 7.938 kB / 0.8204 GB, free: 9.871 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/0.5654, allocations: 1.058 MB / 0.8214 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002748/0.5657, allocations: 223.9 kB / 0.8217 GB, free: 8.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.702e-05/0.5658, allocations: 12 kB / 0.8217 GB, free: 8.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005288/0.5663, allocations: 67.84 kB / 0.8217 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/0.5664, allocations: 31.95 kB / 0.8218 GB, free: 8.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.197e-05/0.5664, allocations: 19.94 kB / 0.8218 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005783/0.567, allocations: 0.5146 MB / 0.8223 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2e-07/0.567, allocations: 0 / 0.8223 GB, free: 7.898 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007424/0.5677, allocations: 295.3 kB / 0.8226 GB, free: 7.609 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00179/0.5695, allocations: 1.712 MB / 0.8242 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008277/0.5704, allocations: 0.6003 MB / 0.8248 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5704, allocations: 192 / 0.8248 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003419/0.5707, allocations: 283.6 kB / 0.8251 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.5726, allocations: 433.8 kB / 0.8255 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008906/0.5815, allocations: 7.826 MB / 0.8332 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006341/0.5822, allocations: 1.126 MB / 0.8343 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007867/0.5829, allocations: 267.1 kB / 0.8345 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004386/0.5834, allocations: 363.3 kB / 0.8349 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of SimCode: time 1.764e-06/0.5834, allocations: 0 / 0.8349 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8104/1.394, allocations: 22.32 MB / 0.8567 GB, free: 4.59 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002906/1.394, allocations: 229.2 kB / 0.8569 GB, free: 4.336 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.404/3.798, allocations: 0 / 0.8569 GB, free: 4.336 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)