Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances") translateModel(Annex60.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2833/0.2833, allocations: 54.34 MB / 66.9 MB, free: 6.086 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001265/0.001265, allocations: 182.4 kB / 80.71 MB, free: 15.39 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.87/1.87, allocations: 194.2 MB / 288.6 MB, free: 14.99 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001829/0.001829, allocations: 111.6 kB / 346.9 MB, free: 4.727 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.783e-05/3.785e-05, allocations: 4 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1395, allocations: 57.64 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.625/5.764, allocations: 2.14 GB / 2.599 GB, free: 2.645 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/5.764, allocations: 89.5 kB / 2.599 GB, free: 2.559 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/Sensors/PPM.mo:5:26-5:49:writable] Warning: Non-array modification '"MassFraction"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/Sensors/PPM.mo:6:26-6:34:writable] Warning: Non-array modification '"1"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/Sensors/PPM.mo:7:20-7:25:writable] Warning: Non-array modification '0' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/Fluid/Sensors/PPM.mo:8:20-8:25:writable] Warning: Non-array modification '1' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 2.505/8.27, allocations: 0.5969 GB / 3.196 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.864e-06/8.27, allocations: 0 / 3.196 GB, free: 67.59 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.363e-05/8.27, allocations: 34.12 kB / 3.196 GB, free: 67.59 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 270 * Number of variables: 270 Notification: Performance of Generate backend data structure: time 0.003344/8.273, allocations: 1.476 MB / 3.197 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/8.273, allocations: 9.5 kB / 3.197 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001348/8.274, allocations: 250 kB / 3.197 GB, free: 67.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/8.276, allocations: 0.8409 MB / 3.198 GB, free: 66.83 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.611e-05/8.276, allocations: 83.5 kB / 3.198 GB, free: 66.83 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/8.276, allocations: 114.9 kB / 3.198 GB, free: 66.82 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002185/8.278, allocations: 1.299 MB / 3.2 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/8.279, allocations: 8.047 kB / 3.2 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00012/8.279, allocations: 50.38 kB / 3.2 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.217e-05/8.279, allocations: 39.03 kB / 3.2 GB, free: 66.58 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/8.28, allocations: 1.003 MB / 3.201 GB, free: 66.57 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.006382/8.287, allocations: 6.276 MB / 3.207 GB, free: 62.68 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008975/8.288, allocations: 0.5647 MB / 3.207 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004445/8.288, allocations: 304.5 kB / 3.208 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002962/8.288, allocations: 126.9 kB / 3.208 GB, free: 62.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/8.288, allocations: 47.73 kB / 3.208 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 3.176e-06/8.288, allocations: 0 / 3.208 GB, free: 62.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.001236/8.29, allocations: 0.572 MB / 3.208 GB, free: 62.38 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/8.29, allocations: 115.9 kB / 3.209 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/8.291, allocations: 0.7551 MB / 3.209 GB, free: 62.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.011e-05/8.291, allocations: 38.48 kB / 3.209 GB, free: 62.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003444/8.291, allocations: 0.5659 MB / 3.21 GB, free: 61.86 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/8.292, allocations: 194.2 kB / 3.21 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/8.292, allocations: 20.19 kB / 3.21 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.372e-05/8.292, allocations: 338.3 kB / 3.21 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004466/8.292, allocations: 275.7 kB / 3.211 GB, free: 61.46 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/8.293, allocations: 0.6178 MB / 3.211 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/8.293, allocations: 424.4 kB / 3.212 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/8.293, allocations: 3.719 kB / 3.212 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.001476/8.295, allocations: 0.9956 MB / 3.213 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/8.295, allocations: 42.11 kB / 3.213 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.508e-05/8.295, allocations: 13.52 kB / 3.213 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.843e-05/8.295, allocations: 16.44 kB / 3.213 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006053/8.295, allocations: 188.8 kB / 3.213 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.865e-05/8.296, allocations: 23.31 kB / 3.213 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001148/8.297, allocations: 164.7 kB / 3.213 GB, free: 60.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.69e-05/8.297, allocations: 38.91 kB / 3.213 GB, free: 60.84 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 1 * 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.0001682/8.297, allocations: 162.8 kB / 3.213 GB, free: 60.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000148/8.297, allocations: 98.5 kB / 3.213 GB, free: 60.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000913/8.298, allocations: 0.5997 MB / 3.214 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.327e-06/8.298, allocations: 13.31 kB / 3.214 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/8.298, allocations: 0 / 3.214 GB, free: 60.62 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005807/8.299, allocations: 0.4892 MB / 3.214 GB, free: 60.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002441/8.301, allocations: 1.669 MB / 3.216 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/8.301, allocations: 3.953 kB / 3.216 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/8.302, allocations: 114.8 kB / 3.216 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/8.302, allocations: 3.719 kB / 3.216 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.591e-05/8.302, allocations: 20.16 kB / 3.216 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/8.302, allocations: 6.938 kB / 3.216 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/8.302, allocations: 0 / 3.216 GB, free: 60.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001223/8.303, allocations: 1.126 MB / 3.217 GB, free: 59.85 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004752/8.303, allocations: 264.9 kB / 3.218 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/8.303, allocations: 13.73 kB / 3.218 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007573/8.304, allocations: 76.45 kB / 3.218 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/8.304, allocations: 37.62 kB / 3.218 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.41e-05/8.304, allocations: 31.08 kB / 3.218 GB, free: 59.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000719/8.305, allocations: 0.5782 MB / 3.218 GB, free: 59.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.81e-07/8.305, allocations: 0 / 3.218 GB, free: 59.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002/8.307, allocations: 0.5193 MB / 3.219 GB, free: 59.57 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.002771/8.31, allocations: 1.896 MB / 3.221 GB, free: 59.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0011/8.311, allocations: 0.7132 MB / 3.221 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/8.311, allocations: 2.25 kB / 3.221 GB, free: 58.94 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003002/8.311, allocations: 268.4 kB / 3.222 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/8.314, allocations: 0.4897 MB / 3.222 GB, free: 58.92 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/8.316, allocations: 1.622 MB / 3.224 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005482/8.317, allocations: 1.195 MB / 3.225 GB, free: 57.79 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009663/8.318, allocations: 281.9 kB / 3.225 GB, free: 57.78 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000179/8.318, allocations: 78.83 kB / 3.225 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of SimCode: time 6.51e-07/8.318, allocations: 0 / 3.225 GB, free: 57.77 MB / 0.5105 GB Notification: Performance of Templates: time 0.059/8.377, allocations: 44.24 MB / 3.268 GB, free: 56.04 MB / 0.5105 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.sim & ./Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)