Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002095/0.002095, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.799/2.799, allocations: 476.7 MB / 0.7629 GB, free: 15.23 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002133/0.002133, allocations: 71.89 kB / 1.107 GB, free: 5.055 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.062/1.064, allocations: 168.7 MB / 1.272 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.TraceSubstances): time 0.2585/1.323, allocations: 196.2 MB / 1.463 GB, free: 400 kB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.02146/1.344, allocations: 14.48 MB / 1.477 GB, free: 1.867 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/1.346, allocations: 35.81 kB / 1.477 GB, free: 1.832 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/1.348, allocations: 0.5124 MB / 1.478 GB, free: 1.316 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.006192/1.354, allocations: 1.976 MB / 1.48 GB, free: 15.33 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002919/1.357, allocations: 0.8676 MB / 1.481 GB, free: 14.47 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004711/1.362, allocations: 2.584 MB / 1.483 GB, free: 11.88 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/1.363, allocations: 0.7984 MB / 1.484 GB, free: 11.05 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005267/1.368, allocations: 1.66 MB / 1.486 GB, free: 9.41 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00265/1.371, allocations: 0.991 MB / 1.486 GB, free: 8.418 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0002329/1.371, allocations: 104 kB / 1.487 GB, free: 8.316 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003224/1.375, allocations: 1.169 MB / 1.488 GB, free: 7.145 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0006736/1.375, allocations: 0.5103 MB / 1.488 GB, free: 6.633 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0008856/1.376, allocations: 0.6338 MB / 1.489 GB, free: 5.996 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.003176/1.379, allocations: 1.919 MB / 1.491 GB, free: 4.07 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.379, allocations: 0 / 1.491 GB, free: 4.07 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.573e-06/1.379, allocations: 0 / 1.491 GB, free: 4.07 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.781e-05/1.379, allocations: 0 / 1.491 GB, free: 4.07 MB / 1.17 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.002683/1.382, allocations: 1.482 MB / 1.492 GB, free: 2.535 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.254e-05/1.382, allocations: 12.03 kB / 1.492 GB, free: 2.523 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001997/1.382, allocations: 143.6 kB / 1.492 GB, free: 2.375 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/1.384, allocations: 266.9 kB / 1.493 GB, free: 2.113 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001357/1.385, allocations: 0.7967 MB / 1.493 GB, free: 1.27 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/1.385, allocations: 70 kB / 1.493 GB, free: 1.203 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001497/1.385, allocations: 92 kB / 1.493 GB, free: 1.113 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/1.387, allocations: 1.173 MB / 1.495 GB, free: 15.87 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/1.387, allocations: 0 / 1.495 GB, free: 15.87 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.459e-05/1.387, allocations: 47.94 kB / 1.495 GB, free: 15.82 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.084e-05/1.387, allocations: 33.94 kB / 1.495 GB, free: 15.79 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/1.389, allocations: 0.9015 MB / 1.496 GB, free: 14.89 MB / 1.186 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.006386/1.395, allocations: 5.759 MB / 1.501 GB, free: 8.676 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009362/1.396, allocations: 0.5097 MB / 1.502 GB, free: 8.156 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004537/1.397, allocations: 298.5 kB / 1.502 GB, free: 7.859 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006206/1.397, allocations: 315.6 kB / 1.502 GB, free: 7.496 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.667e-05/1.397, allocations: 39 kB / 1.502 GB, free: 7.449 MB / 1.186 GB Notification: Performance of pre-optimization done (n=49): time 1.693e-06/1.397, allocations: 0 / 1.502 GB, free: 7.449 MB / 1.186 GB Notification: Performance of matching and sorting (n=49): time 0.001625/1.399, allocations: 0.8031 MB / 1.503 GB, free: 6.641 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/1.399, allocations: 55.84 kB / 1.503 GB, free: 6.574 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009957/1.4, allocations: 0.751 MB / 1.504 GB, free: 5.812 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 5.96e-05/1.4, allocations: 37.7 kB / 1.504 GB, free: 5.77 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004441/1.4, allocations: 0.5195 MB / 1.504 GB, free: 5.242 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/1.401, allocations: 186.4 kB / 1.505 GB, free: 5.059 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002527/1.401, allocations: 142.6 kB / 1.505 GB, free: 4.914 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0002061/1.401, allocations: 337.9 kB / 1.505 GB, free: 4.578 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/1.402, allocations: 261.8 kB / 1.505 GB, free: 4.324 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007506/1.402, allocations: 0.5624 MB / 1.506 GB, free: 3.625 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001158/1.403, allocations: 0.7879 MB / 1.507 GB, free: 2.73 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/1.403, allocations: 0 / 1.507 GB, free: 2.73 MB / 1.186 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001455/1.405, allocations: 0.8548 MB / 1.507 GB, free: 1.867 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.101e-05/1.405, allocations: 14.12 kB / 1.508 GB, free: 1.855 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.405, allocations: 11.94 kB / 1.508 GB, free: 1.844 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/1.405, allocations: 12 kB / 1.508 GB, free: 1.832 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005904/1.406, allocations: 151.8 kB / 1.508 GB, free: 1.684 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.476e-05/1.406, allocations: 15.94 kB / 1.508 GB, free: 1.668 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000737/1.406, allocations: 95.61 kB / 1.508 GB, free: 1.574 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.185e-05/1.406, allocations: 35.98 kB / 1.508 GB, free: 1.539 MB / 1.186 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.0005238/1.407, allocations: 333.4 kB / 1.508 GB, free: 1.203 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/1.407, allocations: 87.44 kB / 1.508 GB, free: 1.117 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/1.408, allocations: 0.6218 MB / 1.509 GB, free: 496 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/1.408, allocations: 8 kB / 1.509 GB, free: 488 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.408, allocations: 0 / 1.509 GB, free: 488 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008651/1.409, allocations: 0.5212 MB / 1.509 GB, free: 15.94 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002936/1.412, allocations: 1.667 MB / 1.511 GB, free: 14.2 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.353e-06/1.412, allocations: 8.266 kB / 1.511 GB, free: 14.19 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/1.413, allocations: 107.9 kB / 1.511 GB, free: 14.08 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/1.413, allocations: 4 kB / 1.511 GB, free: 14.08 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/1.413, allocations: 15.98 kB / 1.511 GB, free: 14.06 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/1.413, allocations: 4 kB / 1.511 GB, free: 14.06 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/1.413, allocations: 7.875 kB / 1.511 GB, free: 14.05 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001703/1.414, allocations: 1.027 MB / 1.512 GB, free: 12.98 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004278/1.415, allocations: 232.4 kB / 1.512 GB, free: 12.74 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/1.415, allocations: 12 kB / 1.512 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/1.415, allocations: 16.73 kB / 1.512 GB, free: 12.71 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/1.415, allocations: 31.97 kB / 1.512 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.31e-05/1.415, allocations: 19.98 kB / 1.512 GB, free: 12.66 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0007551/1.416, allocations: 0.5146 MB / 1.513 GB, free: 12.15 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/1.416, allocations: 0 / 1.513 GB, free: 12.15 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001046/1.417, allocations: 299.4 kB / 1.513 GB, free: 11.86 MB / 1.201 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.00234/1.42, allocations: 1.668 MB / 1.515 GB, free: 10.16 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001179/1.421, allocations: 0.5884 MB / 1.515 GB, free: 9.566 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/1.421, allocations: 0 / 1.515 GB, free: 9.566 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0004124/1.421, allocations: 268.1 kB / 1.516 GB, free: 9.305 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/1.423, allocations: 437.2 kB / 1.516 GB, free: 8.883 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01039/1.434, allocations: 7.244 MB / 1.523 GB, free: 1.258 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008854/1.434, allocations: 1.118 MB / 1.524 GB, free: 116 kB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009162/1.435, allocations: 267.1 kB / 1.524 GB, free: 15.84 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005115/1.436, allocations: 371.2 kB / 1.525 GB, free: 15.48 MB / 1.217 GB Notification: Performance of SimCode: time 1.112e-06/1.436, allocations: 0 / 1.525 GB, free: 15.48 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06104/1.497, allocations: 23.26 MB / 1.548 GB, free: 8.566 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.996/11.49, allocations: 10.38 kB / 1.548 GB, free: 8.559 MB / 1.232 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 Buildings_11_Buildings_Fluid_Sensors_Examples_TraceSubstances.fmu > Buildings_11_Buildings.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 17.52451106297667] Failed to read output from testmodel.py, exit status != 0: 11.580479408003157 11.604885262 10.22065574 Calling exit ...