Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.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.001415/0.001415, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001611/0.001611, allocations: 220 kB / 23.04 MB, free: 5.078 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.316/1.316, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.915/2.915, allocations: 0.5003 GB / 0.8061 GB, free: 26.77 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.001868/0.001868, allocations: 67.97 kB / 1.171 GB, free: 19.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2897/0.2916, allocations: 179 MB / 1.345 GB, free: 464 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009208/0.3008, allocations: 7.48 MB / 1.353 GB, free: 8.934 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.1751/0.4759, allocations: 155.3 MB / 1.504 GB, free: 13.02 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001156/0.477, allocations: 27.81 kB / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001446/0.4785, allocations: 444.7 kB / 1.505 GB, free: 12.55 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002056/0.4805, allocations: 0.7865 MB / 1.506 GB, free: 11.77 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.002271/0.4828, allocations: 1.165 MB / 1.507 GB, free: 10.61 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002731/0.4855, allocations: 2.49 MB / 1.509 GB, free: 8.109 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001125/0.4866, allocations: 0.7784 MB / 1.51 GB, free: 7.281 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.4877, allocations: 0.9424 MB / 1.511 GB, free: 6.336 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.4888, allocations: 1.004 MB / 1.512 GB, free: 5.328 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0003047/0.4891, allocations: 271.9 kB / 1.512 GB, free: 5.062 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.4903, allocations: 0.6792 MB / 1.513 GB, free: 4.383 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004703/0.4907, allocations: 0.5764 MB / 1.513 GB, free: 3.805 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009502/0.4917, allocations: 1.093 MB / 1.514 GB, free: 2.707 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003405/0.4951, allocations: 3.219 MB / 1.517 GB, free: 15.48 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.4951, allocations: 0 / 1.517 GB, free: 15.48 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4951, allocations: 0 / 1.517 GB, free: 15.48 MB / 1.217 GB Notification: Performance of Transformations before backend: time 4.142e-05/0.4951, allocations: 0 / 1.517 GB, free: 15.48 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.004398/0.4995, allocations: 2.305 MB / 1.52 GB, free: 13.12 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4996, allocations: 12.03 kB / 1.52 GB, free: 13.11 MB / 1.217 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.397e-05/0.4996, allocations: 47.45 kB / 1.52 GB, free: 13.07 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002686/0.4999, allocations: 232.7 kB / 1.52 GB, free: 12.83 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01599/0.5159, allocations: 2.54 MB / 1.522 GB, free: 10.29 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/0.5182, allocations: 1.143 MB / 1.524 GB, free: 9.109 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001056/0.5183, allocations: 123.3 kB / 1.524 GB, free: 8.988 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.5186, allocations: 156 kB / 1.524 GB, free: 8.836 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00872/0.5273, allocations: 2.965 MB / 1.527 GB, free: 5.816 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.5273, allocations: 0 / 1.527 GB, free: 5.816 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.5275, allocations: 75.94 kB / 1.527 GB, free: 5.742 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.768e-05/0.5276, allocations: 40 kB / 1.527 GB, free: 5.703 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0139/0.5415, allocations: 4.154 MB / 1.531 GB, free: 1.543 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01557/0.557, allocations: 8.522 MB / 1.539 GB, free: 8.164 MB / 1.233 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008145/0.5652, allocations: 2.474 MB / 1.542 GB, free: 5.68 MB / 1.233 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005741/0.5709, allocations: 1.581 MB / 1.543 GB, free: 4.098 MB / 1.233 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.571, allocations: 49.62 kB / 1.543 GB, free: 4.051 MB / 1.233 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006476/0.5775, allocations: 1.957 MB / 1.545 GB, free: 2.074 MB / 1.233 GB Notification: Performance of pre-optimization done (n=139): time 2.936e-06/0.5775, allocations: 0 / 1.545 GB, free: 2.074 MB / 1.233 GB Notification: Performance of matching and sorting (n=139): time 0.01929/0.5968, allocations: 4.959 MB / 1.55 GB, free: 13.11 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001471/0.597, allocations: 218.9 kB / 1.55 GB, free: 12.84 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001529/0.5985, allocations: 0.9732 MB / 1.551 GB, free: 11.85 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002434/0.5987, allocations: 53.7 kB / 1.551 GB, free: 11.79 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006256/0.5994, allocations: 0.6773 MB / 1.552 GB, free: 11.11 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004891/0.5998, allocations: 472 kB / 1.552 GB, free: 10.64 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005669/0.6004, allocations: 262.7 kB / 1.553 GB, free: 10.38 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001779/0.6006, allocations: 357.9 kB / 1.553 GB, free: 10.02 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005858/0.6064, allocations: 1.517 MB / 1.554 GB, free: 8.504 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006072/0.6125, allocations: 1.678 MB / 1.556 GB, free: 6.789 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.6233, allocations: 2.845 MB / 1.559 GB, free: 3.93 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6233, allocations: 0 / 1.559 GB, free: 3.93 MB / 1.248 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01272/0.636, allocations: 3.362 MB / 1.562 GB, free: 0.5547 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.636, allocations: 6.656 kB / 1.562 GB, free: 0.5508 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.636, allocations: 4 kB / 1.562 GB, free: 0.5469 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005752/0.6366, allocations: 92.7 kB / 1.562 GB, free: 464 kB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00355/0.6402, allocations: 0.6477 MB / 1.563 GB, free: 15.8 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002221/0.6424, allocations: 1.535 MB / 1.564 GB, free: 14.15 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/0.6459, allocations: 0.5067 MB / 1.565 GB, free: 13.64 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002335/0.6461, allocations: 63.94 kB / 1.565 GB, free: 13.58 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 23 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,pumCon.hys.y,$PRE.pumCon.hys.y,pumCon.HDirTil.incAng.decAng.tNext,$PRE.pumCon.HDirTil.incAng.decAng.tNext,pumCon.HDifTilIso.incAng.decAng.tNext,$PRE.pumCon.HDifTilIso.incAng.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0009584/0.6471, allocations: 400.1 kB / 1.565 GB, free: 13.18 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004298/0.6475, allocations: 139.1 kB / 1.565 GB, free: 13.04 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01421/0.6617, allocations: 3.842 MB / 1.569 GB, free: 9.188 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.6618, allocations: 15.94 kB / 1.569 GB, free: 9.172 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.6618, allocations: 0 / 1.569 GB, free: 9.172 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-05/0.6618, allocations: 15.97 kB / 1.569 GB, free: 9.156 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.6654, allocations: 2.801 MB / 1.572 GB, free: 6.004 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.481e-05/0.6654, allocations: 4 kB / 1.572 GB, free: 6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003528/0.669, allocations: 0.6242 MB / 1.573 GB, free: 5.375 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004381/0.6694, allocations: 76.78 kB / 1.573 GB, free: 5.297 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000192/0.6696, allocations: 51.94 kB / 1.573 GB, free: 5.246 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/0.6716, allocations: 1.566 MB / 1.574 GB, free: 3.559 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.6716, allocations: 3.984 kB / 1.574 GB, free: 3.555 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01283/0.6844, allocations: 3.491 MB / 1.578 GB, free: 40 kB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001106/0.6855, allocations: 430.7 kB / 1.578 GB, free: 15.61 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003784/0.6859, allocations: 31.94 kB / 1.578 GB, free: 15.58 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003295/0.6892, allocations: 463.5 kB / 1.578 GB, free: 15.13 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/0.6894, allocations: 120.8 kB / 1.579 GB, free: 15.01 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/0.6896, allocations: 67.92 kB / 1.579 GB, free: 14.95 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001156/0.6908, allocations: 0.7032 MB / 1.579 GB, free: 14.23 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6908, allocations: 4 kB / 1.579 GB, free: 14.23 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.001553/0.6923, allocations: 0.5338 MB / 1.58 GB, free: 13.7 MB / 1.279 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,pumCon.hys.y,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 8 (pumCon.hys.y,pumCon.HDifTilIso.incAng.decAng.tNext,pumCon.HDirTil.incAng.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (155): * Single equations (assignments): 147 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01493/0.7072, allocations: 4.582 MB / 1.584 GB, free: 9.262 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01283/0.7201, allocations: 3.433 MB / 1.588 GB, free: 5.812 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7201, allocations: 0 / 1.588 GB, free: 5.812 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.006957/0.727, allocations: 1.837 MB / 1.589 GB, free: 3.965 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00226/0.7293, allocations: 392.1 kB / 1.59 GB, free: 3.598 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04812/0.7774, allocations: 16.53 MB / 1.606 GB, free: 2.906 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009898/0.7784, allocations: 1.288 MB / 1.607 GB, free: 1.582 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002028/0.7804, allocations: 454.5 kB / 1.608 GB, free: 1.133 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/0.7817, allocations: 0.6983 MB / 1.608 GB, free: 444 kB / 1.295 GB Notification: Performance of SimCode: time 1.112e-06/0.7817, allocations: 0 / 1.608 GB, free: 444 kB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6111/1.393, allocations: 39.81 MB / 1.647 GB, free: 249.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.22/15.61, allocations: 18.16 kB / 1.647 GB, free: 249.5 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 21.817129074013792] Failed to read output from testmodel.py, exit status != 0: 15.889887713012286 15.898612099 15.401517057 Calling exit ...