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.00151/0.00151, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001835/0.001835, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.46/2.46, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.255/1.255, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006656/0.0006659, allocations: 12 kB / 0.5069 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2638, allocations: 82.3 MB / 0.5873 GB, free: 3.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 1.441/1.705, allocations: 161.8 MB / 0.7453 GB, free: 9.57 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.03849/1.744, allocations: 12.17 MB / 0.7571 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002677/1.747, allocations: 27.81 kB / 0.7572 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003828/1.75, allocations: 0.4899 MB / 0.7576 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01359/1.764, allocations: 1.55 MB / 0.7592 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01121/1.775, allocations: 0.9447 MB / 0.7601 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01183/1.787, allocations: 1.482 MB / 0.7615 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003671/1.791, allocations: 0.8244 MB / 0.7623 GB, free: 9.246 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0132/1.804, allocations: 1.114 MB / 0.7634 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002838/1.807, allocations: 0.615 MB / 0.764 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006745/1.808, allocations: 51.98 kB / 0.7641 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009734/1.818, allocations: 0.5382 MB / 0.7646 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002577/1.82, allocations: 407 kB / 0.765 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002487/1.823, allocations: 257.1 kB / 0.7652 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007123/1.83, allocations: 1.308 MB / 0.7665 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/1.83, allocations: 4 kB / 0.7665 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of FrontEnd: time 7.504e-06/1.83, allocations: 0 / 0.7665 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001353/1.83, allocations: 0 / 0.7665 GB, free: 4.957 MB / 0.5762 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.007238/1.838, allocations: 1.243 MB / 0.7677 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001282/1.838, allocations: 8.031 kB / 0.7677 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001212/1.839, allocations: 147.6 kB / 0.7679 GB, free: 3.504 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004015/1.843, allocations: 251.4 kB / 0.7681 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005118/1.848, allocations: 0.7458 MB / 0.7688 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/1.849, allocations: 73.95 kB / 0.7689 GB, free: 2.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005461/1.849, allocations: 96 kB / 0.769 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006512/1.856, allocations: 1.165 MB / 0.7701 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.356e-05/1.856, allocations: 3.938 kB / 0.7701 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/1.856, allocations: 40 kB / 0.7702 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000171/1.856, allocations: 30 kB / 0.7702 GB, free: 0.9961 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003156/1.859, allocations: 0.8976 MB / 0.7711 GB, free: 100 kB / 0.5762 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.01982/1.879, allocations: 5.748 MB / 0.7767 GB, free: 9.895 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002224/1.882, allocations: 0.5755 MB / 0.7773 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000948/1.883, allocations: 141.5 kB / 0.7774 GB, free: 9.152 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/1.883, allocations: 48.52 kB / 0.7774 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=51): time 6.993e-06/1.883, allocations: 0 / 0.7774 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of matching and sorting (n=51): time 0.004293/1.887, allocations: 0.8259 MB / 0.7783 GB, free: 8.266 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001994/1.888, allocations: 85.48 kB / 0.7783 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003373/1.891, allocations: 0.7508 MB / 0.7791 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002409/1.891, allocations: 37.7 kB / 0.7791 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.00118/1.892, allocations: 0.5026 MB / 0.7796 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005792/1.893, allocations: 185.4 kB / 0.7798 GB, free: 6.668 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.784e-05/1.893, allocations: 20.12 kB / 0.7798 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0004145/1.894, allocations: 333.9 kB / 0.7801 GB, free: 6.316 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009254/1.894, allocations: 253.8 kB / 0.7803 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001424/1.896, allocations: 0.5706 MB / 0.7809 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/1.897, allocations: 356.5 kB / 0.7812 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.845e-05/1.897, allocations: 0 / 0.7812 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003423/1.901, allocations: 0.8585 MB / 0.7821 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/1.901, allocations: 9.719 kB / 0.7821 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.642e-05/1.901, allocations: 11.95 kB / 0.7821 GB, free: 4.121 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.631e-05/1.901, allocations: 20 kB / 0.7821 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/1.902, allocations: 155.8 kB / 0.7823 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.821e-05/1.902, allocations: 19.92 kB / 0.7823 GB, free: 3.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003545/1.906, allocations: 139 kB / 0.7824 GB, free: 3.793 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002425/1.906, allocations: 36 kB / 0.7825 GB, free: 3.758 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * 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.001938/1.908, allocations: 337.4 kB / 0.7828 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008199/1.909, allocations: 86.97 kB / 0.7829 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/1.912, allocations: 0.6271 MB / 0.7835 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.363e-05/1.912, allocations: 7.953 kB / 0.7835 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.67e-05/1.912, allocations: 3.938 kB / 0.7835 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001577/1.914, allocations: 0.5212 MB / 0.784 GB, free: 2.152 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008276/1.922, allocations: 1.773 MB / 0.7857 GB, free: 304 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.219e-05/1.922, allocations: 4.25 kB / 0.7857 GB, free: 300 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/1.924, allocations: 111.9 kB / 0.7858 GB, free: 188 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.313e-05/1.924, allocations: 7.984 kB / 0.7858 GB, free: 180 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/1.924, allocations: 16 kB / 0.7859 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.695e-05/1.924, allocations: 8.688 kB / 0.7859 GB, free: 156 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-05/1.924, allocations: 4 kB / 0.7859 GB, free: 152 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004088/1.928, allocations: 1.171 MB / 0.787 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/1.93, allocations: 232 kB / 0.7872 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005109/1.93, allocations: 12 kB / 0.7872 GB, free: 14.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.932, allocations: 59.89 kB / 0.7873 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.932, allocations: 39.91 kB / 0.7873 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001277/1.932, allocations: 27.98 kB / 0.7874 GB, free: 14.51 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.005807/1.938, allocations: 0.5029 MB / 0.7879 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.084e-06/1.938, allocations: 0 / 0.7879 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00314/1.941, allocations: 311.2 kB / 0.7882 GB, free: 13.7 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * 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.005228/1.947, allocations: 2.371 MB / 0.7905 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002189/1.949, allocations: 0.6248 MB / 0.7911 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.949, allocations: 0 / 0.7911 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0006879/1.95, allocations: 280.5 kB / 0.7914 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004654/1.954, allocations: 427 kB / 0.7918 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02877/1.983, allocations: 10.76 MB / 0.8023 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/1.985, allocations: 1.142 MB / 0.8034 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002548/1.987, allocations: 275.3 kB / 0.8036 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/1.988, allocations: 367.3 kB / 0.804 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of SimCode: time 3.506e-06/1.989, allocations: 0 / 0.804 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2599/2.248, allocations: 23.35 MB / 0.8268 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.001178/2.25, allocations: 207 kB / 0.827 GB, free: 5.875 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.165/7.415, allocations: 4 kB / 0.827 GB, free: 5.871 MB / 0.6387 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) Environment - environmentSimulation: