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.0008049/0.0008049, allocations: 80.48 kB / 19.92 MB, free: 4.633 MB / 18.57 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.0008521/0.0008521, allocations: 169.9 kB / 23.21 MB, free: 1.355 MB / 18.57 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 0.8928/0.8928, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.5821/0.5821, allocations: 114 MB / 373.9 MB, free: 8.711 MB / 346.7 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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 3.938 kB / 0.5542 GB, free: 2.762 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.279e-05/2.483e-05, allocations: 6.219 kB / 0.5542 GB, free: 2.754 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4098/0.4099, allocations: 172.5 MB / 0.7226 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01116/0.421, allocations: 13.09 MB / 0.7354 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001153/0.4222, allocations: 48.94 kB / 0.7355 GB, free: 41.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001221/0.4234, allocations: 0.5011 MB / 0.736 GB, free: 41.1 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003271/0.4267, allocations: 1.989 MB / 0.7379 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001616/0.4283, allocations: 0.932 MB / 0.7388 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.002393/0.4307, allocations: 2.604 MB / 0.7414 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009287/0.4316, allocations: 0.7561 MB / 0.7421 GB, free: 40.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.435, allocations: 2.189 MB / 0.7442 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.4361, allocations: 0.8588 MB / 0.7451 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000127/0.4362, allocations: 108.4 kB / 0.7452 GB, free: 39.87 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.4377, allocations: 0.9369 MB / 0.7461 GB, free: 39.77 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000464/0.4382, allocations: 0.5325 MB / 0.7466 GB, free: 39.71 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004384/0.4386, allocations: 463.4 kB / 0.7471 GB, free: 39.62 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.4405, allocations: 1.943 MB / 0.7489 GB, free: 39.05 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4405, allocations: 0 / 0.7489 GB, free: 39.05 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4405, allocations: 1.906 kB / 0.749 GB, free: 39.05 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.4405, allocations: 0 / 0.749 GB, free: 39.05 MB / 0.6355 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.001461/0.442, allocations: 1.396 MB / 0.7503 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.442, allocations: 11.73 kB / 0.7503 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001302/0.4421, allocations: 147.9 kB / 0.7505 GB, free: 38.05 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008295/0.443, allocations: 261.6 kB / 0.7507 GB, free: 37.97 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001023/0.444, allocations: 0.7198 MB / 0.7514 GB, free: 37.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.934e-05/0.444, allocations: 72.31 kB / 0.7515 GB, free: 37.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.4442, allocations: 92.73 kB / 0.7516 GB, free: 37.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001453/0.4456, allocations: 1.299 MB / 0.7528 GB, free: 36.82 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.116e-05/0.4456, allocations: 5.094 kB / 0.7528 GB, free: 36.82 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.447e-05/0.4457, allocations: 42.22 kB / 0.7529 GB, free: 36.79 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.323e-05/0.4457, allocations: 36.41 kB / 0.7529 GB, free: 36.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009755/0.4467, allocations: 0.901 MB / 0.7538 GB, free: 36.51 MB / 0.6355 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.003343/0.45, allocations: 4.13 MB / 0.7578 GB, free: 33.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006235/0.4507, allocations: 0.509 MB / 0.7583 GB, free: 33.53 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002802/0.4509, allocations: 291.6 kB / 0.7586 GB, free: 33.43 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002678/0.4512, allocations: 85.16 kB / 0.7587 GB, free: 33.42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.4512, allocations: 40.06 kB / 0.7587 GB, free: 33.37 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 1.924e-06/0.4512, allocations: 0.75 kB / 0.7587 GB, free: 33.37 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.0011/0.4523, allocations: 0.8033 MB / 0.7595 GB, free: 33.07 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.716e-05/0.4524, allocations: 58.34 kB / 0.7596 GB, free: 33 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007319/0.4531, allocations: 0.7662 MB / 0.7603 GB, free: 32.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.74e-05/0.4531, allocations: 44.59 kB / 0.7604 GB, free: 32.64 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.4534, allocations: 0.5118 MB / 0.7609 GB, free: 32.23 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.4535, allocations: 184.6 kB / 0.761 GB, free: 32.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001417/0.4536, allocations: 141 kB / 0.7612 GB, free: 32.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.185e-05/0.4537, allocations: 342.7 kB / 0.7615 GB, free: 31.69 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002717/0.4539, allocations: 249.5 kB / 0.7617 GB, free: 31.61 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.4544, allocations: 0.8336 MB / 0.7626 GB, free: 30.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000631/0.455, allocations: 0.7948 MB / 0.7633 GB, free: 30.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.455, allocations: 3.438 kB / 0.7633 GB, free: 30.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008592/0.4559, allocations: 0.8553 MB / 0.7642 GB, free: 30 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.4559, allocations: 7.812 kB / 0.7642 GB, free: 30 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.4559, allocations: 8.719 kB / 0.7642 GB, free: 30 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.449e-05/0.4559, allocations: 12.16 kB / 0.7642 GB, free: 30 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003407/0.4563, allocations: 153.9 kB / 0.7643 GB, free: 30 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-05/0.4563, allocations: 19.95 kB / 0.7644 GB, free: 30 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003783/0.4567, allocations: 87.05 kB / 0.7644 GB, free: 29.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.957e-05/0.4567, allocations: 43.47 kB / 0.7645 GB, free: 29.93 MB / 0.6355 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.0002834/0.457, allocations: 326.1 kB / 0.7648 GB, free: 29.73 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.249e-05/0.4571, allocations: 90.16 kB / 0.7649 GB, free: 29.69 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006027/0.4577, allocations: 0.6223 MB / 0.7655 GB, free: 29.42 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.421e-06/0.4577, allocations: 5.656 kB / 0.7655 GB, free: 29.42 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4577, allocations: 0.9375 kB / 0.7655 GB, free: 29.42 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000453/0.4581, allocations: 0.5177 MB / 0.766 GB, free: 29.2 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001448/0.4596, allocations: 1.547 MB / 0.7675 GB, free: 28.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4596, allocations: 2.094 kB / 0.7675 GB, free: 28.43 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002913/0.4599, allocations: 112.2 kB / 0.7676 GB, free: 28.43 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.4599, allocations: 6.188 kB / 0.7676 GB, free: 28.43 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.36e-05/0.4599, allocations: 13.03 kB / 0.7676 GB, free: 28.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.4599, allocations: 9.875 kB / 0.7676 GB, free: 28.42 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.4599, allocations: 2.719 kB / 0.7677 GB, free: 28.42 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000799/0.4607, allocations: 1.022 MB / 0.7686 GB, free: 27.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001836/0.4609, allocations: 156.2 kB / 0.7688 GB, free: 27.81 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.715e-05/0.461, allocations: 18.22 kB / 0.7688 GB, free: 27.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.4612, allocations: 16.02 kB / 0.7688 GB, free: 27.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.206e-05/0.4612, allocations: 32.14 kB / 0.7689 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.4612, allocations: 24.17 kB / 0.7689 GB, free: 27.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003459/0.4616, allocations: 0.5135 MB / 0.7694 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4616, allocations: 3.125 kB / 0.7694 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005976/0.4622, allocations: 301.3 kB / 0.7697 GB, free: 27.52 MB / 0.6355 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.001167/0.4633, allocations: 1.653 MB / 0.7713 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0005723/0.4639, allocations: 0.5834 MB / 0.7719 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.4639, allocations: 3.562 kB / 0.7719 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002042/0.4641, allocations: 264.1 kB / 0.7721 GB, free: 26.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.4652, allocations: 432.8 kB / 0.7725 GB, free: 26.11 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005524/0.4707, allocations: 7.154 MB / 0.7795 GB, free: 22.18 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.471, allocations: 0.527 MB / 0.78 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004917/0.4715, allocations: 267.4 kB / 0.7803 GB, free: 21.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.4718, allocations: 360 kB / 0.7806 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/0.4718, allocations: 0 / 0.7806 GB, free: 21.71 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.5058, allocations: 25.31 MB / 0.8053 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.718/8.224, allocations: 3.625 kB / 0.8054 GB, free: 13.88 MB / 0.6355 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.83428428787738] Failed to read output from testmodel.py, exit status != 0: 8.31826891656965 8.324423611 7.882421911 Calling exit ...