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-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_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.00088/0.0008801, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.0008529/0.000853, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.175/1.175, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8581/0.8581, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002882/0.0002882, allocations: 9.5 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1525, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.409/0.5616, allocations: 161.8 MB / 0.7452 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0142/0.5759, allocations: 12.18 MB / 0.7571 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008284/0.5767, allocations: 31.81 kB / 0.7571 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.5781, allocations: 0.4899 MB / 0.7576 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003563/0.5817, allocations: 1.554 MB / 0.7591 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.5839, allocations: 0.9325 MB / 0.76 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001664/0.5856, allocations: 1.485 MB / 0.7614 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008963/0.5865, allocations: 0.8278 MB / 0.7622 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.5883, allocations: 1.106 MB / 0.7633 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007307/0.5891, allocations: 0.6189 MB / 0.7639 GB, free: 7.547 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.5892, allocations: 48 kB / 0.764 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.5903, allocations: 0.5382 MB / 0.7645 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003792/0.5907, allocations: 415 kB / 0.7649 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002078/0.5909, allocations: 253.1 kB / 0.7651 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001148/0.5921, allocations: 1.317 MB / 0.7664 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.5921, allocations: 0 / 0.7664 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.193e-06/0.5921, allocations: 0 / 0.7664 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.5921, allocations: 0 / 0.7664 GB, free: 4.984 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.001716/0.5939, allocations: 1.237 MB / 0.7676 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.5939, allocations: 12.03 kB / 0.7676 GB, free: 3.684 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.5951, allocations: 246.4 kB / 0.7679 GB, free: 3.441 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.5964, allocations: 0.7536 MB / 0.7686 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.5965, allocations: 73.95 kB / 0.7687 GB, free: 2.574 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.5966, allocations: 99.98 kB / 0.7688 GB, free: 2.477 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/0.5981, allocations: 1.165 MB / 0.7699 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.5982, allocations: 3.938 kB / 0.7699 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.573e-05/0.5982, allocations: 36 kB / 0.77 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.945e-05/0.5983, allocations: 34 kB / 0.77 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.5996, allocations: 0.9015 MB / 0.7709 GB, free: 272 kB / 0.5762 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.005572/0.6052, allocations: 5.726 MB / 0.7765 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007334/0.6059, allocations: 0.5705 MB / 0.777 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003661/0.6063, allocations: 149.5 kB / 0.7772 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/0.6064, allocations: 42.94 kB / 0.7772 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=51): time 2.305e-06/0.6064, allocations: 0 / 0.7772 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of matching and sorting (n=51): time 0.001389/0.6078, allocations: 0.8298 MB / 0.778 GB, free: 8.449 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.6078, allocations: 85.55 kB / 0.7781 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007925/0.6086, allocations: 0.7508 MB / 0.7788 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.6087, allocations: 37.7 kB / 0.7789 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003176/0.609, allocations: 0.5066 MB / 0.7794 GB, free: 7.031 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.6091, allocations: 189.3 kB / 0.7795 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.6092, allocations: 8 kB / 0.7795 GB, free: 6.836 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.6093, allocations: 342 kB / 0.7799 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003447/0.6096, allocations: 249.9 kB / 0.7801 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/0.6102, allocations: 0.5784 MB / 0.7807 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004671/0.6107, allocations: 356.6 kB / 0.781 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.6107, allocations: 4 kB / 0.781 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001123/0.6118, allocations: 0.8577 MB / 0.7819 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.6118, allocations: 8 kB / 0.7819 GB, free: 4.305 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.6119, allocations: 8 kB / 0.7819 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.6119, allocations: 16.77 kB / 0.7819 GB, free: 4.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.6124, allocations: 159.8 kB / 0.782 GB, free: 4.125 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.6125, allocations: 23.92 kB / 0.7821 GB, free: 4.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007777/0.6133, allocations: 135.1 kB / 0.7822 GB, free: 3.969 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.457e-05/0.6133, allocations: 35.98 kB / 0.7822 GB, free: 3.934 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003689/0.6137, allocations: 333.4 kB / 0.7825 GB, free: 3.598 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.6138, allocations: 90.97 kB / 0.7826 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008783/0.6147, allocations: 0.6257 MB / 0.7832 GB, free: 2.875 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.6147, allocations: 11.95 kB / 0.7833 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6147, allocations: 0 / 0.7833 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006372/0.6154, allocations: 0.5212 MB / 0.7838 GB, free: 2.328 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00229/0.6177, allocations: 1.765 MB / 0.7855 GB, free: 492 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.6177, allocations: 5.234 kB / 0.7855 GB, free: 488 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004982/0.6182, allocations: 112.1 kB / 0.7856 GB, free: 376 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.6182, allocations: 11.94 kB / 0.7856 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.789e-05/0.6182, allocations: 19.98 kB / 0.7856 GB, free: 344 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.6183, allocations: 11.92 kB / 0.7856 GB, free: 332 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6183, allocations: 4 kB / 0.7856 GB, free: 328 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001316/0.6196, allocations: 1.171 MB / 0.7868 GB, free: 15.06 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.6199, allocations: 224 kB / 0.787 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.62, allocations: 15.98 kB / 0.787 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005204/0.6206, allocations: 64.77 kB / 0.7871 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.704e-05/0.6206, allocations: 39.91 kB / 0.7871 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.6207, allocations: 19.98 kB / 0.7871 GB, free: 14.69 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005451/0.6212, allocations: 0.5068 MB / 0.7876 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6212, allocations: 0 / 0.7876 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0007623/0.622, allocations: 299.3 kB / 0.7879 GB, free: 13.89 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004206/0.6224, allocations: 209.8 kB / 0.7881 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008305/0.6233, allocations: 0.6229 MB / 0.7887 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.6233, allocations: 0 / 0.7887 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003248/0.6236, allocations: 278.5 kB / 0.789 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001752/0.6254, allocations: 440.7 kB / 0.7894 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.6282, allocations: 2.377 MB / 0.7917 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000632/0.6289, allocations: 1.142 MB / 0.7928 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007675/0.6296, allocations: 279.3 kB / 0.7931 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000172/0.6298, allocations: 79.41 kB / 0.7932 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.6298, allocations: 0 / 0.7932 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of Templates: time 0.02184/0.6517, allocations: 14.85 MB / 0.8077 GB, free: 9.844 MB / 0.6231 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile Environment - environmentSimulation: (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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) Environment - environmentSimulation: