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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002207/0.002207, allocations: 209.3 kB / 23.76 MB, free: 4.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.518/1.518, allocations: 230.6 MB / 257.5 MB, free: 8.027 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9955/0.9955, allocations: 150 MB / 463.9 MB, free: 10.52 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") translateModel(IBPSA.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 64.28 kB / 0.6425 GB, free: 9.918 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1959, allocations: 89.17 MB / 0.7296 GB, free: 0.8086 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.6728/0.8687, allocations: 199.2 MB / 0.9241 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0238/0.8925, allocations: 14.51 MB / 0.9383 GB, free: 1.262 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.8941, allocations: 47.62 kB / 0.9383 GB, free: 1.215 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002029/0.8961, allocations: 0.5163 MB / 0.9388 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.006549/0.9026, allocations: 1.995 MB / 0.9408 GB, free: 14.69 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003251/0.9059, allocations: 0.9079 MB / 0.9416 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004495/0.9104, allocations: 2.624 MB / 0.9442 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001888/0.9123, allocations: 0.7949 MB / 0.945 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006332/0.9186, allocations: 1.909 MB / 0.9468 GB, free: 8.453 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002528/0.9211, allocations: 0.9781 MB / 0.9478 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005098/0.9216, allocations: 104 kB / 0.9479 GB, free: 7.371 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003429/0.9251, allocations: 1.169 MB / 0.949 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009922/0.9261, allocations: 0.5064 MB / 0.9495 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001768/0.9278, allocations: 0.63 MB / 0.9502 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004439/0.9323, allocations: 1.923 MB / 0.952 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.9323, allocations: 0 / 0.952 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9323, allocations: 0 / 0.952 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.837e-05/0.9324, allocations: 0 / 0.952 GB, free: 3.129 MB / 0.7169 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.003507/0.9359, allocations: 1.415 MB / 0.9534 GB, free: 1.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.9359, allocations: 8.031 kB / 0.9534 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.9376, allocations: 263 kB / 0.9537 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001888/0.9394, allocations: 0.7292 MB / 0.9544 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.9395, allocations: 70 kB / 0.9544 GB, free: 0.5859 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002187/0.9397, allocations: 92 kB / 0.9545 GB, free: 0.4961 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/0.942, allocations: 1.173 MB / 0.9557 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.942, allocations: 7.875 kB / 0.9557 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.68e-05/0.9421, allocations: 43.98 kB / 0.9557 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.9421, allocations: 33.98 kB / 0.9558 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001698/0.9438, allocations: 0.8976 MB / 0.9566 GB, free: 14.27 MB / 0.7325 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.007871/0.9517, allocations: 5.767 MB / 0.9623 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009686/0.9527, allocations: 0.512 MB / 0.9628 GB, free: 7.508 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005157/0.9532, allocations: 290.6 kB / 0.963 GB, free: 7.219 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005308/0.9537, allocations: 80.34 kB / 0.9631 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.013e-05/0.9538, allocations: 39 kB / 0.9632 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=49): time 2.324e-06/0.9538, allocations: 0 / 0.9632 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=49): time 0.001851/0.9556, allocations: 0.8069 MB / 0.964 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.9557, allocations: 59.84 kB / 0.964 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.9568, allocations: 0.7549 MB / 0.9647 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.685e-05/0.9569, allocations: 37.7 kB / 0.9648 GB, free: 5.402 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005068/0.9574, allocations: 0.5233 MB / 0.9653 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.9577, allocations: 186.5 kB / 0.9655 GB, free: 4.688 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002395/0.9579, allocations: 142.6 kB / 0.9656 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002181/0.9581, allocations: 334 kB / 0.9659 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004458/0.9586, allocations: 253.8 kB / 0.9662 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/0.9593, allocations: 0.5546 MB / 0.9667 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.9605, allocations: 0.7995 MB / 0.9675 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.9605, allocations: 4 kB / 0.9675 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00158/0.9621, allocations: 0.8543 MB / 0.9683 GB, free: 1.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.9621, allocations: 8 kB / 0.9683 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.519e-05/0.9622, allocations: 8 kB / 0.9683 GB, free: 1.488 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.275e-05/0.9622, allocations: 12.78 kB / 0.9684 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.9628, allocations: 157.4 kB / 0.9685 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.857e-05/0.9628, allocations: 19.94 kB / 0.9685 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008675/0.9637, allocations: 95.27 kB / 0.9686 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-05/0.9638, allocations: 35.98 kB / 0.9686 GB, free: 1.176 MB / 0.7325 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.000658/0.9644, allocations: 325.5 kB / 0.969 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002694/0.9647, allocations: 91.44 kB / 0.969 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/0.9659, allocations: 0.6219 MB / 0.9697 GB, free: 128 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/0.9659, allocations: 4 kB / 0.9697 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.9659, allocations: 0 / 0.9697 GB, free: 124 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008369/0.9668, allocations: 0.525 MB / 0.9702 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.9699, allocations: 1.635 MB / 0.9718 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.9699, allocations: 7.984 kB / 0.9718 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.9704, allocations: 108.8 kB / 0.9719 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-05/0.9705, allocations: 4 kB / 0.9719 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.9705, allocations: 15.98 kB / 0.9719 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.699e-06/0.9705, allocations: 4 kB / 0.9719 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.9705, allocations: 0 / 0.9719 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.972, allocations: 1.043 MB / 0.9729 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/0.9725, allocations: 143.4 kB / 0.9731 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001609/0.9726, allocations: 12 kB / 0.9731 GB, free: 12.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005293/0.9732, allocations: 20.8 kB / 0.9731 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.9733, allocations: 35.94 kB / 0.9731 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.153e-05/0.9733, allocations: 16 kB / 0.9731 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008472/0.9742, allocations: 0.5224 MB / 0.9736 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of sort global known variables: time 6.1e-08/0.9742, allocations: 0 / 0.9736 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001085/0.9752, allocations: 303.4 kB / 0.9739 GB, free: 11.62 MB / 0.7481 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.0005658/0.9758, allocations: 209.7 kB / 0.9741 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001129/0.9769, allocations: 0.5842 MB / 0.9747 GB, free: 10.84 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.71e-06/0.9769, allocations: 4.688 kB / 0.9747 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004042/0.9773, allocations: 259.7 kB / 0.975 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.9794, allocations: 436.5 kB / 0.9754 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003859/0.9833, allocations: 2.041 MB / 0.9774 GB, free: 8.07 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009937/0.9843, allocations: 1.126 MB / 0.9785 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002759/0.9845, allocations: 79.42 kB / 0.9785 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of SimCode: time 7.81e-07/0.9845, allocations: 0 / 0.9785 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of Templates: time 0.02701/1.012, allocations: 14.71 MB / 0.9929 GB, free: 8.277 MB / 0.7637 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.105184968793765] Failed to read output from testmodel.py, exit status != 0: 1.0217843428254128 1.036586306 0.100851361 Calling exit ...