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.2951/0.2951, allocations: 55.01 MB / 69.96 MB, free: 8.676 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.001214/0.001214, allocations: 172.1 kB / 83.97 MB, free: 10.86 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.514/1.514, allocations: 194.4 MB / 292.3 MB, free: 3.598 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002149/0.002149, allocations: 112.1 kB / 350.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 12 kB / 418.9 MB, free: 37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1194, allocations: 57.64 MB / 476.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.663/5.783, allocations: 2.14 GB / 2.605 GB, free: 41.58 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/5.783, allocations: 92.77 kB / 2.605 GB, free: 41.49 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.436/8.219, allocations: 0.5975 GB / 3.203 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of FrontEnd: time 7.955e-06/8.219, allocations: 4 kB / 3.203 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001126/8.219, allocations: 39.86 kB / 3.203 GB, free: 15.57 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.005871/8.225, allocations: 1.603 MB / 3.204 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.108e-05/8.225, allocations: 12.03 kB / 3.204 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/8.227, allocations: 266.2 kB / 3.205 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/8.23, allocations: 0.8432 MB / 3.205 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.373e-05/8.23, allocations: 82.12 kB / 3.206 GB, free: 12.66 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001766/8.23, allocations: 108 kB / 3.206 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/8.232, allocations: 1.326 MB / 3.207 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.917e-05/8.233, allocations: 7.938 kB / 3.207 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000125/8.233, allocations: 48 kB / 3.207 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.711e-05/8.233, allocations: 41.94 kB / 3.207 GB, free: 11.05 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/8.235, allocations: 1.023 MB / 3.208 GB, free: 10.02 MB / 0.5105 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.01017/8.245, allocations: 6.278 MB / 3.214 GB, free: 3.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/8.246, allocations: 0.5704 MB / 3.215 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003712/8.246, allocations: 129.6 kB / 3.215 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.089e-05/8.246, allocations: 43 kB / 3.215 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=52): time 5.14e-06/8.246, allocations: 0 / 3.215 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of matching and sorting (n=52): time 0.001663/8.248, allocations: 0.7713 MB / 3.216 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.189e-05/8.248, allocations: 123.1 kB / 3.216 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/8.249, allocations: 0.7624 MB / 3.217 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.622e-05/8.249, allocations: 45.7 kB / 3.217 GB, free: 0.6992 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004703/8.25, allocations: 0.5646 MB / 3.217 GB, free: 128 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.4139/8.664, allocations: 185.4 kB / 3.217 GB, free: 68.86 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/8.664, allocations: 17.5 kB / 3.217 GB, free: 68.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001701/8.664, allocations: 342.6 kB / 3.218 GB, free: 68.56 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007703/8.665, allocations: 285.1 kB / 3.218 GB, free: 68.55 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008773/8.666, allocations: 0.618 MB / 3.218 GB, free: 68.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007783/8.666, allocations: 427.1 kB / 3.219 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.507e-06/8.666, allocations: 2.781 kB / 3.219 GB, free: 68.12 MB / 0.5105 GB Notification: Performance of matching and sorting (n=105) (initialization): time 0.002195/8.669, allocations: 1.004 MB / 3.22 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.413e-05/8.669, allocations: 37.23 kB / 3.22 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/8.669, allocations: 13.75 kB / 3.22 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.859e-05/8.669, allocations: 14.44 kB / 3.22 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007517/8.669, allocations: 186 kB / 3.22 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.628e-05/8.67, allocations: 19.97 kB / 3.22 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/8.671, allocations: 173.8 kB / 3.22 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/8.671, allocations: 40.05 kB / 3.22 GB, free: 68.02 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 () * Number of clocked 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.001058/8.672, allocations: 366 kB / 3.221 GB, free: 67.91 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/8.673, allocations: 98.98 kB / 3.221 GB, free: 67.87 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001254/8.674, allocations: 0.6009 MB / 3.221 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/8.674, allocations: 7.75 kB / 3.221 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.946e-06/8.674, allocations: 0.5625 kB / 3.221 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008271/8.675, allocations: 0.4999 MB / 3.222 GB, free: 67.74 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003618/8.678, allocations: 1.673 MB / 3.224 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/8.678, allocations: 4.469 kB / 3.224 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00058/8.679, allocations: 120.1 kB / 3.224 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.095e-05/8.679, allocations: 3.469 kB / 3.224 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.471e-05/8.679, allocations: 13.03 kB / 3.224 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-05/8.679, allocations: 4.891 kB / 3.224 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/8.679, allocations: 4.656 kB / 3.224 GB, free: 67.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00154/8.681, allocations: 1.142 MB / 3.225 GB, free: 67.04 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006388/8.681, allocations: 259.3 kB / 3.225 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/8.681, allocations: 12.72 kB / 3.225 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000796/8.682, allocations: 74.48 kB / 3.225 GB, free: 66.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/8.682, allocations: 40.28 kB / 3.225 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.434e-05/8.682, allocations: 27.89 kB / 3.225 GB, free: 66.89 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009556/8.683, allocations: 0.5859 MB / 3.226 GB, free: 66.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.71e-07/8.683, allocations: 0 / 3.226 GB, free: 66.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002126/8.685, allocations: 0.5283 MB / 3.226 GB, free: 66.79 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 () * Number of clocked 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.003076/8.689, allocations: 1.9 MB / 3.228 GB, free: 66.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001252/8.69, allocations: 0.7162 MB / 3.229 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/8.69, allocations: 6.344 kB / 3.229 GB, free: 66.18 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003109/8.69, allocations: 271.7 kB / 3.229 GB, free: 66.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002373/8.692, allocations: 0.4975 MB / 3.23 GB, free: 66.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003916/8.696, allocations: 2.504 MB / 3.232 GB, free: 65.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/8.698, allocations: 1.189 MB / 3.233 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00153/8.699, allocations: 279.7 kB / 3.233 GB, free: 64.38 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002554/8.699, allocations: 77.56 kB / 3.234 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of SimCode: time 2.505e-06/8.699, allocations: 1.562 kB / 3.234 GB, free: 64.37 MB / 0.5105 GB Notification: Performance of Templates: time 0.06884/8.768, allocations: 39.43 MB / 3.272 GB, free: 62.91 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)