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.006897/0.006897, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001517/0.001517, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.367/1.367, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9373/0.9373, allocations: 135.1 MB / 425.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001196, allocations: 64.22 kB / 0.5053 GB, free: 5.695 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.176, allocations: 80.92 MB / 0.5843 GB, free: 4.938 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5088/0.6849, allocations: 192.8 MB / 0.7727 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01639/0.7013, allocations: 14.4 MB / 0.7867 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.7031, allocations: 35.81 kB / 0.7868 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.7048, allocations: 421.7 kB / 0.7872 GB, free: 13.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004635/0.7094, allocations: 1.778 MB / 0.7889 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.7116, allocations: 0.7637 MB / 0.7896 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003889/0.7155, allocations: 3.624 MB / 0.7932 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.7169, allocations: 0.9433 MB / 0.7941 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004459/0.7213, allocations: 1.442 MB / 0.7955 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001851/0.7232, allocations: 0.9672 MB / 0.7965 GB, free: 4.027 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001864/0.7234, allocations: 60 kB / 0.7965 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00257/0.726, allocations: 1.251 MB / 0.7977 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005162/0.7265, allocations: 462.7 kB / 0.7982 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000799/0.7273, allocations: 0.5831 MB / 0.7988 GB, free: 1.676 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001647/0.729, allocations: 1.427 MB / 0.8001 GB, free: 252 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.729, allocations: 0 / 0.8001 GB, free: 252 kB / 0.6075 GB Notification: Performance of FrontEnd: time 2.294e-06/0.729, allocations: 4 kB / 0.8001 GB, free: 248 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.408e-05/0.729, allocations: 3.938 kB / 0.8002 GB, free: 244 kB / 0.6075 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.002158/0.7312, allocations: 1.451 MB / 0.8016 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.7313, allocations: 12.03 kB / 0.8016 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00135/0.7326, allocations: 246.3 kB / 0.8018 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001173/0.7338, allocations: 0.7647 MB / 0.8026 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.7339, allocations: 74 kB / 0.8026 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.734, allocations: 92 kB / 0.8027 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.7357, allocations: 1.165 MB / 0.8039 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.477e-05/0.7357, allocations: 3.938 kB / 0.8039 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.745e-05/0.7358, allocations: 43.98 kB / 0.8039 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.267e-05/0.7359, allocations: 37.98 kB / 0.8039 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.7372, allocations: 0.9015 MB / 0.8048 GB, free: 11.29 MB / 0.6231 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.00541/0.7426, allocations: 5.723 MB / 0.8104 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007706/0.7434, allocations: 0.5377 MB / 0.8109 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.7438, allocations: 314.6 kB / 0.8112 GB, free: 4.254 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005884/0.7444, allocations: 315.6 kB / 0.8115 GB, free: 3.891 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.7444, allocations: 39 kB / 0.8116 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.465e-06/0.7444, allocations: 0 / 0.8116 GB, free: 3.844 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.00147/0.7459, allocations: 0.7948 MB / 0.8123 GB, free: 3.039 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.7459, allocations: 55.84 kB / 0.8124 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000864/0.7468, allocations: 0.7587 MB / 0.8131 GB, free: 2.207 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.257e-05/0.7469, allocations: 37.7 kB / 0.8132 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000366/0.7472, allocations: 0.5144 MB / 0.8137 GB, free: 1.641 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.7474, allocations: 177.4 kB / 0.8138 GB, free: 1.465 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001984/0.7476, allocations: 142.6 kB / 0.814 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.7477, allocations: 334 kB / 0.8143 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003499/0.7481, allocations: 245.9 kB / 0.8145 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005661/0.7487, allocations: 0.5566 MB / 0.8151 GB, free: 60 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009369/0.7496, allocations: 0.8034 MB / 0.8159 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.7496, allocations: 0 / 0.8159 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001172/0.7508, allocations: 0.8419 MB / 0.8167 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.7508, allocations: 9 kB / 0.8167 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.7508, allocations: 8 kB / 0.8167 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/0.7509, allocations: 16 kB / 0.8167 GB, free: 14.27 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000581/0.7515, allocations: 159.7 kB / 0.8169 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/0.7515, allocations: 15.94 kB / 0.8169 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008794/0.7524, allocations: 135 kB / 0.817 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.936e-05/0.7524, allocations: 35.98 kB / 0.8171 GB, free: 13.93 MB / 0.6387 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.0004431/0.7529, allocations: 329.5 kB / 0.8174 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/0.753, allocations: 87 kB / 0.8174 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001028/0.7541, allocations: 0.6218 MB / 0.8181 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.7541, allocations: 4 kB / 0.8181 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.7541, allocations: 4 kB / 0.8181 GB, free: 12.87 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007129/0.7548, allocations: 0.5172 MB / 0.8186 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002588/0.7574, allocations: 1.662 MB / 0.8202 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.7574, allocations: 4 kB / 0.8202 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005145/0.758, allocations: 112.1 kB / 0.8203 GB, free: 10.49 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.351e-06/0.758, allocations: 8 kB / 0.8203 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.758, allocations: 15.98 kB / 0.8203 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.758, allocations: 7.938 kB / 0.8203 GB, free: 10.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.758, allocations: 4 kB / 0.8203 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.7594, allocations: 1.05 MB / 0.8214 GB, free: 9.367 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003505/0.7598, allocations: 227.9 kB / 0.8216 GB, free: 9.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001042/0.7599, allocations: 16 kB / 0.8216 GB, free: 9.109 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005472/0.7604, allocations: 59.84 kB / 0.8217 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.424e-05/0.7605, allocations: 31.97 kB / 0.8217 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.47e-05/0.7605, allocations: 19.98 kB / 0.8217 GB, free: 9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006108/0.7612, allocations: 0.5184 MB / 0.8222 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7612, allocations: 0 / 0.8222 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008789/0.7621, allocations: 299.3 kB / 0.8225 GB, free: 8.191 MB / 0.6387 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.0004875/0.7625, allocations: 210.7 kB / 0.8227 GB, free: 7.992 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009463/0.7635, allocations: 0.608 MB / 0.8233 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.7635, allocations: 0 / 0.8233 GB, free: 7.383 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003584/0.7639, allocations: 272 kB / 0.8235 GB, free: 7.117 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001944/0.7658, allocations: 446 kB / 0.824 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003201/0.769, allocations: 2.377 MB / 0.8263 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007099/0.7698, allocations: 1.118 MB / 0.8274 GB, free: 3.125 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002279/0.77, allocations: 79.42 kB / 0.8275 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of SimCode: time 5.31e-07/0.77, allocations: 4 kB / 0.8275 GB, free: 3.043 MB / 0.6387 GB Notification: Performance of Templates: time 0.0218/0.7918, allocations: 14.7 MB / 0.8418 GB, free: 4.504 MB / 0.6544 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)