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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01498/0.01498, allocations: 170.8 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.536/1.536, allocations: 135.2 MB / 151 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.805/2.805, allocations: 223.2 MB / 406.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 91.41 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006558/0.0006559, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8493/0.85, allocations: 82.31 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.471/10.32, allocations: 1.936 GB / 2.585 GB, free: 38.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005595/10.32, allocations: 95.95 kB / 2.585 GB, free: 38.54 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.352/15.67, allocations: 0.6653 GB / 3.251 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.099e-06/15.67, allocations: 3.938 kB / 3.251 GB, free: 122.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002149/15.67, allocations: 30.39 kB / 3.251 GB, free: 122.5 MB / 0.6823 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.005914/15.68, allocations: 1.486 MB / 3.252 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.693e-05/15.68, allocations: 7.25 kB / 3.252 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003941/15.68, allocations: 144.3 kB / 3.252 GB, free: 121.7 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/15.68, allocations: 244.7 kB / 3.252 GB, free: 121.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004836/15.69, allocations: 1.124 MB / 3.254 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/15.69, allocations: 73.44 kB / 3.254 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/15.69, allocations: 103.4 kB / 3.254 GB, free: 121.3 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/15.69, allocations: 1.112 MB / 3.255 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.023e-05/15.69, allocations: 7.375 kB / 3.255 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001131/15.69, allocations: 40.39 kB / 3.255 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.511e-05/15.69, allocations: 38.55 kB / 3.255 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/15.69, allocations: 0.842 MB / 3.256 GB, free: 121.1 MB / 0.6823 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.01174/15.71, allocations: 5.68 MB / 3.261 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001662/15.71, allocations: 0.5365 MB / 3.262 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001112/15.71, allocations: 310.2 kB / 3.262 GB, free: 117 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/15.71, allocations: 42.66 kB / 3.262 GB, free: 117 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=49): time 8.556e-06/15.71, allocations: 3.281 kB / 3.262 GB, free: 117 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.003606/15.71, allocations: 0.7827 MB / 3.263 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/15.71, allocations: 58.77 kB / 3.263 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002043/15.71, allocations: 0.6549 MB / 3.264 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001612/15.71, allocations: 39.05 kB / 3.264 GB, free: 116.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000858/15.72, allocations: 0.5083 MB / 3.264 GB, free: 116.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003753/15.72, allocations: 170.4 kB / 3.264 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.625e-05/15.72, allocations: 15.06 kB / 3.264 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002835/15.72, allocations: 334.3 kB / 3.265 GB, free: 116 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007724/15.72, allocations: 241.5 kB / 3.265 GB, free: 116 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/15.72, allocations: 0.5876 MB / 3.265 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/15.72, allocations: 346.1 kB / 3.266 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.007e-05/15.72, allocations: 0 / 3.266 GB, free: 115.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002493/15.72, allocations: 0.8371 MB / 3.267 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.934e-05/15.72, allocations: 13.69 kB / 3.267 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/15.72, allocations: 7.406 kB / 3.267 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.881e-05/15.72, allocations: 13.22 kB / 3.267 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/15.72, allocations: 149.4 kB / 3.267 GB, free: 115.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.89e-05/15.72, allocations: 23.66 kB / 3.267 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/15.73, allocations: 141.8 kB / 3.267 GB, free: 115 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/15.73, allocations: 30.5 kB / 3.267 GB, free: 115 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001251/15.73, allocations: 336.3 kB / 3.267 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003101/15.73, allocations: 84.88 kB / 3.267 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001945/15.73, allocations: 0.6097 MB / 3.268 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/15.73, allocations: 6.875 kB / 3.268 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/15.73, allocations: 0 / 3.268 GB, free: 114.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001241/15.73, allocations: 0.5121 MB / 3.268 GB, free: 114.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005177/15.74, allocations: 1.648 MB / 3.27 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/15.74, allocations: 0 / 3.27 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009992/15.74, allocations: 113.3 kB / 3.27 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.626e-05/15.74, allocations: 11.02 kB / 3.27 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.534e-05/15.74, allocations: 20.98 kB / 3.27 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.305e-05/15.74, allocations: 3.594 kB / 3.27 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/15.74, allocations: 5.031 kB / 3.27 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002951/15.74, allocations: 1.115 MB / 3.271 GB, free: 112.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008983/15.74, allocations: 233.6 kB / 3.271 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003145/15.74, allocations: 10.98 kB / 3.271 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/15.74, allocations: 62.39 kB / 3.272 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.763e-05/15.74, allocations: 34.27 kB / 3.272 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.167e-05/15.74, allocations: 19.59 kB / 3.272 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001505/15.74, allocations: 0.5013 MB / 3.272 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.01e-07/15.74, allocations: 0 / 3.272 GB, free: 112.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003621/15.75, allocations: 493.8 kB / 3.273 GB, free: 112.1 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008247/15.76, allocations: 3.941 MB / 3.276 GB, free: 109.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002027/15.76, allocations: 0.5876 MB / 3.277 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/15.76, allocations: 2.625 kB / 3.277 GB, free: 109.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005099/15.76, allocations: 268 kB / 3.277 GB, free: 109.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/15.76, allocations: 441.4 kB / 3.278 GB, free: 109.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01869/15.78, allocations: 10.88 MB / 3.288 GB, free: 98.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/15.78, allocations: 1.14 MB / 3.289 GB, free: 97.63 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002153/15.78, allocations: 270.1 kB / 3.29 GB, free: 97.38 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/15.79, allocations: 367.3 kB / 3.29 GB, free: 97.02 MB / 0.6823 GB Notification: Performance of SimCode: time 2.805e-06/15.79, allocations: 0 / 3.29 GB, free: 97.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1687/15.95, allocations: 51.41 MB / 3.34 GB, free: 46.43 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003364/15.95, allocations: 201 kB / 3.34 GB, free: 46.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.419/23.37, allocations: 0 / 3.34 GB, free: 46.2 MB / 0.6823 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/linux/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)