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.3254/0.3254, allocations: 54.42 MB / 61.89 MB, free: 13.73 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.001392/0.001392, allocations: 183.5 kB / 75.61 MB, free: 0.7695 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.959/1.959, allocations: 194.3 MB / 283.5 MB, free: 14.85 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.001803/0.001803, allocations: 109.8 kB / 341.6 MB, free: 4.027 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.221e-05, allocations: 4 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4731/0.4732, allocations: 57.65 MB / 463.2 MB, free: 51.73 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.125/6.598, allocations: 2.139 GB / 2.591 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003646/6.599, allocations: 86.14 kB / 2.591 GB, free: 137.3 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.406/9.005, allocations: 0.5898 GB / 3.181 GB, free: 65.43 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.603e-06/9.005, allocations: 0 / 3.181 GB, free: 65.43 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002118/9.005, allocations: 33.19 kB / 3.181 GB, free: 65.43 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.006577/9.012, allocations: 1.469 MB / 3.183 GB, free: 64.83 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/9.012, allocations: 13.44 kB / 3.183 GB, free: 64.83 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/9.014, allocations: 252.2 kB / 3.183 GB, free: 64.77 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003732/9.018, allocations: 0.8432 MB / 3.184 GB, free: 64.51 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/9.018, allocations: 33.91 kB / 3.184 GB, free: 64.51 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005775/9.019, allocations: 65.38 kB / 3.184 GB, free: 64.51 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003013/9.022, allocations: 0.9319 MB / 3.185 GB, free: 64.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002945/9.025, allocations: 1.14 MB / 3.186 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.892e-05/9.025, allocations: 5.156 kB / 3.186 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/9.025, allocations: 3.594 kB / 3.186 GB, free: 64.27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.189e-05/9.025, allocations: 46.31 kB / 3.186 GB, free: 64.26 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.008318/9.034, allocations: 6.039 MB / 3.192 GB, free: 60.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008146/9.034, allocations: 0.5443 MB / 3.192 GB, free: 60.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/9.035, allocations: 278.3 kB / 3.193 GB, free: 60.34 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003905/9.035, allocations: 131.4 kB / 3.193 GB, free: 60.24 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/9.035, allocations: 43.5 kB / 3.193 GB, free: 60.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 4.348e-06/9.035, allocations: 2.516 kB / 3.193 GB, free: 60.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.00181/9.037, allocations: 0.5582 MB / 3.193 GB, free: 60.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.074e-05/9.037, allocations: 117.8 kB / 3.193 GB, free: 60 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/9.039, allocations: 0.5809 MB / 3.194 GB, free: 59.88 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001429/9.039, allocations: 28.64 kB / 3.194 GB, free: 59.84 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005789/9.039, allocations: 0.5685 MB / 3.195 GB, free: 59.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000241/9.04, allocations: 188 kB / 3.195 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.7e-05/9.04, allocations: 0 / 3.195 GB, free: 59.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002032/9.04, allocations: 394 kB / 3.195 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000443/9.04, allocations: 251.4 kB / 3.195 GB, free: 59.19 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/9.041, allocations: 0.589 MB / 3.196 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000812/9.042, allocations: 397.3 kB / 3.196 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/9.042, allocations: 0 / 3.196 GB, free: 58.78 MB / 0.5105 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.001503/9.043, allocations: 0.8819 MB / 3.197 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.594e-05/9.043, allocations: 39.2 kB / 3.197 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.389e-05/9.043, allocations: 14.39 kB / 3.197 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.244e-05/9.043, allocations: 17.72 kB / 3.197 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/9.044, allocations: 182.7 kB / 3.197 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.536e-05/9.044, allocations: 26.64 kB / 3.197 GB, free: 58.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/9.045, allocations: 124.7 kB / 3.198 GB, free: 58.64 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/9.046, allocations: 41.62 kB / 3.198 GB, free: 58.64 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 (103): * Single equations (assignments): 102 * 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.0001888/9.046, allocations: 131.2 kB / 3.198 GB, free: 58.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/9.046, allocations: 83.44 kB / 3.198 GB, free: 58.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001058/9.047, allocations: 0.5744 MB / 3.198 GB, free: 58.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.628e-06/9.047, allocations: 13.08 kB / 3.198 GB, free: 58.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/9.047, allocations: 0 / 3.198 GB, free: 58.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006877/9.048, allocations: 0.4887 MB / 3.199 GB, free: 58.36 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002468/9.05, allocations: 1.529 MB / 3.2 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/9.05, allocations: 0 / 3.2 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/9.051, allocations: 117.7 kB / 3.2 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/9.051, allocations: 10.2 kB / 3.201 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.046e-05/9.051, allocations: 10.69 kB / 3.201 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.439e-06/9.051, allocations: 3.156 kB / 3.201 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/9.051, allocations: 3 kB / 3.201 GB, free: 58.05 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/9.052, allocations: 1.115 MB / 3.202 GB, free: 57.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003308/9.052, allocations: 233.8 kB / 3.202 GB, free: 57.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/9.053, allocations: 10.95 kB / 3.202 GB, free: 57.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007273/9.053, allocations: 72.98 kB / 3.202 GB, free: 57.56 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.428e-05/9.053, allocations: 32.31 kB / 3.202 GB, free: 57.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/9.053, allocations: 29.86 kB / 3.202 GB, free: 57.55 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000481/9.054, allocations: 440.4 kB / 3.202 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.082e-06/9.054, allocations: 2.844 kB / 3.202 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001593/9.056, allocations: 475 kB / 3.203 GB, free: 57.43 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.00323/9.059, allocations: 2.112 MB / 3.205 GB, free: 56.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009257/9.06, allocations: 0.6625 MB / 3.206 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/9.06, allocations: 0.9375 kB / 3.206 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/9.06, allocations: 254.8 kB / 3.206 GB, free: 56.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001949/9.062, allocations: 383.3 kB / 3.206 GB, free: 56.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003202/9.065, allocations: 1.576 MB / 3.208 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007955/9.066, allocations: 1.185 MB / 3.209 GB, free: 55.66 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009737/9.067, allocations: 258 kB / 3.209 GB, free: 55.65 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/9.067, allocations: 69.75 kB / 3.209 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/9.067, allocations: 0 / 3.209 GB, free: 55.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.04088/9.108, allocations: 24.76 MB / 3.233 GB, free: 54.13 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)