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.001092/0.001093, allocations: 104 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.001303/0.001303, allocations: 191.2 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.267/1.267, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7671/0.7671, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 67.89 kB / 0.5067 GB, free: 7.621 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3433/0.3446, allocations: 80.91 MB / 0.5858 GB, free: 25.44 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5195/0.8641, allocations: 195.1 MB / 0.7763 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01465/0.8788, allocations: 14.32 MB / 0.7902 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001469/0.8803, allocations: 37.45 kB / 0.7903 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.8818, allocations: 0.4937 MB / 0.7908 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00466/0.8866, allocations: 1.884 MB / 0.7926 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002151/0.8887, allocations: 0.8698 MB / 0.7934 GB, free: 1.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00273/0.8915, allocations: 2.568 MB / 0.796 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001281/0.8928, allocations: 1.119 MB / 0.797 GB, free: 1.219 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003645/0.8964, allocations: 1.6 MB / 0.7986 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.8979, allocations: 0.9233 MB / 0.7995 GB, free: 1.191 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001521/0.898, allocations: 107.6 kB / 0.7996 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001959/0.9, allocations: 1.1 MB / 0.8007 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003974/0.9004, allocations: 0.4982 MB / 0.8012 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0006172/0.901, allocations: 0.6324 MB / 0.8018 GB, free: 1.031 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002003/0.903, allocations: 1.915 MB / 0.8037 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.9031, allocations: 0.7812 kB / 0.8037 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9031, allocations: 0 / 0.8037 GB, free: 0.7852 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.43e-05/0.9031, allocations: 1.062 kB / 0.8037 GB, free: 0.7852 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.001936/0.905, allocations: 1.452 MB / 0.8051 GB, free: 16.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.9051, allocations: 13.98 kB / 0.8051 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001265/0.9063, allocations: 254.9 kB / 0.8053 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001271/0.9076, allocations: 0.7905 MB / 0.8061 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.875e-05/0.9077, allocations: 71.28 kB / 0.8062 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001366/0.9078, allocations: 92.56 kB / 0.8063 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/0.9093, allocations: 1.17 MB / 0.8074 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.623e-05/0.9093, allocations: 0 / 0.8074 GB, free: 15.4 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.644e-05/0.9094, allocations: 46.14 kB / 0.8075 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/0.9094, allocations: 36.75 kB / 0.8075 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001152/0.9106, allocations: 0.9013 MB / 0.8084 GB, free: 15.38 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.00557/0.9162, allocations: 5.728 MB / 0.814 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006957/0.9169, allocations: 0.5333 MB / 0.8145 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000359/0.9173, allocations: 320.5 kB / 0.8148 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/0.9178, allocations: 316.4 kB / 0.8151 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/0.9179, allocations: 42.44 kB / 0.8151 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.294e-06/0.9179, allocations: 0 / 0.8151 GB, free: 11.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001347/0.9193, allocations: 0.8003 MB / 0.8159 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.949e-05/0.9193, allocations: 54.5 kB / 0.816 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000788/0.9201, allocations: 0.7477 MB / 0.8167 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.9202, allocations: 35.86 kB / 0.8167 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/0.9206, allocations: 0.5115 MB / 0.8172 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.9208, allocations: 181.9 kB / 0.8174 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.921, allocations: 142.9 kB / 0.8175 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.9212, allocations: 334.2 kB / 0.8179 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.9216, allocations: 247.2 kB / 0.8181 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007356/0.9224, allocations: 0.5589 MB / 0.8186 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/0.9234, allocations: 0.8026 MB / 0.8194 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.9234, allocations: 0.9375 kB / 0.8194 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001178/0.9246, allocations: 0.8443 MB / 0.8202 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.9246, allocations: 8.344 kB / 0.8203 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.9246, allocations: 6.781 kB / 0.8203 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.9247, allocations: 13.72 kB / 0.8203 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005577/0.9252, allocations: 153.4 kB / 0.8204 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.9253, allocations: 19.67 kB / 0.8204 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007328/0.926, allocations: 103.3 kB / 0.8205 GB, free: 9.453 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.484e-05/0.9261, allocations: 39.67 kB / 0.8206 GB, free: 9.449 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.0004878/0.9266, allocations: 327.5 kB / 0.8209 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.9267, allocations: 88.38 kB / 0.821 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009061/0.9276, allocations: 0.6141 MB / 0.8216 GB, free: 9.227 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.9276, allocations: 10.31 kB / 0.8216 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.9276, allocations: 0 / 0.8216 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006673/0.9283, allocations: 0.5216 MB / 0.8221 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002237/0.9306, allocations: 1.663 MB / 0.8237 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.9306, allocations: 2.812 kB / 0.8237 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005269/0.9311, allocations: 113.1 kB / 0.8238 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.9311, allocations: 2.688 kB / 0.8238 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.9312, allocations: 14.69 kB / 0.8238 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.142e-06/0.9312, allocations: 3.812 kB / 0.8238 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.9312, allocations: 5.531 kB / 0.8239 GB, free: 8.762 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001373/0.9326, allocations: 1.055 MB / 0.8249 GB, free: 8.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.9329, allocations: 217.2 kB / 0.8251 GB, free: 8.262 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.933, allocations: 20.25 kB / 0.8251 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.9335, allocations: 19.7 kB / 0.8251 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.971e-05/0.9336, allocations: 30.55 kB / 0.8252 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.615e-05/0.9336, allocations: 20.72 kB / 0.8252 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006026/0.9342, allocations: 0.5071 MB / 0.8257 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.6e-07/0.9342, allocations: 0 / 0.8257 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009137/0.9351, allocations: 306 kB / 0.826 GB, free: 7.957 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.0004725/0.9356, allocations: 211.9 kB / 0.8262 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0008817/0.9365, allocations: 0.6107 MB / 0.8268 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.9365, allocations: 3.562 kB / 0.8268 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003179/0.9369, allocations: 272.6 kB / 0.827 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.9386, allocations: 444.1 kB / 0.8274 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002795/0.9414, allocations: 1.902 MB / 0.8293 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/0.9421, allocations: 1.124 MB / 0.8304 GB, free: 5.664 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007509/0.9428, allocations: 270 kB / 0.8307 GB, free: 5.547 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.943, allocations: 71.23 kB / 0.8307 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of SimCode: time 4.3e-07/0.943, allocations: 0 / 0.8307 GB, free: 5.539 MB / 0.5919 GB Notification: Performance of Templates: time 0.02703/0.97, allocations: 15.43 MB / 0.8458 GB, free: 7.996 MB / 0.6075 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)