Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_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.009295/0.009295, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7627/0.7627, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 223.2 MB / 406.8 MB, free: 3.227 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.001069/0.001069, allocations: 93.09 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004021/0.000402, allocations: 8 kB / 0.5691 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5195/0.5199, allocations: 82.32 MB / 0.6495 GB, free: 35.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.266/5.786, allocations: 1.936 GB / 2.585 GB, free: 37.94 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003792/5.787, allocations: 95.94 kB / 2.585 GB, free: 37.84 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.055/8.842, allocations: 0.6653 GB / 3.251 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.395e-06/8.842, allocations: 0 / 3.251 GB, free: 123.2 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001753/8.842, allocations: 27.09 kB / 3.251 GB, free: 123.2 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.005709/8.848, allocations: 1.482 MB / 3.252 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/8.848, allocations: 7 kB / 3.252 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006717/8.849, allocations: 146.5 kB / 3.252 GB, free: 122.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002192/8.851, allocations: 243.9 kB / 3.252 GB, free: 122.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004825/8.856, allocations: 1.129 MB / 3.254 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/8.856, allocations: 70.12 kB / 3.254 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004384/8.856, allocations: 92.75 kB / 3.254 GB, free: 122 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002968/8.859, allocations: 1.116 MB / 3.255 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.265e-05/8.86, allocations: 6.062 kB / 3.255 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/8.86, allocations: 43.7 kB / 3.255 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-05/8.86, allocations: 31.03 kB / 3.255 GB, free: 121.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/8.862, allocations: 0.8432 MB / 3.256 GB, free: 121.7 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.008123/8.87, allocations: 5.695 MB / 3.261 GB, free: 118 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009426/8.871, allocations: 0.5397 MB / 3.262 GB, free: 117.9 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006312/8.871, allocations: 309.8 kB / 3.262 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/8.871, allocations: 37.66 kB / 3.262 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=49): time 3.436e-06/8.871, allocations: 3.938 kB / 3.262 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.001939/8.873, allocations: 0.7856 MB / 3.263 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.769e-05/8.873, allocations: 62.8 kB / 3.263 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/8.875, allocations: 0.6497 MB / 3.264 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/8.875, allocations: 39.45 kB / 3.264 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005171/8.875, allocations: 0.5019 MB / 3.264 GB, free: 117 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/8.876, allocations: 181.8 kB / 3.264 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/8.876, allocations: 10.81 kB / 3.264 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001278/8.876, allocations: 336.6 kB / 3.265 GB, free: 116.6 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004106/8.876, allocations: 240.6 kB / 3.265 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/8.877, allocations: 0.5752 MB / 3.265 GB, free: 116 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000624/8.877, allocations: 355.4 kB / 3.266 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/8.877, allocations: 3.375 kB / 3.266 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001513/8.879, allocations: 0.8291 MB / 3.267 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.81e-05/8.879, allocations: 12.56 kB / 3.267 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/8.879, allocations: 11 kB / 3.267 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.17e-05/8.879, allocations: 13.78 kB / 3.267 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/8.88, allocations: 157.3 kB / 3.267 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.785e-05/8.88, allocations: 18.28 kB / 3.267 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/8.881, allocations: 141.1 kB / 3.267 GB, free: 115.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.114e-05/8.881, allocations: 33.03 kB / 3.267 GB, free: 115.5 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.0006366/8.882, allocations: 336.7 kB / 3.267 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002119/8.882, allocations: 81.62 kB / 3.267 GB, free: 115.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/8.883, allocations: 0.6079 MB / 3.268 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/8.883, allocations: 3.781 kB / 3.268 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/8.883, allocations: 0 / 3.268 GB, free: 114.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007412/8.884, allocations: 0.5157 MB / 3.268 GB, free: 114.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/8.887, allocations: 1.645 MB / 3.27 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/8.887, allocations: 2.781 kB / 3.27 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/8.888, allocations: 111.5 kB / 3.27 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/8.888, allocations: 7.359 kB / 3.27 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.955e-05/8.888, allocations: 17.44 kB / 3.27 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.527e-06/8.888, allocations: 7.5 kB / 3.27 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/8.888, allocations: 7.094 kB / 3.27 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/8.889, allocations: 1.12 MB / 3.271 GB, free: 113.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006343/8.89, allocations: 226.6 kB / 3.271 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000214/8.89, allocations: 15.09 kB / 3.271 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/8.891, allocations: 55.97 kB / 3.272 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.955e-05/8.891, allocations: 36.36 kB / 3.272 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.012e-05/8.891, allocations: 17.39 kB / 3.272 GB, free: 113 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008423/8.892, allocations: 0.5022 MB / 3.272 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/8.892, allocations: 3.75 kB / 3.272 GB, free: 112.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002435/8.894, allocations: 490.2 kB / 3.273 GB, free: 112.6 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.005532/8.9, allocations: 3.942 MB / 3.276 GB, free: 110 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001282/8.901, allocations: 0.5948 MB / 3.277 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.863e-06/8.901, allocations: 1.812 kB / 3.277 GB, free: 109.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003829/8.902, allocations: 268.1 kB / 3.277 GB, free: 109.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002557/8.904, allocations: 430.2 kB / 3.278 GB, free: 109 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01197/8.916, allocations: 10.88 MB / 3.288 GB, free: 98.08 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009001/8.917, allocations: 1.147 MB / 3.289 GB, free: 96.91 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001278/8.918, allocations: 266.6 kB / 3.29 GB, free: 96.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000601/8.919, allocations: 363.3 kB / 3.29 GB, free: 96.3 MB / 0.6823 GB Notification: Performance of SimCode: time 1.353e-06/8.919, allocations: 0 / 3.29 GB, free: 96.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09828/9.017, allocations: 51.42 MB / 3.34 GB, free: 45.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/9.018, allocations: 204.4 kB / 3.34 GB, free: 45.46 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.049/13.07, allocations: 0 / 3.34 GB, free: 45.46 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)