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.001433/0.001433, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.001559/0.001559, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.501/1.501, allocations: 230.6 MB / 254.2 MB, free: 15.07 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 1.011/1.011, allocations: 150 MB / 460.2 MB, free: 5.289 MB / 350.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.001973/0.001973, allocations: 68.56 kB / 0.6368 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1869, allocations: 89.13 MB / 0.7238 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.SolarCollectors.Controls.Examples.SolarPumpController): time 0.009882/0.1968, allocations: 7.417 MB / 0.7311 GB, free: 12.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6074/0.8041, allocations: 155.2 MB / 0.8826 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.8058, allocations: 29.94 kB / 0.8827 GB, free: 1.57 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001621/0.8074, allocations: 441.8 kB / 0.8831 GB, free: 1.562 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002418/0.8098, allocations: 0.7717 MB / 0.8838 GB, free: 1.551 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002505/0.8123, allocations: 1.156 MB / 0.885 GB, free: 1.535 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003334/0.8157, allocations: 2.479 MB / 0.8874 GB, free: 1.527 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.8171, allocations: 0.7717 MB / 0.8881 GB, free: 1.387 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001743/0.8188, allocations: 0.9436 MB / 0.8891 GB, free: 1.387 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001636/0.8204, allocations: 1.006 MB / 0.89 GB, free: 1.383 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0006466/0.8211, allocations: 267.8 kB / 0.8903 GB, free: 1.383 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.8231, allocations: 0.6777 MB / 0.891 GB, free: 1.367 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006021/0.8237, allocations: 0.5703 MB / 0.8915 GB, free: 1.367 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001626/0.8254, allocations: 1.098 MB / 0.8926 GB, free: 1.355 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004831/0.8302, allocations: 3.212 MB / 0.8957 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.8302, allocations: 1.125 kB / 0.8957 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.904e-06/0.8302, allocations: 0 / 0.8957 GB, free: 0.9336 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.888e-05/0.8303, allocations: 1.438 kB / 0.8957 GB, free: 0.9336 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.005909/0.8362, allocations: 2.382 MB / 0.8981 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.8362, allocations: 13.97 kB / 0.8981 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.359e-05/0.8363, allocations: 43.8 kB / 0.8981 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002939/0.8366, allocations: 233.6 kB / 0.8983 GB, free: 15.72 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01695/0.8535, allocations: 2.539 MB / 0.9008 GB, free: 15.5 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002882/0.8564, allocations: 1.21 MB / 0.902 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.985e-05/0.8565, allocations: 125.8 kB / 0.9021 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004129/0.8569, allocations: 155.4 kB / 0.9023 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009597/0.8665, allocations: 2.973 MB / 0.9052 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.8666, allocations: 0.75 kB / 0.9052 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.8668, allocations: 69.27 kB / 0.9052 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.8668, allocations: 44.56 kB / 0.9053 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.8818, allocations: 4.156 MB / 0.9093 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0185/0.9003, allocations: 8.585 MB / 0.9177 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008719/0.9091, allocations: 2.466 MB / 0.9201 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006015/0.9151, allocations: 1.58 MB / 0.9217 GB, free: 9.969 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.9152, allocations: 49.52 kB / 0.9217 GB, free: 9.961 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007062/0.9223, allocations: 1.972 MB / 0.9236 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=139): time 5.17e-06/0.9223, allocations: 0 / 0.9236 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of matching and sorting (n=139): time 0.02024/0.9425, allocations: 5.03 MB / 0.9286 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.9427, allocations: 223.9 kB / 0.9288 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.9444, allocations: 0.9772 MB / 0.9297 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0004673/0.9448, allocations: 57.53 kB / 0.9298 GB, free: 6.195 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006986/0.9455, allocations: 0.6701 MB / 0.9304 GB, free: 5.602 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000641/0.9462, allocations: 470.9 kB / 0.9309 GB, free: 5.203 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006343/0.9468, allocations: 254.2 kB / 0.9311 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001933/0.947, allocations: 358.7 kB / 0.9315 GB, free: 4.703 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006114/0.9531, allocations: 1.52 MB / 0.9329 GB, free: 4.07 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006499/0.9596, allocations: 1.672 MB / 0.9346 GB, free: 3.297 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/0.9716, allocations: 2.843 MB / 0.9374 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.9716, allocations: 5.5 kB / 0.9374 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.01403/0.9856, allocations: 3.362 MB / 0.9406 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.9857, allocations: 4 kB / 0.9406 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.9857, allocations: 6.281 kB / 0.9407 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/0.9864, allocations: 92.81 kB / 0.9407 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0041/0.9905, allocations: 0.6375 MB / 0.9414 GB, free: 15.25 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/0.993, allocations: 1.642 MB / 0.943 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004059/0.997, allocations: 0.5057 MB / 0.9435 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/0.9973, allocations: 63.92 kB / 0.9435 GB, free: 12.91 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.001156/0.9984, allocations: 406.7 kB / 0.9439 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004515/0.9989, allocations: 142.9 kB / 0.944 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01495/1.014, allocations: 3.832 MB / 0.9478 GB, free: 8.535 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.014, allocations: 19.94 kB / 0.9478 GB, free: 8.516 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.014, allocations: 8 kB / 0.9478 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.822e-05/1.014, allocations: 7.969 kB / 0.9478 GB, free: 8.5 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/1.018, allocations: 2.843 MB / 0.9506 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/1.018, allocations: 0 / 0.9506 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003789/1.022, allocations: 0.6181 MB / 0.9512 GB, free: 4.734 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004947/1.022, allocations: 80.77 kB / 0.9513 GB, free: 4.652 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002255/1.023, allocations: 54.28 kB / 0.9513 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002184/1.025, allocations: 1.667 MB / 0.953 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/1.025, allocations: 0 / 0.953 GB, free: 2.797 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01416/1.039, allocations: 3.494 MB / 0.9564 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001249/1.04, allocations: 0.4957 MB / 0.9569 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000347/1.041, allocations: 39.94 kB / 0.9569 GB, free: 14.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003524/1.044, allocations: 455.6 kB / 0.9573 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003453/1.045, allocations: 127.4 kB / 0.9575 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002125/1.045, allocations: 63.94 kB / 0.9575 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001231/1.046, allocations: 0.7072 MB / 0.9582 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/1.046, allocations: 0 / 0.9582 GB, free: 13.38 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001858/1.048, allocations: 0.5377 MB / 0.9587 GB, free: 12.84 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.01661/1.064, allocations: 4.574 MB / 0.9632 GB, free: 8.469 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01468/1.079, allocations: 3.434 MB / 0.9665 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.377e-06/1.079, allocations: 4.812 kB / 0.9666 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00744/1.087, allocations: 1.829 MB / 0.9683 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/1.089, allocations: 409.7 kB / 0.9687 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05288/1.142, allocations: 16.52 MB / 0.9849 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001061/1.143, allocations: 1.284 MB / 0.9861 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002299/1.145, allocations: 442.6 kB / 0.9865 GB, free: 452 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001567/1.147, allocations: 0.7066 MB / 0.9872 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of SimCode: time 1.122e-06/1.147, allocations: 0 / 0.9872 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0831/1.23, allocations: 38.74 MB / 1.025 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.6/15.83, allocations: 2.375 kB / 1.025 GB, free: 9.434 MB / 0.7794 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 os._exit(0), Time elapsed: 20.009540979983285] Failed to read output from testmodel.py, exit status != 0: 16.091786958975717 16.105928966 15.272802122 Calling exit ...