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.001645/0.001645, allocations: 105.8 kB / 16.27 MB, free: 6.414 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.001522/0.001522, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.411/1.411, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8353/0.8353, allocations: 135.1 MB / 426.2 MB, free: 4.176 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001526/0.001526, allocations: 63.91 kB / 0.506 GB, free: 8.387 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3998, allocations: 80.91 MB / 0.585 GB, free: 25.19 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.613/1.013, allocations: 195.1 MB / 0.7755 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01549/1.028, allocations: 14.31 MB / 0.7895 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001576/1.03, allocations: 36.53 kB / 0.7895 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00145/1.032, allocations: 0.4937 MB / 0.79 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004185/1.036, allocations: 1.882 MB / 0.7918 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002161/1.038, allocations: 0.8607 MB / 0.7927 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00247/1.04, allocations: 2.575 MB / 0.7952 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/1.042, allocations: 1.111 MB / 0.7963 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003737/1.046, allocations: 1.599 MB / 0.7978 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/1.047, allocations: 0.9181 MB / 0.7987 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003258/1.048, allocations: 108.4 kB / 0.7988 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/1.05, allocations: 1.097 MB / 0.7999 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004554/1.05, allocations: 0.4947 MB / 0.8004 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006828/1.051, allocations: 0.6435 MB / 0.801 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002036/1.053, allocations: 1.879 MB / 0.8029 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.053, allocations: 0.8438 kB / 0.8029 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.533e-06/1.053, allocations: 0 / 0.8029 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.603e-05/1.053, allocations: 4.531 kB / 0.8029 GB, free: 0.8008 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.00195/1.055, allocations: 1.456 MB / 0.8043 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/1.055, allocations: 11.61 kB / 0.8043 GB, free: 16.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/1.057, allocations: 252.5 kB / 0.8045 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001004/1.058, allocations: 0.752 MB / 0.8053 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/1.058, allocations: 73.38 kB / 0.8053 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/1.058, allocations: 90.09 kB / 0.8054 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/1.059, allocations: 1.175 MB / 0.8066 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.504e-05/1.059, allocations: 6.344 kB / 0.8066 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.923e-05/1.059, allocations: 40.53 kB / 0.8066 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/1.059, allocations: 36.38 kB / 0.8067 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/1.061, allocations: 0.8993 MB / 0.8075 GB, free: 15.4 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.005067/1.066, allocations: 5.766 MB / 0.8132 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/1.066, allocations: 0.5299 MB / 0.8137 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003633/1.067, allocations: 318.7 kB / 0.814 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005616/1.067, allocations: 310.1 kB / 0.8143 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/1.067, allocations: 45.25 kB / 0.8143 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.053e-06/1.067, allocations: 0 / 0.8143 GB, free: 11.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001323/1.069, allocations: 0.7969 MB / 0.8151 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/1.069, allocations: 57.69 kB / 0.8152 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007473/1.069, allocations: 0.7466 MB / 0.8159 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/1.07, allocations: 37.83 kB / 0.8159 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000308/1.07, allocations: 0.5088 MB / 0.8164 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/1.07, allocations: 176.6 kB / 0.8166 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/1.07, allocations: 142.2 kB / 0.8167 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001179/1.07, allocations: 339.6 kB / 0.817 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003644/1.071, allocations: 247.9 kB / 0.8173 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000545/1.071, allocations: 0.5635 MB / 0.8178 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009699/1.072, allocations: 0.8022 MB / 0.8186 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/1.072, allocations: 2.438 kB / 0.8186 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001108/1.073, allocations: 0.8365 MB / 0.8194 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/1.073, allocations: 11.75 kB / 0.8194 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/1.073, allocations: 9.062 kB / 0.8195 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/1.073, allocations: 10.59 kB / 0.8195 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005476/1.074, allocations: 155 kB / 0.8196 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.188e-05/1.074, allocations: 21.52 kB / 0.8196 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007533/1.075, allocations: 97.94 kB / 0.8197 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/1.075, allocations: 35.75 kB / 0.8198 GB, free: 9.465 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.0004183/1.075, allocations: 328.4 kB / 0.8201 GB, free: 9.348 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/1.075, allocations: 84.62 kB / 0.8202 GB, free: 9.305 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009264/1.076, allocations: 0.6169 MB / 0.8208 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/1.076, allocations: 8.672 kB / 0.8208 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/1.076, allocations: 3.938 kB / 0.8208 GB, free: 9.238 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006435/1.077, allocations: 0.5205 MB / 0.8213 GB, free: 9.164 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/1.079, allocations: 1.659 MB / 0.8229 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.079, allocations: 2.594 kB / 0.8229 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005242/1.08, allocations: 115.1 kB / 0.823 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/1.08, allocations: 4.719 kB / 0.823 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/1.08, allocations: 11.94 kB / 0.823 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.472e-06/1.08, allocations: 7 kB / 0.823 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.08, allocations: 4 kB / 0.823 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001403/1.081, allocations: 1.058 MB / 0.8241 GB, free: 8.523 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/1.082, allocations: 224.6 kB / 0.8243 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/1.082, allocations: 12.28 kB / 0.8243 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004605/1.082, allocations: 19.14 kB / 0.8243 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.379e-05/1.082, allocations: 39.28 kB / 0.8244 GB, free: 8.367 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/1.082, allocations: 21.23 kB / 0.8244 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005839/1.083, allocations: 0.516 MB / 0.8249 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/1.083, allocations: 0 / 0.8249 GB, free: 8.145 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009062/1.084, allocations: 304 kB / 0.8252 GB, free: 8.078 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.0004872/1.084, allocations: 211.2 kB / 0.8254 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001099/1.085, allocations: 0.707 MB / 0.8261 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.085, allocations: 0 / 0.8261 GB, free: 7.777 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003417/1.086, allocations: 278 kB / 0.8263 GB, free: 7.695 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001917/1.088, allocations: 442.5 kB / 0.8267 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003099/1.091, allocations: 2.008 MB / 0.8287 GB, free: 6.461 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006792/1.091, allocations: 1.125 MB / 0.8298 GB, free: 5.707 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/1.092, allocations: 77.11 kB / 0.8299 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of SimCode: time 3.5e-07/1.092, allocations: 0 / 0.8299 GB, free: 5.703 MB / 0.5919 GB Notification: Performance of Templates: time 0.02184/1.114, allocations: 14.61 MB / 0.8442 GB, free: 8.859 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)