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.001477/0.001476, allocations: 110.7 kB / 16.37 MB, free: 6.004 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.001657/0.001657, allocations: 195.8 kB / 17.31 MB, free: 5.613 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7774/0.7774, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 0.5068 GB, free: 7.668 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3919, allocations: 80.9 MB / 0.5858 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6209/1.013, allocations: 195.1 MB / 0.7763 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01894/1.032, allocations: 14.31 MB / 0.7903 GB, free: 1.418 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00198/1.034, allocations: 38.69 kB / 0.7903 GB, free: 1.414 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/1.035, allocations: 0.4956 MB / 0.7908 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004999/1.041, allocations: 1.883 MB / 0.7926 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/1.043, allocations: 0.8712 MB / 0.7935 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003235/1.046, allocations: 2.571 MB / 0.796 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/1.048, allocations: 1.114 MB / 0.7971 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003906/1.052, allocations: 1.597 MB / 0.7986 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001364/1.053, allocations: 0.9245 MB / 0.7995 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001543/1.053, allocations: 103.3 kB / 0.7996 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002184/1.056, allocations: 1.1 MB / 0.8007 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004419/1.056, allocations: 0.4919 MB / 0.8012 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006946/1.057, allocations: 0.635 MB / 0.8018 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002495/1.059, allocations: 1.917 MB / 0.8037 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.059, allocations: 0 / 0.8037 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.084e-06/1.059, allocations: 0.9062 kB / 0.8037 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.603e-05/1.059, allocations: 0 / 0.8037 GB, free: 0.7617 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.00209/1.061, allocations: 1.453 MB / 0.8051 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/1.061, allocations: 12.2 kB / 0.8051 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/1.063, allocations: 251 kB / 0.8053 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001289/1.064, allocations: 0.7916 MB / 0.8061 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.636e-05/1.064, allocations: 74.22 kB / 0.8062 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/1.064, allocations: 89.84 kB / 0.8063 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/1.066, allocations: 1.176 MB / 0.8074 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/1.066, allocations: 3.906 kB / 0.8074 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.792e-05/1.066, allocations: 42.06 kB / 0.8075 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.04e-05/1.066, allocations: 35.53 kB / 0.8075 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/1.067, allocations: 0.8954 MB / 0.8084 GB, free: 15.36 MB / 0.5919 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.005977/1.073, allocations: 5.741 MB / 0.814 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/1.074, allocations: 0.5268 MB / 0.8145 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003551/1.074, allocations: 324.2 kB / 0.8148 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/1.075, allocations: 313.4 kB / 0.8151 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.138e-05/1.075, allocations: 37.03 kB / 0.8151 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.405e-06/1.075, allocations: 1.031 kB / 0.8151 GB, free: 11.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.00135/1.076, allocations: 0.799 MB / 0.8159 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/1.076, allocations: 58.22 kB / 0.816 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007558/1.077, allocations: 0.747 MB / 0.8167 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.317e-05/1.077, allocations: 40.11 kB / 0.8167 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/1.077, allocations: 0.509 MB / 0.8172 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001595/1.077, allocations: 177.1 kB / 0.8174 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001977/1.078, allocations: 140.7 kB / 0.8175 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.078, allocations: 342.1 kB / 0.8179 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003182/1.078, allocations: 244.2 kB / 0.8181 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006982/1.079, allocations: 0.5595 MB / 0.8186 GB, free: 9.863 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/1.08, allocations: 0.7994 MB / 0.8194 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.08, allocations: 2.094 kB / 0.8194 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001221/1.081, allocations: 0.8442 MB / 0.8203 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.081, allocations: 14.03 kB / 0.8203 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.081, allocations: 8.469 kB / 0.8203 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/1.081, allocations: 10.62 kB / 0.8203 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/1.082, allocations: 155 kB / 0.8204 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.083e-05/1.082, allocations: 22.53 kB / 0.8205 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007353/1.083, allocations: 100.3 kB / 0.8205 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.027e-05/1.083, allocations: 35.09 kB / 0.8206 GB, free: 9.43 MB / 0.5919 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.0004454/1.083, allocations: 331.4 kB / 0.8209 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/1.083, allocations: 82.53 kB / 0.821 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008951/1.084, allocations: 0.6164 MB / 0.8216 GB, free: 9.211 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/1.084, allocations: 8.875 kB / 0.8216 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.084, allocations: 0 / 0.8216 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006095/1.085, allocations: 0.518 MB / 0.8221 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002442/1.087, allocations: 1.67 MB / 0.8237 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/1.087, allocations: 0 / 0.8237 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005071/1.088, allocations: 109.2 kB / 0.8238 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.77e-06/1.088, allocations: 7.219 kB / 0.8238 GB, free: 8.746 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.301e-05/1.088, allocations: 18.55 kB / 0.8239 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/1.088, allocations: 6.25 kB / 0.8239 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/1.088, allocations: 2.469 kB / 0.8239 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001297/1.089, allocations: 1.049 MB / 0.8249 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003606/1.089, allocations: 221.8 kB / 0.8251 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.995e-05/1.09, allocations: 20.39 kB / 0.8251 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004263/1.09, allocations: 21.97 kB / 0.8251 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.542e-05/1.09, allocations: 32.03 kB / 0.8252 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/1.09, allocations: 20.45 kB / 0.8252 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005637/1.091, allocations: 0.5116 MB / 0.8257 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/1.091, allocations: 3.938 kB / 0.8257 GB, free: 8.027 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008313/1.092, allocations: 303.5 kB / 0.826 GB, free: 7.961 MB / 0.5919 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.0004346/1.092, allocations: 209.7 kB / 0.8262 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008259/1.093, allocations: 0.6125 MB / 0.8268 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.093, allocations: 3.094 kB / 0.8268 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003151/1.093, allocations: 273.1 kB / 0.827 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001608/1.095, allocations: 445 kB / 0.8275 GB, free: 7.453 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002725/1.097, allocations: 1.893 MB / 0.8293 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/1.098, allocations: 1.121 MB / 0.8304 GB, free: 5.672 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000683/1.099, allocations: 266.6 kB / 0.8307 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001653/1.099, allocations: 74.77 kB / 0.8307 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of SimCode: time 1.603e-06/1.099, allocations: 0 / 0.8307 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of Templates: time 0.02522/1.124, allocations: 15.44 MB / 0.8458 GB, free: 7.961 MB / 0.6075 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)