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.001533/0.001533, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001903/0.001903, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9013/0.9013, allocations: 135.1 MB / 425.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.8 kB / 0.5054 GB, free: 5.254 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1363/0.1376, allocations: 80.92 MB / 0.5845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.3727/0.5103, allocations: 195.1 MB / 0.775 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01357/0.5239, allocations: 14.31 MB / 0.7889 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005999/0.5245, allocations: 43.69 kB / 0.789 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.5256, allocations: 0.489 MB / 0.7895 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.5287, allocations: 1.886 MB / 0.7913 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001553/0.5303, allocations: 0.861 MB / 0.7921 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001925/0.5322, allocations: 2.56 MB / 0.7946 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001058/0.5333, allocations: 1.119 MB / 0.7957 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002641/0.536, allocations: 1.595 MB / 0.7973 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009522/0.5369, allocations: 0.9153 MB / 0.7982 GB, free: 1.828 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.5371, allocations: 108 kB / 0.7983 GB, free: 1.723 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00147/0.5385, allocations: 1.099 MB / 0.7994 GB, free: 0.6211 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003611/0.5389, allocations: 0.4948 MB / 0.7998 GB, free: 128 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005131/0.5394, allocations: 0.6378 MB / 0.8005 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.541, allocations: 1.889 MB / 0.8023 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.541, allocations: 4 kB / 0.8023 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.102e-06/0.541, allocations: 0 / 0.8023 GB, free: 13.59 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.5411, allocations: 0 / 0.8023 GB, free: 13.59 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.001705/0.5428, allocations: 1.451 MB / 0.8037 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.5428, allocations: 12.03 kB / 0.8037 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00014/0.543, allocations: 140.3 kB / 0.8039 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.5441, allocations: 254.3 kB / 0.8041 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009427/0.5451, allocations: 0.7569 MB / 0.8049 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.737e-05/0.5451, allocations: 74 kB / 0.8049 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.5453, allocations: 88 kB / 0.805 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.5466, allocations: 1.18 MB / 0.8062 GB, free: 9.469 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/0.5467, allocations: 7.188 kB / 0.8062 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.166e-05/0.5468, allocations: 36 kB / 0.8062 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.489e-05/0.5468, allocations: 37.98 kB / 0.8062 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.548, allocations: 0.9053 MB / 0.8071 GB, free: 8.484 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.004592/0.5526, allocations: 5.766 MB / 0.8128 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.5533, allocations: 0.5291 MB / 0.8133 GB, free: 1.719 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.5537, allocations: 318.6 kB / 0.8136 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005374/0.5542, allocations: 311.6 kB / 0.8139 GB, free: 1.047 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.5543, allocations: 43 kB / 0.8139 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.716e-06/0.5543, allocations: 0 / 0.8139 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001331/0.5556, allocations: 0.7987 MB / 0.8147 GB, free: 192 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.413e-05/0.5557, allocations: 59.84 kB / 0.8148 GB, free: 120 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000765/0.5564, allocations: 0.7508 MB / 0.8155 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.159e-05/0.5565, allocations: 37.7 kB / 0.8155 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004052/0.5569, allocations: 0.5105 MB / 0.816 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.557, allocations: 185.4 kB / 0.8162 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/0.5573, allocations: 138.6 kB / 0.8163 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.5574, allocations: 334 kB / 0.8167 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/0.5577, allocations: 241.9 kB / 0.8169 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005463/0.5583, allocations: 0.5605 MB / 0.8174 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000869/0.5592, allocations: 0.7996 MB / 0.8182 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.5592, allocations: 4 kB / 0.8182 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001099/0.5603, allocations: 0.8381 MB / 0.819 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.5603, allocations: 8.969 kB / 0.819 GB, free: 11.45 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5603, allocations: 8 kB / 0.8191 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.5603, allocations: 16 kB / 0.8191 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005534/0.5609, allocations: 151.8 kB / 0.8192 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.5609, allocations: 23.86 kB / 0.8192 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006143/0.5615, allocations: 87.16 kB / 0.8193 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.019e-05/0.5616, allocations: 39.42 kB / 0.8194 GB, free: 11.13 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.0003497/0.562, allocations: 333.5 kB / 0.8197 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.5621, allocations: 82.97 kB / 0.8198 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008899/0.563, allocations: 0.6229 MB / 0.8204 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.563, allocations: 4 kB / 0.8204 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.563, allocations: 3.938 kB / 0.8204 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000646/0.5637, allocations: 0.5173 MB / 0.8209 GB, free: 9.543 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002111/0.5658, allocations: 1.669 MB / 0.8225 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.5658, allocations: 0 / 0.8225 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004889/0.5663, allocations: 111.9 kB / 0.8226 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/0.5663, allocations: 4 kB / 0.8226 GB, free: 7.684 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.5664, allocations: 16.88 kB / 0.8226 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/0.5664, allocations: 8.203 kB / 0.8226 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.5664, allocations: 7.938 kB / 0.8226 GB, free: 7.652 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/0.5676, allocations: 1.058 MB / 0.8237 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002556/0.5679, allocations: 220 kB / 0.8239 GB, free: 6.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.619e-05/0.568, allocations: 15.94 kB / 0.8239 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004138/0.5684, allocations: 23.12 kB / 0.8239 GB, free: 6.289 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.5685, allocations: 35.89 kB / 0.824 GB, free: 6.254 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.5685, allocations: 23.92 kB / 0.824 GB, free: 6.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005679/0.5691, allocations: 0.5185 MB / 0.8245 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5691, allocations: 0 / 0.8245 GB, free: 5.715 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00074/0.5698, allocations: 295.3 kB / 0.8248 GB, free: 5.426 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.001745/0.5716, allocations: 1.698 MB / 0.8264 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001005/0.5726, allocations: 0.7126 MB / 0.8271 GB, free: 2.988 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5726, allocations: 7.938 kB / 0.8271 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.5729, allocations: 275.6 kB / 0.8274 GB, free: 2.711 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.5747, allocations: 442.9 kB / 0.8278 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008056/0.5828, allocations: 7.476 MB / 0.8351 GB, free: 10.41 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006124/0.5834, allocations: 1.122 MB / 0.8362 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007436/0.5842, allocations: 271.1 kB / 0.8365 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003918/0.5846, allocations: 355.3 kB / 0.8368 GB, free: 8.645 MB / 0.6544 GB Notification: Performance of SimCode: time 3.01e-07/0.5846, allocations: 3.938 kB / 0.8368 GB, free: 8.641 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.009/1.593, allocations: 22.88 MB / 0.8592 GB, free: 2.086 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/14.46, allocations: 21.83 kB / 0.8592 GB, free: 2.07 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)