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.001296/0.001296, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001408/0.001408, allocations: 220.9 kB / 23.01 MB, free: 5.004 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.385/1.385, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.9549/0.9549, allocations: 150 MB / 463.2 MB, free: 10.55 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_SolarCollectors_Controls_Examples_SolarPumpController",fmuType="me",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.001946/0.001946, allocations: 66.89 kB / 0.6413 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1887, allocations: 89.16 MB / 0.7283 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.00988/0.1985, allocations: 7.473 MB / 0.7356 GB, free: 9.836 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5729/0.7714, allocations: 155.3 MB / 0.8873 GB, free: 4.52 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001522/0.7729, allocations: 31.75 kB / 0.8873 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002003/0.7749, allocations: 439.1 kB / 0.8878 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003072/0.778, allocations: 0.7817 MB / 0.8885 GB, free: 3.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003186/0.7812, allocations: 1.174 MB / 0.8897 GB, free: 2.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003911/0.7851, allocations: 2.485 MB / 0.8921 GB, free: 15.67 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001732/0.7868, allocations: 0.7783 MB / 0.8929 GB, free: 14.84 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001623/0.7885, allocations: 0.9424 MB / 0.8938 GB, free: 13.89 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.7902, allocations: 1.008 MB / 0.8948 GB, free: 12.88 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0007129/0.7909, allocations: 268 kB / 0.895 GB, free: 12.62 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001756/0.7927, allocations: 0.6754 MB / 0.8957 GB, free: 11.95 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.000807/0.7935, allocations: 0.5764 MB / 0.8962 GB, free: 11.37 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001808/0.7953, allocations: 1.089 MB / 0.8973 GB, free: 10.27 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00459/0.7999, allocations: 3.221 MB / 0.9005 GB, free: 7.047 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.7999, allocations: 0 / 0.9005 GB, free: 7.047 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.452e-06/0.7999, allocations: 4 kB / 0.9005 GB, free: 7.043 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001135/0.8, allocations: 4 kB / 0.9005 GB, free: 7.039 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.006378/0.8064, allocations: 2.305 MB / 0.9027 GB, free: 4.688 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.8064, allocations: 8.031 kB / 0.9027 GB, free: 4.68 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005486/0.807, allocations: 236.7 kB / 0.9029 GB, free: 4.438 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01722/0.8242, allocations: 2.537 MB / 0.9054 GB, free: 1.898 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002908/0.8271, allocations: 1.14 MB / 0.9065 GB, free: 0.7305 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.8273, allocations: 123.2 kB / 0.9067 GB, free: 0.6094 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005364/0.8278, allocations: 160 kB / 0.9068 GB, free: 464 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01009/0.8379, allocations: 2.965 MB / 0.9097 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.662e-05/0.8379, allocations: 3.938 kB / 0.9097 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003196/0.8382, allocations: 72 kB / 0.9098 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.615e-05/0.8383, allocations: 40 kB / 0.9098 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0149/0.8532, allocations: 4.157 MB / 0.9139 GB, free: 9.152 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01861/0.8718, allocations: 8.53 MB / 0.9222 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008763/0.8806, allocations: 2.46 MB / 0.9246 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006123/0.8867, allocations: 1.578 MB / 0.9261 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001547/0.8868, allocations: 49.61 kB / 0.9262 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006812/0.8936, allocations: 1.963 MB / 0.9281 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=139): time 3.948e-06/0.8937, allocations: 0 / 0.9281 GB, free: 9.695 MB / 0.7012 GB Notification: Performance of matching and sorting (n=139): time 0.01988/0.9135, allocations: 4.951 MB / 0.9329 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/0.9137, allocations: 230.9 kB / 0.9332 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.9155, allocations: 0.9694 MB / 0.9341 GB, free: 3.473 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0002451/0.9158, allocations: 53.7 kB / 0.9342 GB, free: 3.414 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007062/0.9165, allocations: 0.6734 MB / 0.9348 GB, free: 2.73 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006078/0.9171, allocations: 472 kB / 0.9353 GB, free: 2.266 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006637/0.9177, allocations: 258.8 kB / 0.9355 GB, free: 2.008 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001804/0.9179, allocations: 357.9 kB / 0.9359 GB, free: 1.652 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005986/0.9239, allocations: 1.513 MB / 0.9373 GB, free: 140 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006145/0.93, allocations: 1.679 MB / 0.939 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01109/0.9411, allocations: 2.848 MB / 0.9418 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.9411, allocations: 3.938 kB / 0.9418 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01295/0.9541, allocations: 3.37 MB / 0.9451 GB, free: 8.172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.9541, allocations: 4 kB / 0.9451 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.9541, allocations: 0 / 0.9451 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006436/0.9548, allocations: 88.78 kB / 0.9451 GB, free: 8.078 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003711/0.9585, allocations: 0.6398 MB / 0.9458 GB, free: 7.438 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.9608, allocations: 1.539 MB / 0.9473 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/0.9644, allocations: 0.5106 MB / 0.9478 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002262/0.9647, allocations: 55.94 kB / 0.9478 GB, free: 5.215 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.001054/0.9657, allocations: 412.2 kB / 0.9482 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/0.9662, allocations: 147.1 kB / 0.9484 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01426/0.9805, allocations: 3.825 MB / 0.9521 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-05/0.9805, allocations: 23.94 kB / 0.9521 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.9805, allocations: 0 / 0.9521 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.281e-05/0.9805, allocations: 7.969 kB / 0.9521 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003893/0.9844, allocations: 2.81 MB / 0.9549 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.592e-05/0.9844, allocations: 0 / 0.9549 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003567/0.988, allocations: 0.6242 MB / 0.9555 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/0.9885, allocations: 84.72 kB / 0.9556 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/0.9887, allocations: 43.95 kB / 0.9556 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/0.9907, allocations: 1.579 MB / 0.9571 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.9907, allocations: 0 / 0.9571 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01324/1.004, allocations: 3.491 MB / 0.9605 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/1.005, allocations: 422.5 kB / 0.9609 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004643/1.006, allocations: 39.94 kB / 0.961 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003605/1.009, allocations: 459.6 kB / 0.9614 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003028/1.01, allocations: 121 kB / 0.9615 GB, free: 6.641 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002107/1.01, allocations: 63.94 kB / 0.9616 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001475/1.011, allocations: 0.715 MB / 0.9623 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.011, allocations: 0 / 0.9623 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001733/1.013, allocations: 0.5338 MB / 0.9628 GB, free: 5.32 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.01546/1.028, allocations: 4.574 MB / 0.9673 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01333/1.042, allocations: 3.43 MB / 0.9706 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.042, allocations: 0 / 0.9706 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006857/1.049, allocations: 1.849 MB / 0.9724 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/1.051, allocations: 403.4 kB / 0.9728 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05467/1.106, allocations: 16.53 MB / 0.989 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/1.107, allocations: 1.291 MB / 0.9902 GB, free: 9.246 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002595/1.11, allocations: 434.6 kB / 0.9906 GB, free: 8.816 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001642/1.111, allocations: 0.7022 MB / 0.9913 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of SimCode: time 1.132e-06/1.111, allocations: 0 / 0.9913 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09467/1.206, allocations: 39.78 MB / 1.03 GB, free: 0.582 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 15/16.2, allocations: 3.938 kB / 1.03 GB, free: 0.5781 MB / 0.795 GB " [Timeout remaining time 644] (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 sys.exit(0), Time elapsed: 20.101148196030408] Failed to read output from testmodel.py, exit status != 0: 16.43619761709124 16.461533889 15.657059031 Calling exit ...