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.001226/0.001226, allocations: 109 kB / 20.48 MB, free: 1.473 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.001882/0.001882, allocations: 209.7 kB / 23.79 MB, free: 4.684 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.404/1.404, allocations: 230.6 MB / 257.6 MB, free: 8.02 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.917/0.917, allocations: 150 MB / 464 MB, free: 10.53 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.002519/0.002519, allocations: 62.72 kB / 0.642 GB, free: 10.42 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2216/0.2242, allocations: 89.17 MB / 0.7291 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009792/0.234, allocations: 7.475 MB / 0.7364 GB, free: 9.797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5925/0.8264, allocations: 155.3 MB / 0.8881 GB, free: 4.434 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001365/0.8278, allocations: 31.75 kB / 0.8881 GB, free: 4.402 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001597/0.8294, allocations: 435.1 kB / 0.8885 GB, free: 3.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002652/0.8321, allocations: 0.7777 MB / 0.8893 GB, free: 3.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.8347, allocations: 1.174 MB / 0.8904 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003918/0.8386, allocations: 2.484 MB / 0.8929 GB, free: 15.59 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.8402, allocations: 0.7822 MB / 0.8936 GB, free: 14.76 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001499/0.8417, allocations: 0.9346 MB / 0.8945 GB, free: 13.82 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001262/0.8429, allocations: 1.008 MB / 0.8955 GB, free: 12.81 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003393/0.8433, allocations: 268 kB / 0.8958 GB, free: 12.55 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.8446, allocations: 0.6831 MB / 0.8964 GB, free: 11.87 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000511/0.8451, allocations: 0.5803 MB / 0.897 GB, free: 11.29 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.8462, allocations: 1.085 MB / 0.8981 GB, free: 10.2 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003946/0.8501, allocations: 3.217 MB / 0.9012 GB, free: 6.973 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.8501, allocations: 0 / 0.9012 GB, free: 6.973 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8501, allocations: 0 / 0.9012 GB, free: 6.973 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.637e-05/0.8502, allocations: 7.938 kB / 0.9012 GB, free: 6.965 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: 415 * Number of variables: 415 Notification: Performance of Generate backend data structure: time 0.005015/0.8552, allocations: 2.301 MB / 0.9035 GB, free: 4.617 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.8552, allocations: 12.03 kB / 0.9035 GB, free: 4.605 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.645e-05/0.8553, allocations: 43.45 kB / 0.9035 GB, free: 4.562 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002913/0.8556, allocations: 240.6 kB / 0.9037 GB, free: 4.316 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01667/0.8722, allocations: 2.536 MB / 0.9062 GB, free: 1.777 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002763/0.875, allocations: 1.136 MB / 0.9073 GB, free: 0.6133 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.8751, allocations: 123.3 kB / 0.9075 GB, free: 0.4922 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.8754, allocations: 160 kB / 0.9076 GB, free: 344 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009675/0.8851, allocations: 2.969 MB / 0.9105 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.379e-05/0.8851, allocations: 3.984 kB / 0.9105 GB, free: 13.31 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002254/0.8853, allocations: 68 kB / 0.9106 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-05/0.8854, allocations: 40 kB / 0.9106 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01498/0.9004, allocations: 4.157 MB / 0.9147 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01893/0.9193, allocations: 8.532 MB / 0.923 GB, free: 15.66 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00929/0.9286, allocations: 2.459 MB / 0.9254 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006214/0.9348, allocations: 1.583 MB / 0.9269 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001816/0.935, allocations: 49.56 kB / 0.927 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007021/0.942, allocations: 1.971 MB / 0.9289 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=139): time 3.767e-06/0.942, allocations: 0 / 0.9289 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=139): time 0.0212/0.9632, allocations: 4.944 MB / 0.9337 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001811/0.9634, allocations: 230.9 kB / 0.934 GB, free: 4.34 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001856/0.9652, allocations: 0.9732 MB / 0.9349 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0004156/0.9656, allocations: 53.7 kB / 0.935 GB, free: 3.289 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007212/0.9664, allocations: 0.6773 MB / 0.9356 GB, free: 2.602 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007343/0.9671, allocations: 468 kB / 0.9361 GB, free: 2.141 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008027/0.9679, allocations: 258.7 kB / 0.9363 GB, free: 1.883 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.9681, allocations: 353.9 kB / 0.9367 GB, free: 1.531 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006122/0.9742, allocations: 1.529 MB / 0.9382 GB, free: 0 / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006391/0.9806, allocations: 1.667 MB / 0.9398 GB, free: 14.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.992, allocations: 2.848 MB / 0.9426 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.992, allocations: 0 / 0.9426 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01362/1.006, allocations: 3.362 MB / 0.9458 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/1.006, allocations: 10.56 kB / 0.9459 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/1.006, allocations: 3.938 kB / 0.9459 GB, free: 8.047 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00064/1.006, allocations: 84.77 kB / 0.9459 GB, free: 7.961 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004017/1.01, allocations: 0.6437 MB / 0.9466 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002361/1.013, allocations: 1.537 MB / 0.9481 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003957/1.017, allocations: 0.5097 MB / 0.9486 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004261/1.017, allocations: 63.94 kB / 0.9486 GB, free: 5.09 MB / 0.7169 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.001567/1.019, allocations: 408 kB / 0.949 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007078/1.019, allocations: 139.1 kB / 0.9492 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01484/1.034, allocations: 3.836 MB / 0.9529 GB, free: 0.6953 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/1.034, allocations: 23.92 kB / 0.9529 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.034, allocations: 0 / 0.9529 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-05/1.034, allocations: 3.984 kB / 0.9529 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003913/1.038, allocations: 2.814 MB / 0.9557 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/1.038, allocations: 0 / 0.9557 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003751/1.042, allocations: 0.6242 MB / 0.9563 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005051/1.042, allocations: 76.78 kB / 0.9564 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002504/1.043, allocations: 47.94 kB / 0.9564 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002121/1.045, allocations: 1.571 MB / 0.9579 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/1.045, allocations: 0 / 0.9579 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01368/1.058, allocations: 3.499 MB / 0.9614 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001324/1.06, allocations: 422.5 kB / 0.9618 GB, free: 7.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005917/1.06, allocations: 39.94 kB / 0.9618 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003621/1.064, allocations: 459.5 kB / 0.9622 GB, free: 6.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003422/1.064, allocations: 125 kB / 0.9624 GB, free: 6.512 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000254/1.065, allocations: 59.94 kB / 0.9624 GB, free: 6.453 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001447/1.066, allocations: 0.711 MB / 0.9631 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.066, allocations: 3.938 kB / 0.9631 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001837/1.068, allocations: 0.5338 MB / 0.9636 GB, free: 5.195 MB / 0.7325 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.01676/1.085, allocations: 4.578 MB / 0.9681 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01366/1.098, allocations: 3.433 MB / 0.9715 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.098, allocations: 0 / 0.9715 GB, free: 13.36 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006979/1.105, allocations: 1.841 MB / 0.9733 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/1.108, allocations: 401.8 kB / 0.9736 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05241/1.16, allocations: 16.52 MB / 0.9898 GB, free: 10.45 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001626/1.162, allocations: 1.284 MB / 0.991 GB, free: 9.133 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002592/1.164, allocations: 450.6 kB / 0.9915 GB, free: 8.688 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001768/1.166, allocations: 0.6944 MB / 0.9921 GB, free: 7.992 MB / 0.7637 GB Notification: Performance of SimCode: time 1.843e-06/1.166, allocations: 4 kB / 0.9921 GB, free: 7.988 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08275/1.249, allocations: 39.81 MB / 1.031 GB, free: 456 kB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.13/16.38, allocations: 7.922 kB / 1.031 GB, free: 448 kB / 0.795 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.36273103102576] Failed to read output from testmodel.py, exit status != 0: 16.66649587696884 16.68075714 15.827496635 Calling exit ...