Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001636/0.001636, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001963/0.001963, allocations: 215.4 kB / 23.78 MB, free: 4.523 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.429/1.429, allocations: 230.6 MB / 257.5 MB, free: 7.812 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.9211/0.9211, allocations: 150 MB / 463.9 MB, free: 10.24 MB / 366.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.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="cs",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.001951/0.001951, allocations: 66.56 kB / 0.6419 GB, free: 9.953 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1978, allocations: 89.17 MB / 0.729 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009477/0.2073, allocations: 6.54 MB / 0.7354 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5651/0.7724, allocations: 133.7 MB / 0.866 GB, free: 8.926 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001542/0.7739, allocations: 23.81 kB / 0.866 GB, free: 8.902 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.7756, allocations: 433.1 kB / 0.8664 GB, free: 8.484 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002793/0.7784, allocations: 0.7775 MB / 0.8672 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.781, allocations: 1.165 MB / 0.8683 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003318/0.7843, allocations: 2.475 MB / 0.8707 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00122/0.7856, allocations: 0.7745 MB / 0.8715 GB, free: 3.277 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.7868, allocations: 0.954 MB / 0.8724 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.7879, allocations: 0.9957 MB / 0.8734 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003188/0.7882, allocations: 272 kB / 0.8737 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.7895, allocations: 0.6675 MB / 0.8743 GB, free: 400 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0005085/0.79, allocations: 0.5648 MB / 0.8749 GB, free: 15.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008478/0.7908, allocations: 0.8789 MB / 0.8757 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003489/0.7943, allocations: 3.236 MB / 0.8789 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.7943, allocations: 4 kB / 0.8789 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.803e-06/0.7943, allocations: 0 / 0.8789 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.816e-05/0.7944, allocations: 0 / 0.8789 GB, free: 11.7 MB / 0.6544 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.004363/0.7987, allocations: 2.305 MB / 0.8811 GB, free: 9.344 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.7988, allocations: 12.03 kB / 0.8812 GB, free: 9.332 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.669e-05/0.7988, allocations: 43.45 kB / 0.8812 GB, free: 9.289 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002808/0.7991, allocations: 237.2 kB / 0.8814 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01726/0.8164, allocations: 2.536 MB / 0.8839 GB, free: 6.508 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002509/0.8189, allocations: 1.14 MB / 0.885 GB, free: 5.34 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.819, allocations: 123.3 kB / 0.8851 GB, free: 5.219 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/0.8193, allocations: 160 kB / 0.8853 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009393/0.8287, allocations: 3.248 MB / 0.8885 GB, free: 1.695 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.8287, allocations: 3.938 kB / 0.8885 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002083/0.8289, allocations: 72 kB / 0.8885 GB, free: 1.621 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.8289, allocations: 40 kB / 0.8886 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.8439, allocations: 4.15 MB / 0.8926 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01719/0.8611, allocations: 7.189 MB / 0.8996 GB, free: 5.543 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008411/0.8695, allocations: 2.459 MB / 0.902 GB, free: 3.074 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00594/0.8755, allocations: 1.574 MB / 0.9036 GB, free: 1.496 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.8756, allocations: 41.28 kB / 0.9036 GB, free: 1.457 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006819/0.8824, allocations: 2.064 MB / 0.9056 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=139): time 4.568e-06/0.8824, allocations: 4 kB / 0.9056 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of matching and sorting (n=139): time 0.01961/0.902, allocations: 4.948 MB / 0.9105 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001752/0.9022, allocations: 226.9 kB / 0.9107 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001708/0.9039, allocations: 0.9732 MB / 0.9116 GB, free: 9.125 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003583/0.9043, allocations: 53.7 kB / 0.9117 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006915/0.905, allocations: 0.6695 MB / 0.9123 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006892/0.9057, allocations: 476 kB / 0.9128 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000593/0.9062, allocations: 254.8 kB / 0.913 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001682/0.9064, allocations: 349.9 kB / 0.9134 GB, free: 7.316 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006333/0.9128, allocations: 1.521 MB / 0.9149 GB, free: 5.793 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006411/0.9192, allocations: 1.836 MB / 0.9166 GB, free: 3.887 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/0.9306, allocations: 2.848 MB / 0.9194 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.117e-06/0.9306, allocations: 0 / 0.9194 GB, free: 1.023 MB / 0.6856 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01378/0.9444, allocations: 3.362 MB / 0.9227 GB, free: 13.65 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.9444, allocations: 6.188 kB / 0.9227 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.9444, allocations: 6.203 kB / 0.9227 GB, free: 13.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006648/0.9451, allocations: 88.83 kB / 0.9228 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003982/0.9491, allocations: 0.6398 MB / 0.9234 GB, free: 12.91 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/0.9514, allocations: 1.531 MB / 0.9249 GB, free: 11.26 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003904/0.9553, allocations: 0.5067 MB / 0.9254 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003405/0.9556, allocations: 63.94 kB / 0.9255 GB, free: 10.69 MB / 0.7012 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.001218/0.9569, allocations: 412 kB / 0.9259 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005415/0.9574, allocations: 139.1 kB / 0.926 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01475/0.9722, allocations: 3.832 MB / 0.9298 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.22e-05/0.9722, allocations: 19.94 kB / 0.9298 GB, free: 6.277 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.9722, allocations: 0 / 0.9298 GB, free: 6.277 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.441e-05/0.9722, allocations: 7.969 kB / 0.9298 GB, free: 6.27 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003625/0.9758, allocations: 2.401 MB / 0.9321 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.9758, allocations: 0 / 0.9321 GB, free: 3.52 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003783/0.9796, allocations: 0.6242 MB / 0.9327 GB, free: 2.895 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004988/0.9801, allocations: 72.8 kB / 0.9328 GB, free: 2.82 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/0.9804, allocations: 47.94 kB / 0.9328 GB, free: 2.773 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002167/0.9825, allocations: 1.571 MB / 0.9344 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.9825, allocations: 0 / 0.9344 GB, free: 1.082 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01377/0.9963, allocations: 3.487 MB / 0.9378 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.9975, allocations: 426.6 kB / 0.9382 GB, free: 13.15 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004852/0.998, allocations: 39.92 kB / 0.9382 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003561/1.002, allocations: 459.5 kB / 0.9387 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003027/1.002, allocations: 125 kB / 0.9388 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002189/1.002, allocations: 63.94 kB / 0.9389 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00127/1.003, allocations: 0.7072 MB / 0.9395 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/1.003, allocations: 0 / 0.9395 GB, free: 11.76 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00175/1.005, allocations: 0.5377 MB / 0.9401 GB, free: 11.22 MB / 0.7169 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.01647/1.022, allocations: 4.605 MB / 0.9446 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01389/1.035, allocations: 3.433 MB / 0.9479 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/1.035, allocations: 4 kB / 0.9479 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.007179/1.043, allocations: 1.841 MB / 0.9497 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/1.045, allocations: 385.6 kB / 0.9501 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05226/1.097, allocations: 16.54 MB / 0.9662 GB, free: 500 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001007/1.098, allocations: 0.7055 MB / 0.9669 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002222/1.101, allocations: 442.5 kB / 0.9674 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001517/1.102, allocations: 0.6983 MB / 0.968 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of SimCode: time 9.62e-07/1.102, allocations: 0 / 0.968 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08129/1.183, allocations: 41.12 MB / 1.008 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.47/16.65, allocations: 4.062 kB / 1.008 GB, free: 5.848 MB / 0.7794 GB " [Timeout remaining time 643] (rm -f IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController.fmu > IBPSA_latest_IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.623883968917653] Failed to read output from testmodel.py, exit status != 0: 16.94295034604147 16.965850211 16.167122547 Calling exit ...