Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.001667/0.001667, allocations: 110.2 kB / 16.41 MB, free: 6.504 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.001952/0.001952, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.609/1.609, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.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: 469.8 MB / 0.749 GB, free: 2.988 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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002364/0.002364, allocations: 75.88 kB / 1.073 GB, free: 11.97 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9303/0.9327, allocations: 159.1 MB / 1.229 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn): time 0.003482/0.9362, allocations: 2.033 MB / 1.231 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0009209/0.9371, allocations: 462.6 kB / 1.231 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.9373, allocations: 4 kB / 1.231 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001778/0.9375, allocations: 31.61 kB / 1.231 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001113/0.9376, allocations: 43.64 kB / 1.231 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.9379, allocations: 99.86 kB / 1.231 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003165/0.9382, allocations: 292.4 kB / 1.232 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002877/0.9385, allocations: 156.5 kB / 1.232 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.9386, allocations: 91.66 kB / 1.232 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.9388, allocations: 111.4 kB / 1.232 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.91e-05/0.9388, allocations: 32 kB / 1.232 GB, free: 14.45 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.034e-05/0.9389, allocations: 32 kB / 1.232 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.939, allocations: 63.78 kB / 1.232 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0001275/0.9391, allocations: 127.3 kB / 1.232 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004404/0.9395, allocations: 388.3 kB / 1.232 GB, free: 13.85 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.9396, allocations: 8 kB / 1.232 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9396, allocations: 0 / 1.232 GB, free: 13.84 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.333e-06/0.9396, allocations: 0 / 1.232 GB, free: 13.84 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009425/0.9405, allocations: 0.5416 MB / 1.233 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.9406, allocations: 12.03 kB / 1.233 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.058e-05/0.9406, allocations: 50.73 kB / 1.233 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.9407, allocations: 28.8 kB / 1.233 GB, free: 13.15 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.9411, allocations: 285.5 kB / 1.233 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.9412, allocations: 12.81 kB / 1.233 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.323e-05/0.9412, allocations: 24.36 kB / 1.233 GB, free: 12.8 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004733/0.9417, allocations: 238 kB / 1.234 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.9417, allocations: 0 / 1.234 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.9418, allocations: 15.98 kB / 1.234 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.9418, allocations: 7.938 kB / 1.234 GB, free: 12.53 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004397/0.9422, allocations: 165 kB / 1.234 GB, free: 12.37 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/0.9434, allocations: 0.8446 MB / 1.235 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005208/0.944, allocations: 174.8 kB / 1.235 GB, free: 11.29 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.9442, allocations: 100.8 kB / 1.235 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.9443, allocations: 7.922 kB / 1.235 GB, free: 11.18 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.9443, allocations: 30.56 kB / 1.235 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.9443, allocations: 0 / 1.235 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of matching and sorting (n=12): time 0.0006911/0.945, allocations: 233.5 kB / 1.235 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.991e-05/0.9451, allocations: 77.11 kB / 1.235 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.9454, allocations: 239.2 kB / 1.235 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.9454, allocations: 29.7 kB / 1.235 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.9455, allocations: 152.3 kB / 1.236 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.705e-05/0.9456, allocations: 51.56 kB / 1.236 GB, free: 10.33 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.9457, allocations: 33.7 kB / 1.236 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.9458, allocations: 330.8 kB / 1.236 GB, free: 9.957 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.946, allocations: 72.83 kB / 1.236 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.9462, allocations: 109 kB / 1.236 GB, free: 9.758 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003721/0.9466, allocations: 159.3 kB / 1.236 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.9466, allocations: 0 / 1.236 GB, free: 9.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004668/0.9471, allocations: 213.4 kB / 1.237 GB, free: 9.375 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/0.9471, allocations: 5.406 kB / 1.237 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.9471, allocations: 3.938 kB / 1.237 GB, free: 9.367 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.9472, allocations: 4 kB / 1.237 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001659/0.9473, allocations: 39.91 kB / 1.237 GB, free: 9.324 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.9473, allocations: 4 kB / 1.237 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/0.9475, allocations: 23.88 kB / 1.237 GB, free: 9.297 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.46e-05/0.9475, allocations: 12 kB / 1.237 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002217/0.9477, allocations: 160 kB / 1.237 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001718/0.9479, allocations: 93.11 kB / 1.237 GB, free: 9.016 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002845/0.9482, allocations: 144.9 kB / 1.237 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.22e-07/0.9482, allocations: 0 / 1.237 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of matching and sorting (n=17) (initialization_lambda0): time 0.000354/0.9486, allocations: 178 kB / 1.237 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.9486, allocations: 7.984 kB / 1.237 GB, free: 8.676 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-06/0.9486, allocations: 4 kB / 1.237 GB, free: 8.672 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/0.9486, allocations: 8.031 kB / 1.237 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9488, allocations: 31.92 kB / 1.237 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.9488, allocations: 4 kB / 1.237 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.9489, allocations: 15.98 kB / 1.237 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.9489, allocations: 4 kB / 1.237 GB, free: 8.609 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.000128/0.949, allocations: 190.8 kB / 1.237 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.86e-05/0.9491, allocations: 23.84 kB / 1.237 GB, free: 8.395 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.687e-05/0.9492, allocations: 33.33 kB / 1.237 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.9492, allocations: 0 / 1.237 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.9492, allocations: 0 / 1.237 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.9492, allocations: 0 / 1.237 GB, free: 8.355 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.9495, allocations: 305.4 kB / 1.238 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.9496, allocations: 0 / 1.238 GB, free: 8.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000153/0.9497, allocations: 31.97 kB / 1.238 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.9497, allocations: 0 / 1.238 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/0.9497, allocations: 7.938 kB / 1.238 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.9497, allocations: 0 / 1.238 GB, free: 7.969 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9498, allocations: 4 kB / 1.238 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000663/0.9504, allocations: 347.2 kB / 1.238 GB, free: 7.609 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.283e-05/0.9505, allocations: 97.03 kB / 1.238 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.9505, allocations: 7.938 kB / 1.238 GB, free: 7.488 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.9507, allocations: 16.05 kB / 1.238 GB, free: 7.473 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.9507, allocations: 7.984 kB / 1.238 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.9508, allocations: 8 kB / 1.238 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001668/0.9509, allocations: 168.5 kB / 1.238 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9509, allocations: 0 / 1.238 GB, free: 7.293 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003586/0.9513, allocations: 71.73 kB / 1.239 GB, free: 7.223 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * 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 (12): * Single equations (assignments): 12 * 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.00103/0.9523, allocations: 0.8897 MB / 1.239 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006115/0.9529, allocations: 219.8 kB / 1.24 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.953, allocations: 0 / 1.24 GB, free: 6.094 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001947/0.9532, allocations: 71.95 kB / 1.24 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.9536, allocations: 39.88 kB / 1.24 GB, free: 5.984 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.9569, allocations: 2.304 MB / 1.242 GB, free: 3.59 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/0.9573, allocations: 0.7363 MB / 1.243 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 9.968e-05/0.9574, allocations: 17.55 kB / 1.243 GB, free: 2.809 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001209/0.9575, allocations: 63.41 kB / 1.243 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of SimCode: time 6.01e-07/0.9575, allocations: 4 kB / 1.243 GB, free: 2.742 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/0.9873, allocations: 4.153 MB / 1.247 GB, free: 14.72 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.137/9.124, allocations: 6.562 kB / 1.247 GB, free: 14.71 MB / 0.9669 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_11_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.288796012988314] Failed to read output from testmodel.py, exit status != 0: 9.19736165809445 9.219203099 8.276981649 Calling exit ...