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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8428/0.8428, allocations: 133.3 MB / 150.1 MB, free: 11.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 222.9 MB / 404.7 MB, free: 6.004 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 103.5 kB / 485.9 MB, free: 7.156 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001029/0.001029, allocations: 47.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1736, allocations: 80.43 MB / 0.6421 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6156/0.7892, allocations: 192.8 MB / 0.8305 GB, free: 256 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.02017/0.8095, allocations: 14.41 MB / 0.8445 GB, free: 1.793 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002566/0.8121, allocations: 31.81 kB / 0.8446 GB, free: 1.762 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.001926/0.8141, allocations: 429.7 kB / 0.845 GB, free: 1.34 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006492/0.8206, allocations: 1.767 MB / 0.8467 GB, free: 15.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.003164/0.8238, allocations: 0.7636 MB / 0.8475 GB, free: 14.81 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.005624/0.8294, allocations: 3.638 MB / 0.851 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001721/0.8312, allocations: 0.9362 MB / 0.8519 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006306/0.8375, allocations: 1.459 MB / 0.8533 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002544/0.84, allocations: 0.9627 MB / 0.8543 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0001928/0.8402, allocations: 60 kB / 0.8543 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003498/0.8438, allocations: 1.255 MB / 0.8556 GB, free: 6.48 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0006648/0.8444, allocations: 470.7 kB / 0.856 GB, free: 6.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.001022/0.8455, allocations: 0.5831 MB / 0.8566 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003218/0.8487, allocations: 1.92 MB / 0.8585 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.8487, allocations: 0 / 0.8585 GB, free: 3.508 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.987e-06/0.8487, allocations: 7.984 kB / 0.8585 GB, free: 3.5 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.8487, allocations: 0 / 0.8585 GB, free: 3.5 MB / 0.5886 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.002426/0.8512, allocations: 1.445 MB / 0.8599 GB, free: 2 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.8512, allocations: 12.03 kB / 0.8599 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001271/0.8525, allocations: 250.3 kB / 0.8601 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.8539, allocations: 0.7531 MB / 0.8609 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.454e-05/0.854, allocations: 74 kB / 0.8609 GB, free: 0.8711 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.8541, allocations: 95.98 kB / 0.861 GB, free: 0.7773 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.8558, allocations: 1.169 MB / 0.8622 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.483e-05/0.8559, allocations: 7.875 kB / 0.8622 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.819e-05/0.856, allocations: 36 kB / 0.8622 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/0.856, allocations: 37.94 kB / 0.8622 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/0.8574, allocations: 0.9093 MB / 0.8631 GB, free: 14.55 MB / 0.6042 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.006048/0.8634, allocations: 5.719 MB / 0.8687 GB, free: 8.367 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008195/0.8643, allocations: 0.5353 MB / 0.8692 GB, free: 7.828 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004301/0.8647, allocations: 318.6 kB / 0.8695 GB, free: 7.516 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005828/0.8653, allocations: 311.8 kB / 0.8698 GB, free: 7.156 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/0.8654, allocations: 38.98 kB / 0.8699 GB, free: 7.109 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=49): time 3.366e-06/0.8654, allocations: 4 kB / 0.8699 GB, free: 7.105 MB / 0.6042 GB Notification: Performance of matching and sorting (n=49): time 0.001577/0.867, allocations: 0.7987 MB / 0.8707 GB, free: 6.297 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.867, allocations: 59.84 kB / 0.8707 GB, free: 6.227 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009204/0.8679, allocations: 0.747 MB / 0.8714 GB, free: 5.473 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.765e-05/0.868, allocations: 37.7 kB / 0.8715 GB, free: 5.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004018/0.8684, allocations: 0.5142 MB / 0.872 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.8686, allocations: 177.5 kB / 0.8722 GB, free: 4.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002188/0.8688, allocations: 138.6 kB / 0.8723 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.869, allocations: 337.9 kB / 0.8726 GB, free: 4.254 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003704/0.8693, allocations: 249.9 kB / 0.8728 GB, free: 4.008 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006091/0.87, allocations: 0.5566 MB / 0.8734 GB, free: 3.316 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009908/0.871, allocations: 0.7995 MB / 0.8742 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.871, allocations: 0 / 0.8742 GB, free: 2.406 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001249/0.8722, allocations: 0.8422 MB / 0.875 GB, free: 1.559 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.26e-05/0.8723, allocations: 8 kB / 0.875 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.8723, allocations: 8 kB / 0.875 GB, free: 1.543 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.8723, allocations: 12 kB / 0.875 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.8729, allocations: 156.5 kB / 0.8752 GB, free: 1.379 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/0.8729, allocations: 23.92 kB / 0.8752 GB, free: 1.355 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008948/0.8738, allocations: 138.9 kB / 0.8753 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.276e-05/0.8739, allocations: 32 kB / 0.8754 GB, free: 1.188 MB / 0.6042 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.0004373/0.8743, allocations: 329.5 kB / 0.8757 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.8744, allocations: 82.97 kB / 0.8757 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.8755, allocations: 0.6218 MB / 0.8764 GB, free: 148 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.8755, allocations: 4 kB / 0.8764 GB, free: 144 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.8755, allocations: 4 kB / 0.8764 GB, free: 140 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006997/0.8762, allocations: 0.5172 MB / 0.8769 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002511/0.8787, allocations: 1.659 MB / 0.8785 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.8787, allocations: 7.938 kB / 0.8785 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000506/0.8792, allocations: 111.9 kB / 0.8786 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.8793, allocations: 0 / 0.8786 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.799e-05/0.8793, allocations: 16 kB / 0.8786 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.8793, allocations: 12.16 kB / 0.8786 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.8793, allocations: 4 kB / 0.8786 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006495/0.8858, allocations: 4.723 MB / 0.8832 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003455/0.8862, allocations: 235.8 kB / 0.8835 GB, free: 8.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.068e-05/0.8863, allocations: 12 kB / 0.8835 GB, free: 8.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005719/0.8869, allocations: 67.88 kB / 0.8835 GB, free: 8.477 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.589e-05/0.8869, allocations: 27.97 kB / 0.8836 GB, free: 8.449 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.73e-05/0.887, allocations: 23.98 kB / 0.8836 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005835/0.8876, allocations: 0.5068 MB / 0.8841 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.8876, allocations: 0 / 0.8841 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001729/0.8893, allocations: 443.3 kB / 0.8845 GB, free: 7.488 MB / 0.6198 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.0004873/0.8898, allocations: 221.1 kB / 0.8847 GB, free: 7.281 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009334/0.8908, allocations: 0.6 MB / 0.8853 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8908, allocations: 0 / 0.8853 GB, free: 6.68 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003556/0.8911, allocations: 284.1 kB / 0.8856 GB, free: 6.402 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/0.8931, allocations: 432.8 kB / 0.886 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00332/0.8965, allocations: 2.647 MB / 0.8886 GB, free: 3.273 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.8972, allocations: 1.134 MB / 0.8897 GB, free: 2.113 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0008551/0.898, allocations: 271.1 kB / 0.8899 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.8983, allocations: 75.42 kB / 0.89 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of SimCode: time 4.21e-07/0.8983, allocations: 0 / 0.89 GB, free: 1.77 MB / 0.6198 GB Notification: Performance of Templates: time 0.02687/0.9251, allocations: 16.2 MB / 0.9058 GB, free: 1.77 MB / 0.6355 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)