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: translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007677/0.007677, allocations: 103.7 kB / 15.74 MB, free: 5.988 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.001342/0.001342, allocations: 190.1 kB / 16.67 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8246/0.8246, allocations: 135.1 MB / 425.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 68.16 kB / 0.5856 GB, free: 21.52 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1625, allocations: 80.93 MB / 0.6647 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6239/0.7865, allocations: 195.1 MB / 0.8552 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.805, allocations: 14.31 MB / 0.8691 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001846/0.8069, allocations: 39.81 kB / 0.8692 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002131/0.8091, allocations: 0.5085 MB / 0.8697 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005828/0.8149, allocations: 1.964 MB / 0.8716 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003062/0.818, allocations: 0.8671 MB / 0.8724 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003789/0.8218, allocations: 2.581 MB / 0.875 GB, free: 7.707 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002012/0.8238, allocations: 1.115 MB / 0.8761 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004925/0.8288, allocations: 1.644 MB / 0.8777 GB, free: 4.945 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.8307, allocations: 0.9291 MB / 0.8786 GB, free: 4.016 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000421/0.8311, allocations: 104 kB / 0.8787 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002832/0.834, allocations: 1.107 MB / 0.8797 GB, free: 2.805 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0007913/0.8348, allocations: 0.5026 MB / 0.8802 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001599/0.8364, allocations: 0.6299 MB / 0.8809 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003746/0.8402, allocations: 1.924 MB / 0.8827 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.8402, allocations: 0 / 0.8827 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8402, allocations: 0 / 0.8827 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.221e-05/0.8403, allocations: 0 / 0.8827 GB, free: 15.73 MB / 0.6544 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.003669/0.844, allocations: 1.456 MB / 0.8842 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.844, allocations: 9.109 kB / 0.8842 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001558/0.8456, allocations: 254.4 kB / 0.8844 GB, free: 13.97 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.847, allocations: 0.7921 MB / 0.8852 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.343e-05/0.8471, allocations: 70 kB / 0.8852 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.8472, allocations: 92 kB / 0.8853 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.8491, allocations: 1.171 MB / 0.8865 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.012e-05/0.8491, allocations: 3.938 kB / 0.8865 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.32e-05/0.8492, allocations: 44 kB / 0.8865 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-05/0.8493, allocations: 34 kB / 0.8866 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.8507, allocations: 0.9015 MB / 0.8874 GB, free: 10.75 MB / 0.6544 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.005939/0.8567, allocations: 5.735 MB / 0.893 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007924/0.8575, allocations: 0.5289 MB / 0.8936 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.8579, allocations: 318.6 kB / 0.8939 GB, free: 3.715 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000596/0.8585, allocations: 311.8 kB / 0.8942 GB, free: 3.355 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.656e-05/0.8586, allocations: 38.98 kB / 0.8942 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.334e-06/0.8586, allocations: 0 / 0.8942 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001546/0.8601, allocations: 0.8026 MB / 0.895 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.8602, allocations: 55.84 kB / 0.895 GB, free: 2.43 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009714/0.8612, allocations: 0.7548 MB / 0.8958 GB, free: 1.668 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.8612, allocations: 37.7 kB / 0.8958 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003837/0.8616, allocations: 0.5143 MB / 0.8963 GB, free: 1.102 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001555/0.8618, allocations: 173.5 kB / 0.8965 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.862, allocations: 138.5 kB / 0.8966 GB, free: 0.7891 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.8622, allocations: 341.9 kB / 0.8969 GB, free: 460 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003609/0.8625, allocations: 249.9 kB / 0.8972 GB, free: 212 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006148/0.8631, allocations: 0.5566 MB / 0.8977 GB, free: 15.52 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.8642, allocations: 0.7995 MB / 0.8985 GB, free: 14.61 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.8642, allocations: 0 / 0.8985 GB, free: 14.61 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001294/0.8655, allocations: 0.8465 MB / 0.8993 GB, free: 13.75 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.8655, allocations: 8 kB / 0.8993 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.8655, allocations: 12 kB / 0.8993 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.33e-05/0.8656, allocations: 15.94 kB / 0.8993 GB, free: 13.72 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005516/0.8661, allocations: 151.8 kB / 0.8995 GB, free: 13.57 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.145e-05/0.8662, allocations: 23.86 kB / 0.8995 GB, free: 13.55 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006916/0.8669, allocations: 93.72 kB / 0.8996 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-05/0.8669, allocations: 39.94 kB / 0.8996 GB, free: 13.42 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00041/0.8673, allocations: 325.5 kB / 0.9 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001485/0.8675, allocations: 86.97 kB / 0.9 GB, free: 13 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009607/0.8685, allocations: 0.6179 MB / 0.9006 GB, free: 12.38 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.8685, allocations: 4 kB / 0.9006 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.8685, allocations: 3.938 kB / 0.9006 GB, free: 12.37 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000708/0.8692, allocations: 0.5173 MB / 0.9012 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002322/0.8715, allocations: 1.671 MB / 0.9028 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.8716, allocations: 0 / 0.9028 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005222/0.8721, allocations: 115.8 kB / 0.9029 GB, free: 9.977 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.627e-06/0.8721, allocations: 4 kB / 0.9029 GB, free: 9.973 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.8722, allocations: 16 kB / 0.9029 GB, free: 9.957 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.8722, allocations: 4 kB / 0.9029 GB, free: 9.953 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.8722, allocations: 0 / 0.9029 GB, free: 9.953 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00134/0.8735, allocations: 1.054 MB / 0.9039 GB, free: 8.859 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003507/0.8739, allocations: 227.9 kB / 0.9042 GB, free: 8.617 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.874, allocations: 12 kB / 0.9042 GB, free: 8.605 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.8745, allocations: 23.98 kB / 0.9042 GB, free: 8.582 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.428e-05/0.8745, allocations: 35.89 kB / 0.9042 GB, free: 8.547 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.631e-05/0.8746, allocations: 19.94 kB / 0.9043 GB, free: 8.527 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006478/0.8752, allocations: 0.5107 MB / 0.9048 GB, free: 8.02 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.6e-07/0.8752, allocations: 0 / 0.9048 GB, free: 8.02 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009049/0.8762, allocations: 291.4 kB / 0.905 GB, free: 7.734 MB / 0.67 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005055/0.8767, allocations: 214.7 kB / 0.9052 GB, free: 7.531 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009982/0.8777, allocations: 0.6155 MB / 0.9058 GB, free: 6.914 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.8777, allocations: 4 kB / 0.9058 GB, free: 6.91 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003732/0.8781, allocations: 280.3 kB / 0.9061 GB, free: 6.637 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001787/0.8799, allocations: 430.7 kB / 0.9065 GB, free: 6.223 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/0.883, allocations: 1.9 MB / 0.9084 GB, free: 4.27 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007456/0.8838, allocations: 1.129 MB / 0.9095 GB, free: 3.113 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000725/0.8845, allocations: 271 kB / 0.9097 GB, free: 2.844 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001853/0.8847, allocations: 67.42 kB / 0.9098 GB, free: 2.777 MB / 0.67 GB Notification: Performance of SimCode: time 5.61e-07/0.8847, allocations: 4 kB / 0.9098 GB, free: 2.773 MB / 0.67 GB Notification: Performance of Templates: time 0.02768/0.9124, allocations: 15.62 MB / 0.9251 GB, free: 3.371 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)