Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001234/0.001234, allocations: 105.5 kB / 16.35 MB, free: 5.824 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.001245/0.001245, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8027/0.8027, allocations: 132.2 MB / 423.3 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.89 kB / 0.5032 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4258/0.4271, allocations: 80.19 MB / 0.5815 GB, free: 27.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6376/1.065, allocations: 195.1 MB / 0.772 GB, free: 1.695 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0186/1.083, allocations: 14.31 MB / 0.786 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001811/1.085, allocations: 36.47 kB / 0.786 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00165/1.087, allocations: 0.498 MB / 0.7865 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004649/1.092, allocations: 1.889 MB / 0.7883 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/1.094, allocations: 0.8606 MB / 0.7892 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002717/1.097, allocations: 2.571 MB / 0.7917 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/1.098, allocations: 1.123 MB / 0.7928 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003771/1.102, allocations: 1.598 MB / 0.7943 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/1.103, allocations: 0.9152 MB / 0.7952 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/1.103, allocations: 105.1 kB / 0.7953 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002049/1.105, allocations: 1.104 MB / 0.7964 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004354/1.106, allocations: 0.4977 MB / 0.7969 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006237/1.106, allocations: 0.6341 MB / 0.7975 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00199/1.108, allocations: 1.921 MB / 0.7994 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/1.108, allocations: 0.9062 kB / 0.7994 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/1.108, allocations: 3.938 kB / 0.7994 GB, free: 0.9141 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.564e-05/1.108, allocations: 0 / 0.7994 GB, free: 0.9141 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.002039/1.11, allocations: 1.444 MB / 0.8008 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/1.111, allocations: 11.59 kB / 0.8008 GB, free: 16.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/1.112, allocations: 254.2 kB / 0.8011 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/1.113, allocations: 0.7965 MB / 0.8018 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.262e-05/1.113, allocations: 71.69 kB / 0.8019 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001342/1.113, allocations: 91.69 kB / 0.802 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/1.115, allocations: 1.169 MB / 0.8031 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.395e-05/1.115, allocations: 0.8438 kB / 0.8031 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.793e-05/1.115, allocations: 43.23 kB / 0.8032 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.602e-05/1.115, allocations: 36.97 kB / 0.8032 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/1.116, allocations: 0.899 MB / 0.8041 GB, free: 15.51 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.005656/1.122, allocations: 5.739 MB / 0.8097 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/1.123, allocations: 0.527 MB / 0.8102 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004017/1.123, allocations: 320.9 kB / 0.8105 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005889/1.124, allocations: 307.3 kB / 0.8108 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/1.124, allocations: 42.77 kB / 0.8109 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.575e-06/1.124, allocations: 0 / 0.8109 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001372/1.125, allocations: 0.7968 MB / 0.8116 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/1.125, allocations: 57.81 kB / 0.8117 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009231/1.126, allocations: 0.7501 MB / 0.8124 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/1.126, allocations: 45.14 kB / 0.8125 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/1.126, allocations: 0.5098 MB / 0.813 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/1.127, allocations: 175.7 kB / 0.8131 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001948/1.127, allocations: 138.2 kB / 0.8133 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001497/1.127, allocations: 338.6 kB / 0.8136 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003345/1.127, allocations: 249.1 kB / 0.8138 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005829/1.128, allocations: 0.5569 MB / 0.8144 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009125/1.129, allocations: 0.7988 MB / 0.8151 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.129, allocations: 4.25 kB / 0.8152 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001121/1.13, allocations: 0.8437 MB / 0.816 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/1.13, allocations: 9.406 kB / 0.816 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/1.13, allocations: 6.844 kB / 0.816 GB, free: 9.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/1.13, allocations: 16.47 kB / 0.816 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005098/1.131, allocations: 153.8 kB / 0.8162 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/1.131, allocations: 18.36 kB / 0.8162 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006642/1.131, allocations: 94.19 kB / 0.8163 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/1.131, allocations: 35.7 kB / 0.8163 GB, free: 9.594 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.0003914/1.132, allocations: 334.3 kB / 0.8166 GB, free: 9.473 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/1.132, allocations: 86.3 kB / 0.8167 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008717/1.133, allocations: 0.6141 MB / 0.8173 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.133, allocations: 4.406 kB / 0.8173 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.133, allocations: 0.9688 kB / 0.8173 GB, free: 9.375 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007231/1.133, allocations: 0.5171 MB / 0.8178 GB, free: 9.301 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002215/1.136, allocations: 1.666 MB / 0.8194 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/1.136, allocations: 2.297 kB / 0.8194 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004912/1.136, allocations: 126.1 kB / 0.8196 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/1.136, allocations: 3.219 kB / 0.8196 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/1.136, allocations: 14.69 kB / 0.8196 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.419e-06/1.136, allocations: 5.422 kB / 0.8196 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.136, allocations: 6.594 kB / 0.8196 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001204/1.137, allocations: 1.046 MB / 0.8206 GB, free: 8.664 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/1.138, allocations: 228.2 kB / 0.8208 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.604e-05/1.138, allocations: 10.12 kB / 0.8208 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004194/1.138, allocations: 17.02 kB / 0.8208 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.04e-05/1.138, allocations: 35.56 kB / 0.8209 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.458e-05/1.138, allocations: 17.86 kB / 0.8209 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005639/1.139, allocations: 0.5103 MB / 0.8214 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/1.139, allocations: 0 / 0.8214 GB, free: 8.422 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008465/1.14, allocations: 302.6 kB / 0.8217 GB, free: 8.379 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.000488/1.14, allocations: 211.3 kB / 0.8219 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0009176/1.141, allocations: 0.614 MB / 0.8225 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.141, allocations: 0 / 0.8225 GB, free: 8.254 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003521/1.142, allocations: 277.5 kB / 0.8228 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/1.143, allocations: 444.9 kB / 0.8232 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002708/1.146, allocations: 1.904 MB / 0.825 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006969/1.147, allocations: 1.121 MB / 0.8261 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0006907/1.147, allocations: 268.7 kB / 0.8264 GB, free: 6.574 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001707/1.148, allocations: 71.98 kB / 0.8265 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of SimCode: time 4.6e-07/1.148, allocations: 0 / 0.8265 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of Templates: time 0.02729/1.175, allocations: 15.44 MB / 0.8415 GB, free: 10.22 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)