Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001334/0.001334, allocations: 105.2 kB / 16.4 MB, free: 6.504 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.001052/0.001052, allocations: 192 kB / 17.34 MB, free: 5.742 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.279/1.279, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6768/0.6768, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.12 kB / 0.5577 GB, free: 32.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.154, allocations: 76.18 MB / 0.6321 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.5227/0.6768, allocations: 195.1 MB / 0.8226 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.6922, allocations: 14.31 MB / 0.8366 GB, free: 4.371 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001493/0.6937, allocations: 34.28 kB / 0.8366 GB, free: 4.359 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001508/0.6952, allocations: 0.5141 MB / 0.8371 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004715/0.7, allocations: 1.88 MB / 0.8389 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.7026, allocations: 0.8695 MB / 0.8398 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.00288/0.7055, allocations: 2.581 MB / 0.8423 GB, free: 0.8398 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001288/0.7068, allocations: 1.107 MB / 0.8434 GB, free: 208 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.7102, allocations: 1.624 MB / 0.845 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001173/0.7114, allocations: 0.9246 MB / 0.8459 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.7116, allocations: 105.5 kB / 0.846 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001974/0.7135, allocations: 1.104 MB / 0.8471 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004345/0.714, allocations: 0.4956 MB / 0.8475 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000569/0.7146, allocations: 0.6384 MB / 0.8482 GB, free: 13.67 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002091/0.7167, allocations: 1.908 MB / 0.85 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.7167, allocations: 4 kB / 0.85 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7167, allocations: 0 / 0.85 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.7167, allocations: 0 / 0.85 GB, free: 12.43 MB / 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.001982/0.7187, allocations: 1.443 MB / 0.8514 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.7187, allocations: 10.09 kB / 0.8514 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001284/0.72, allocations: 261.7 kB / 0.8517 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.7212, allocations: 0.7928 MB / 0.8525 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.7213, allocations: 71.91 kB / 0.8525 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.7214, allocations: 99.34 kB / 0.8526 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.723, allocations: 1.165 MB / 0.8538 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.723, allocations: 7.938 kB / 0.8538 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.939e-05/0.7231, allocations: 36 kB / 0.8538 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/0.7232, allocations: 41.94 kB / 0.8538 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.7245, allocations: 0.9054 MB / 0.8547 GB, free: 8.285 MB / 0.6075 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.005283/0.7298, allocations: 5.735 MB / 0.8603 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007958/0.7306, allocations: 0.535 MB / 0.8609 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004114/0.731, allocations: 322.5 kB / 0.8612 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005476/0.7316, allocations: 307.8 kB / 0.8615 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.7316, allocations: 46.94 kB / 0.8615 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=49): time 1.974e-06/0.7316, allocations: 0 / 0.8615 GB, free: 0.8281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=49): time 0.001374/0.733, allocations: 0.7987 MB / 0.8623 GB, free: 20 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.7331, allocations: 63.83 kB / 0.8623 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008372/0.7339, allocations: 0.7547 MB / 0.8631 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.058e-05/0.734, allocations: 37.7 kB / 0.8631 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/0.7343, allocations: 0.5065 MB / 0.8636 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001454/0.7345, allocations: 173.5 kB / 0.8638 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001849/0.7347, allocations: 142.5 kB / 0.8639 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.7348, allocations: 337.9 kB / 0.8642 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.7352, allocations: 253.8 kB / 0.8645 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005705/0.7358, allocations: 0.5547 MB / 0.865 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/0.7367, allocations: 0.7956 MB / 0.8658 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.7367, allocations: 0 / 0.8658 GB, free: 12.13 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001177/0.7379, allocations: 0.8506 MB / 0.8666 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.7379, allocations: 8 kB / 0.8666 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.738, allocations: 11.98 kB / 0.8666 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.738, allocations: 12 kB / 0.8667 GB, free: 11.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005197/0.7385, allocations: 155.7 kB / 0.8668 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.619e-05/0.7385, allocations: 15.94 kB / 0.8668 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000669/0.7392, allocations: 91.09 kB / 0.8669 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.7393, allocations: 36.19 kB / 0.8669 GB, free: 10.95 MB / 0.6231 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.0003891/0.7397, allocations: 333.4 kB / 0.8673 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.7398, allocations: 86.95 kB / 0.8673 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009573/0.7408, allocations: 0.6179 MB / 0.8679 GB, free: 9.895 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.7408, allocations: 4 kB / 0.868 GB, free: 9.891 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.7408, allocations: 4 kB / 0.868 GB, free: 9.887 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006684/0.7415, allocations: 0.5134 MB / 0.8685 GB, free: 9.359 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002168/0.7436, allocations: 1.675 MB / 0.8701 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.7437, allocations: 4.219 kB / 0.8701 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004919/0.7442, allocations: 115.8 kB / 0.8702 GB, free: 7.488 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.7442, allocations: 4 kB / 0.8702 GB, free: 7.484 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.607e-05/0.7442, allocations: 16 kB / 0.8702 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.7442, allocations: 4 kB / 0.8702 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7442, allocations: 0 / 0.8702 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001272/0.7455, allocations: 1.015 MB / 0.8712 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002704/0.7458, allocations: 231.9 kB / 0.8714 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.7459, allocations: 12 kB / 0.8715 GB, free: 6.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004404/0.7463, allocations: 19.92 kB / 0.8715 GB, free: 6.133 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.831e-05/0.7464, allocations: 35.91 kB / 0.8715 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.294e-05/0.7465, allocations: 19.98 kB / 0.8715 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005742/0.747, allocations: 0.5107 MB / 0.872 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.747, allocations: 0 / 0.872 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007728/0.7478, allocations: 303.3 kB / 0.8723 GB, free: 5.277 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0004397/0.7483, allocations: 197.6 kB / 0.8725 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008675/0.7492, allocations: 0.6121 MB / 0.8731 GB, free: 4.484 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.7492, allocations: 4 kB / 0.8731 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003539/0.7495, allocations: 275.9 kB / 0.8734 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/0.7513, allocations: 447.3 kB / 0.8738 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002614/0.754, allocations: 1.928 MB / 0.8757 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006844/0.7547, allocations: 1.125 MB / 0.8768 GB, free: 0.6484 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006346/0.7553, allocations: 271 kB / 0.877 GB, free: 388 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/0.7555, allocations: 63.44 kB / 0.8771 GB, free: 324 kB / 0.6231 GB Notification: Performance of SimCode: time 2.2e-07/0.7555, allocations: 0 / 0.8771 GB, free: 324 kB / 0.6231 GB Notification: Performance of Templates: time 0.02335/0.7789, allocations: 15.56 MB / 0.8923 GB, free: 0.9727 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)