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.0007938/0.0007938, allocations: 99.86 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.0008892/0.0008892, allocations: 177.3 kB / 15.95 MB, free: 216 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.202/1.202, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8263/0.8263, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004177/0.0004177, allocations: 18.17 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1574, allocations: 82.3 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.4069/0.5644, allocations: 161.8 MB / 0.7452 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01382/0.5782, allocations: 12.17 MB / 0.7571 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009232/0.5792, allocations: 27.81 kB / 0.7571 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.5807, allocations: 0.4899 MB / 0.7576 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003688/0.5844, allocations: 1.55 MB / 0.7591 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002338/0.5868, allocations: 0.9432 MB / 0.76 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001732/0.5885, allocations: 1.477 MB / 0.7614 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000937/0.5895, allocations: 0.8327 MB / 0.7622 GB, free: 9.301 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.5915, allocations: 1.106 MB / 0.7633 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007955/0.5923, allocations: 0.6228 MB / 0.7639 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 9.58e-05/0.5924, allocations: 48 kB / 0.764 GB, free: 7.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001154/0.5936, allocations: 0.5421 MB / 0.7645 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003651/0.5939, allocations: 415 kB / 0.7649 GB, free: 6.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000219/0.5942, allocations: 249.1 kB / 0.7651 GB, free: 6.32 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001215/0.5954, allocations: 1.313 MB / 0.7664 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.5954, allocations: 0 / 0.7664 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5954, allocations: 0 / 0.7664 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.304e-05/0.5954, allocations: 4 kB / 0.7664 GB, free: 5.004 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.001913/0.5973, allocations: 1.231 MB / 0.7676 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.5974, allocations: 12.03 kB / 0.7676 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00123/0.5986, allocations: 254.4 kB / 0.7679 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001347/0.6, allocations: 0.7458 MB / 0.7686 GB, free: 2.676 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.862e-05/0.6001, allocations: 81.95 kB / 0.7687 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.6002, allocations: 92 kB / 0.7688 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.6018, allocations: 1.153 MB / 0.7699 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.6018, allocations: 7.938 kB / 0.7699 GB, free: 1.273 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.567e-05/0.6019, allocations: 36 kB / 0.77 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.39e-05/0.602, allocations: 41.94 kB / 0.77 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.6032, allocations: 0.9015 MB / 0.7709 GB, free: 300 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.005174/0.6084, allocations: 5.728 MB / 0.7765 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007702/0.6091, allocations: 0.5744 MB / 0.777 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003827/0.6095, allocations: 149.5 kB / 0.7772 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.6096, allocations: 39 kB / 0.7772 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=51): time 1.874e-06/0.6096, allocations: 0 / 0.7772 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=51): time 0.001423/0.611, allocations: 0.8219 MB / 0.778 GB, free: 8.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.6111, allocations: 89.61 kB / 0.7781 GB, free: 8.375 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000795/0.6119, allocations: 0.7509 MB / 0.7788 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.848e-05/0.6119, allocations: 37.7 kB / 0.7789 GB, free: 7.574 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003366/0.6123, allocations: 0.5104 MB / 0.7794 GB, free: 7.055 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.6124, allocations: 185.3 kB / 0.7795 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.844e-05/0.6125, allocations: 12 kB / 0.7796 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.6126, allocations: 337.9 kB / 0.7799 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003714/0.613, allocations: 253.8 kB / 0.7801 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005914/0.6136, allocations: 0.5706 MB / 0.7807 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004773/0.614, allocations: 356.5 kB / 0.781 GB, free: 5.215 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6141, allocations: 4 kB / 0.781 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001121/0.6152, allocations: 0.8581 MB / 0.7819 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.6152, allocations: 8 kB / 0.7819 GB, free: 4.336 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6152, allocations: 8.5 kB / 0.7819 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.6153, allocations: 15.95 kB / 0.7819 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/0.6158, allocations: 155.8 kB / 0.782 GB, free: 4.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.6158, allocations: 19.92 kB / 0.7821 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008057/0.6166, allocations: 144.8 kB / 0.7822 GB, free: 4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.6167, allocations: 40 kB / 0.7822 GB, free: 3.961 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.0003729/0.6171, allocations: 333.4 kB / 0.7825 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.6172, allocations: 91.05 kB / 0.7826 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008917/0.6181, allocations: 0.6335 MB / 0.7833 GB, free: 2.898 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.6181, allocations: 11.95 kB / 0.7833 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6181, allocations: 0 / 0.7833 GB, free: 2.887 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006552/0.6188, allocations: 0.5173 MB / 0.7838 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.6212, allocations: 1.777 MB / 0.7855 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.6212, allocations: 0 / 0.7855 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/0.6217, allocations: 115.9 kB / 0.7856 GB, free: 392 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.6217, allocations: 4 kB / 0.7856 GB, free: 388 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/0.6217, allocations: 16 kB / 0.7856 GB, free: 372 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.662e-06/0.6217, allocations: 7.938 kB / 0.7856 GB, free: 364 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.6217, allocations: 8.188 kB / 0.7856 GB, free: 356 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.623, allocations: 1.167 MB / 0.7868 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003498/0.6234, allocations: 236 kB / 0.787 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001008/0.6235, allocations: 12 kB / 0.787 GB, free: 14.83 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005165/0.624, allocations: 55.89 kB / 0.7871 GB, free: 14.77 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.6241, allocations: 39.91 kB / 0.7871 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/0.6242, allocations: 19.98 kB / 0.7871 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005659/0.6247, allocations: 0.5107 MB / 0.7876 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6247, allocations: 4 kB / 0.7876 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000803/0.6255, allocations: 299.3 kB / 0.7879 GB, free: 13.91 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.0004415/0.626, allocations: 223.8 kB / 0.7881 GB, free: 13.71 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000851/0.6269, allocations: 0.6202 MB / 0.7887 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6269, allocations: 0 / 0.7887 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003349/0.6272, allocations: 276.8 kB / 0.789 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001751/0.629, allocations: 433.6 kB / 0.7894 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002768/0.6317, allocations: 2.376 MB / 0.7917 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006448/0.6324, allocations: 1.142 MB / 0.7929 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007589/0.6332, allocations: 279.3 kB / 0.7931 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.6333, allocations: 83.34 kB / 0.7932 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.6334, allocations: 4 kB / 0.7932 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of Templates: time 0.02271/0.6561, allocations: 14.84 MB / 0.8077 GB, free: 9.859 MB / 0.6231 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: