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.001304/0.001304, allocations: 103.2 kB / 16.41 MB, free: 6.449 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.001344/0.001344, allocations: 185.7 kB / 17.34 MB, free: 5.715 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.432/1.432, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8624/0.8624, allocations: 135.2 MB / 426.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001967/0.001967, allocations: 68.95 kB / 0.5863 GB, free: 21.55 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1842, allocations: 80.93 MB / 0.6654 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.621/0.8052, allocations: 195.6 MB / 0.8564 GB, free: 9.062 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02171/0.8269, allocations: 14.34 MB / 0.8704 GB, free: 13.17 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001836/0.8288, allocations: 39.75 kB / 0.8704 GB, free: 13.13 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002077/0.8308, allocations: 0.5125 MB / 0.8709 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006334/0.8372, allocations: 1.972 MB / 0.8728 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003086/0.8402, allocations: 0.8634 MB / 0.8737 GB, free: 9.781 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004507/0.8448, allocations: 2.576 MB / 0.8762 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.8467, allocations: 0.9351 MB / 0.8771 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005866/0.8526, allocations: 1.631 MB / 0.8787 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.8549, allocations: 0.9383 MB / 0.8796 GB, free: 3.68 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000284/0.8552, allocations: 108 kB / 0.8797 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003202/0.8584, allocations: 1.107 MB / 0.8808 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006848/0.8591, allocations: 0.5025 MB / 0.8813 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001123/0.8602, allocations: 0.6338 MB / 0.8819 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.8643, allocations: 1.927 MB / 0.8838 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.8643, allocations: 0 / 0.8838 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.394e-06/0.8643, allocations: 0 / 0.8838 GB, free: 15.39 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.076e-05/0.8643, allocations: 3.938 kB / 0.8838 GB, free: 15.38 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.002925/0.8672, allocations: 1.478 MB / 0.8853 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 7.296e-05/0.8673, allocations: 9.109 kB / 0.8853 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.8688, allocations: 267 kB / 0.8855 GB, free: 13.58 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.8704, allocations: 0.8014 MB / 0.8863 GB, free: 12.73 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.89e-05/0.8705, allocations: 70 kB / 0.8864 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.8707, allocations: 99.95 kB / 0.8865 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.8728, allocations: 1.171 MB / 0.8876 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.989e-05/0.8728, allocations: 4 kB / 0.8876 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-05/0.8729, allocations: 40 kB / 0.8876 GB, free: 11.29 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.338e-05/0.873, allocations: 33.94 kB / 0.8877 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.8745, allocations: 0.9015 MB / 0.8886 GB, free: 10.35 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.007337/0.8819, allocations: 5.752 MB / 0.8942 GB, free: 4.145 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000914/0.8828, allocations: 0.5079 MB / 0.8947 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005083/0.8833, allocations: 298.5 kB / 0.895 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006638/0.8839, allocations: 311.7 kB / 0.8953 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.107e-05/0.884, allocations: 39 kB / 0.8953 GB, free: 2.93 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.735e-06/0.884, allocations: 4 kB / 0.8953 GB, free: 2.926 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001702/0.8857, allocations: 0.7953 MB / 0.8961 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.8858, allocations: 59.78 kB / 0.8961 GB, free: 2.055 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.8868, allocations: 0.7549 MB / 0.8969 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.211e-05/0.8869, allocations: 37.7 kB / 0.8969 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004801/0.8874, allocations: 0.5194 MB / 0.8974 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.8876, allocations: 190.4 kB / 0.8976 GB, free: 0.5312 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/0.8878, allocations: 146.6 kB / 0.8977 GB, free: 392 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001671/0.888, allocations: 330 kB / 0.898 GB, free: 56 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004065/0.8884, allocations: 245.9 kB / 0.8983 GB, free: 15.81 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/0.889, allocations: 0.5566 MB / 0.8988 GB, free: 15.12 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.8902, allocations: 0.8034 MB / 0.8996 GB, free: 14.21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.8902, allocations: 0 / 0.8996 GB, free: 14.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001421/0.8916, allocations: 0.8465 MB / 0.9004 GB, free: 13.35 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.8916, allocations: 8 kB / 0.9004 GB, free: 13.34 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.53e-05/0.8916, allocations: 13.5 kB / 0.9005 GB, free: 13.33 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.999e-05/0.8916, allocations: 12.81 kB / 0.9005 GB, free: 13.32 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005954/0.8922, allocations: 155.7 kB / 0.9006 GB, free: 13.17 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.734e-05/0.8923, allocations: 27.86 kB / 0.9006 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/0.893, allocations: 87.39 kB / 0.9007 GB, free: 13.05 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.982e-05/0.8931, allocations: 36 kB / 0.9008 GB, free: 13.02 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.0005858/0.8937, allocations: 338.7 kB / 0.9011 GB, free: 12.68 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.8938, allocations: 87.44 kB / 0.9012 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001079/0.8949, allocations: 0.6141 MB / 0.9018 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/0.8949, allocations: 4 kB / 0.9018 GB, free: 11.97 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.8949, allocations: 3.938 kB / 0.9018 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007815/0.8957, allocations: 0.525 MB / 0.9023 GB, free: 11.43 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002627/0.8983, allocations: 1.659 MB / 0.9039 GB, free: 9.691 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.8983, allocations: 0 / 0.9039 GB, free: 9.691 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005491/0.8989, allocations: 107.9 kB / 0.904 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.8989, allocations: 4 kB / 0.904 GB, free: 9.582 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.8989, allocations: 19.94 kB / 0.904 GB, free: 9.562 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.195e-05/0.8989, allocations: 7.984 kB / 0.904 GB, free: 9.555 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8989, allocations: 0 / 0.904 GB, free: 9.555 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001562/0.9005, allocations: 1.07 MB / 0.9051 GB, free: 8.449 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003751/0.9009, allocations: 228.4 kB / 0.9053 GB, free: 8.207 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.901, allocations: 15.98 kB / 0.9053 GB, free: 8.191 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004425/0.9014, allocations: 16 kB / 0.9053 GB, free: 8.176 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.9015, allocations: 31.95 kB / 0.9054 GB, free: 8.145 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.067e-05/0.9015, allocations: 23.92 kB / 0.9054 GB, free: 8.121 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007148/0.9023, allocations: 0.5107 MB / 0.9059 GB, free: 7.613 MB / 0.67 GB Notification: Performance of sort global known variables: time 7e-08/0.9023, allocations: 0 / 0.9059 GB, free: 7.613 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009901/0.9032, allocations: 299.5 kB / 0.9062 GB, free: 7.32 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.000634/0.9039, allocations: 217.1 kB / 0.9064 GB, free: 7.113 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001144/0.905, allocations: 0.5964 MB / 0.907 GB, free: 6.516 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.905, allocations: 0 / 0.907 GB, free: 6.516 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003863/0.9054, allocations: 247.7 kB / 0.9072 GB, free: 6.273 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/0.9074, allocations: 435.9 kB / 0.9076 GB, free: 5.859 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.911, allocations: 2.016 MB / 0.9096 GB, free: 3.781 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008604/0.9118, allocations: 1.125 MB / 0.9107 GB, free: 2.629 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.9121, allocations: 79.42 kB / 0.9108 GB, free: 2.551 MB / 0.67 GB Notification: Performance of SimCode: time 1.061e-06/0.9121, allocations: 0 / 0.9108 GB, free: 2.551 MB / 0.67 GB Notification: Performance of Templates: time 0.02855/0.9406, allocations: 14.79 MB / 0.9252 GB, free: 3.879 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)