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.001636/0.001636, allocations: 109 kB / 17.12 MB, free: 5.926 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.001994/0.001994, allocations: 205 kB / 20.09 MB, free: 2.977 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.455/1.455, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.9756/0.9756, allocations: 150 MB / 459.5 MB, free: 5.289 MB / 350.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: "" <> 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: 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.001998/0.001998, allocations: 77.97 kB / 0.6361 GB, free: 30.41 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1696, allocations: 89.13 MB / 0.7232 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.695/0.8646, allocations: 198.8 MB / 0.9173 GB, free: 2.41 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01865/0.8832, allocations: 14.41 MB / 0.9314 GB, free: 2.051 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001981/0.8852, allocations: 51.12 kB / 0.9314 GB, free: 2.051 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.8869, allocations: 0.5132 MB / 0.9319 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004906/0.8918, allocations: 1.962 MB / 0.9338 GB, free: 1.953 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002296/0.8941, allocations: 0.8745 MB / 0.9347 GB, free: 1.926 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003094/0.8972, allocations: 2.561 MB / 0.9372 GB, free: 1.879 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.8985, allocations: 0.9251 MB / 0.9381 GB, free: 1.781 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005146/0.9036, allocations: 1.878 MB / 0.9399 GB, free: 1.652 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002016/0.9056, allocations: 0.966 MB / 0.9409 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.9058, allocations: 104.2 kB / 0.941 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002606/0.9084, allocations: 1.156 MB / 0.9421 GB, free: 1.516 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005786/0.909, allocations: 0.5064 MB / 0.9426 GB, free: 1.453 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008763/0.9099, allocations: 0.6299 MB / 0.9432 GB, free: 1.176 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003005/0.9129, allocations: 1.921 MB / 0.9451 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9129, allocations: 1.453 kB / 0.9451 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9129, allocations: 2.156 kB / 0.9451 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.269e-05/0.9129, allocations: 0 / 0.9451 GB, free: 0.5703 MB / 0.67 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.002302/0.9152, allocations: 1.488 MB / 0.9465 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.9153, allocations: 10.16 kB / 0.9465 GB, free: 15.57 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001889/0.9155, allocations: 148.1 kB / 0.9467 GB, free: 15.47 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.9169, allocations: 257.9 kB / 0.9469 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.9182, allocations: 0.8037 MB / 0.9477 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.412e-05/0.9183, allocations: 70.19 kB / 0.9478 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.9184, allocations: 94.16 kB / 0.9479 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001788/0.9202, allocations: 1.176 MB / 0.949 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.9202, allocations: 2.625 kB / 0.949 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.619e-05/0.9203, allocations: 38.44 kB / 0.9491 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/0.9203, allocations: 34.67 kB / 0.9491 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.9217, allocations: 0.9026 MB / 0.95 GB, free: 13.89 MB / 0.6856 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.006367/0.9281, allocations: 5.828 MB / 0.9557 GB, free: 8.66 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008694/0.929, allocations: 0.525 MB / 0.9562 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004261/0.9294, allocations: 293.6 kB / 0.9565 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006355/0.93, allocations: 313.2 kB / 0.9568 GB, free: 7.922 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/0.9301, allocations: 40 kB / 0.9568 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=49): time 2.214e-06/0.9301, allocations: 0 / 0.9568 GB, free: 7.879 MB / 0.6856 GB Notification: Performance of matching and sorting (n=49): time 0.001523/0.9316, allocations: 0.8097 MB / 0.9576 GB, free: 7.48 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.919e-05/0.9317, allocations: 57.09 kB / 0.9576 GB, free: 7.418 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009354/0.9326, allocations: 0.7527 MB / 0.9584 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.308e-05/0.9327, allocations: 39.3 kB / 0.9584 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004246/0.9331, allocations: 0.5197 MB / 0.9589 GB, free: 6.488 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001809/0.9333, allocations: 188.4 kB / 0.9591 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002272/0.9335, allocations: 146.6 kB / 0.9592 GB, free: 6.242 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.9337, allocations: 333.3 kB / 0.9596 GB, free: 5.918 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.934, allocations: 245.9 kB / 0.9598 GB, free: 5.801 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006598/0.9347, allocations: 0.556 MB / 0.9603 GB, free: 5.281 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.9357, allocations: 0.8003 MB / 0.9611 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.9357, allocations: 0 / 0.9611 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001318/0.9371, allocations: 0.8558 MB / 0.962 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.126e-05/0.9371, allocations: 11 kB / 0.962 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.9371, allocations: 10.09 kB / 0.962 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.9371, allocations: 10.16 kB / 0.962 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005325/0.9376, allocations: 149.5 kB / 0.9621 GB, free: 4.289 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.9377, allocations: 28.27 kB / 0.9622 GB, free: 4.281 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007725/0.9384, allocations: 96.58 kB / 0.9622 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.892e-05/0.9385, allocations: 30.31 kB / 0.9623 GB, free: 4.211 MB / 0.6856 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.000496/0.939, allocations: 329 kB / 0.9626 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.9391, allocations: 95.69 kB / 0.9627 GB, free: 3.93 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001051/0.9402, allocations: 0.6153 MB / 0.9633 GB, free: 3.578 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.9402, allocations: 8.875 kB / 0.9633 GB, free: 3.574 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.9402, allocations: 6.188 kB / 0.9633 GB, free: 3.57 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007834/0.941, allocations: 0.5198 MB / 0.9638 GB, free: 3.289 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/0.9435, allocations: 1.668 MB / 0.9654 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.9435, allocations: 2.656 kB / 0.9654 GB, free: 2.168 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.944, allocations: 110.9 kB / 0.9655 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.9441, allocations: 5.25 kB / 0.9655 GB, free: 2.148 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/0.9441, allocations: 19.61 kB / 0.9656 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.9441, allocations: 4.5 kB / 0.9656 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.9441, allocations: 3.156 kB / 0.9656 GB, free: 2.137 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001378/0.9455, allocations: 1.026 MB / 0.9666 GB, free: 1.508 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003767/0.9459, allocations: 224.5 kB / 0.9668 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.994e-05/0.946, allocations: 22.16 kB / 0.9668 GB, free: 1.305 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.9464, allocations: 12.88 kB / 0.9668 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.073e-05/0.9465, allocations: 34.08 kB / 0.9669 GB, free: 1.281 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.9465, allocations: 28.14 kB / 0.9669 GB, free: 1.266 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.000658/0.9472, allocations: 0.5104 MB / 0.9674 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.9472, allocations: 0 / 0.9674 GB, free: 0.9805 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009033/0.9481, allocations: 297.1 kB / 0.9677 GB, free: 0.9219 MB / 0.6856 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.002154/0.9502, allocations: 1.667 MB / 0.9693 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0009995/0.9512, allocations: 0.583 MB / 0.9699 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9512, allocations: 0 / 0.9699 GB, free: 15.49 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.9516, allocations: 266.2 kB / 0.9701 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.9536, allocations: 444.3 kB / 0.9705 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01049/0.9641, allocations: 7.242 MB / 0.9776 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008572/0.9649, allocations: 1.118 MB / 0.9787 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008073/0.9657, allocations: 267.1 kB / 0.979 GB, free: 6.074 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005953/0.9663, allocations: 367.3 kB / 0.9793 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of SimCode: time 7.42e-07/0.9663, allocations: 0 / 0.9793 GB, free: 5.715 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06286/1.029, allocations: 23.23 MB / 1.002 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.342/10.37, allocations: 15.92 kB / 1.002 GB, free: 14.82 MB / 0.7325 GB " [Timeout remaining time 650] (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: 14.271288350922987] Failed to read output from testmodel.py, exit status != 0: 10.457312570884824 10.472866247 9.556924077 Calling exit ...