Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.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.001618/0.001618, allocations: 113.8 kB / 17.12 MB, free: 6.008 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.00169/0.00169, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.6/1.6, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.027/1.027, allocations: 150 MB / 459.5 MB, free: 5.621 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.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez",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.00206/0.00206, allocations: 68.38 kB / 0.6361 GB, free: 30.72 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.176, allocations: 89.14 MB / 0.7231 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.01096/0.1869, allocations: 8.49 MB / 0.7314 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.7252/0.9121, allocations: 155.2 MB / 0.883 GB, free: 1.551 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001196/0.9133, allocations: 28.12 kB / 0.883 GB, free: 1.551 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007712/0.9141, allocations: 332.1 kB / 0.8833 GB, free: 1.551 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.9163, allocations: 0.8789 MB / 0.8842 GB, free: 1.535 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002492/0.9188, allocations: 1.389 MB / 0.8856 GB, free: 1.523 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003268/0.9221, allocations: 3.011 MB / 0.8885 GB, free: 1.516 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/0.9237, allocations: 1.013 MB / 0.8895 GB, free: 17.32 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002236/0.9259, allocations: 1.257 MB / 0.8907 GB, free: 17.32 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/0.9281, allocations: 1.356 MB / 0.892 GB, free: 17.32 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007559/0.9289, allocations: 327 kB / 0.8924 GB, free: 17.32 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.9307, allocations: 0.7358 MB / 0.8931 GB, free: 17.3 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006258/0.9314, allocations: 0.7016 MB / 0.8938 GB, free: 17.3 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001425/0.9328, allocations: 1.345 MB / 0.8951 GB, free: 17.1 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00361/0.9364, allocations: 3.731 MB / 0.8987 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.9364, allocations: 0 / 0.8987 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.723e-06/0.9364, allocations: 0 / 0.8987 GB, free: 16.59 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.041e-05/0.9365, allocations: 0 / 0.8987 GB, free: 16.59 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.006905/0.9434, allocations: 2.925 MB / 0.9016 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.9434, allocations: 9.812 kB / 0.9016 GB, free: 15.26 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004086/0.9439, allocations: 315.2 kB / 0.9019 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04442/0.9883, allocations: 6.904 MB / 0.9086 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/0.9921, allocations: 1.441 MB / 0.91 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000193/0.9923, allocations: 173.6 kB / 0.9102 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001/0.9933, allocations: 221.8 kB / 0.9104 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02387/1.017, allocations: 5.935 MB / 0.9162 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.115e-05/1.017, allocations: 4 kB / 0.9162 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004913/1.018, allocations: 94.34 kB / 0.9163 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/1.018, allocations: 60.14 kB / 0.9164 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03866/1.056, allocations: 9.192 MB / 0.9253 GB, free: 11.08 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04038/1.097, allocations: 15.67 MB / 0.9406 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02311/1.12, allocations: 5.218 MB / 0.9457 GB, free: 9.156 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01794/1.138, allocations: 3.854 MB / 0.9495 GB, free: 5.297 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/1.138, allocations: 76.53 kB / 0.9496 GB, free: 5.238 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01983/1.158, allocations: 4.475 MB / 0.9539 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=213): time 4.679e-06/1.158, allocations: 0 / 0.9539 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of matching and sorting (n=213): time 0.05581/1.214, allocations: 11.58 MB / 0.9652 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/1.214, allocations: 213.7 kB / 0.9654 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001768/1.216, allocations: 0.9736 MB / 0.9664 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0008078/1.217, allocations: 65.7 kB / 0.9665 GB, free: 3.832 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008382/1.217, allocations: 0.7679 MB / 0.9672 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001244/1.219, allocations: 0.7108 MB / 0.9679 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/1.22, allocations: 395.2 kB / 0.9683 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001548/1.22, allocations: 305.1 kB / 0.9686 GB, free: 1.66 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01749/1.237, allocations: 3.736 MB / 0.9722 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01805/1.255, allocations: 3.933 MB / 0.9761 GB, free: 9.957 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03287/1.288, allocations: 6.746 MB / 0.9827 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/1.288, allocations: 0 / 0.9827 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of matching and sorting (n=233) (initialization): time 0.03841/1.327, allocations: 7.688 MB / 0.9902 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.364e-05/1.327, allocations: 9.781 kB / 0.9902 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/1.327, allocations: 4 kB / 0.9902 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000656/1.327, allocations: 91.11 kB / 0.9903 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01061/1.338, allocations: 1.536 MB / 0.9918 GB, free: 9.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003015/1.341, allocations: 1.634 MB / 0.9934 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009845/1.351, allocations: 1.291 MB / 0.9946 GB, free: 6.824 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009258/1.352, allocations: 99.88 kB / 0.9947 GB, free: 6.727 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (231): * Single equations (assignments): 230 * 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.001609/1.353, allocations: 438.5 kB / 0.9951 GB, free: 6.312 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007354/1.354, allocations: 166.9 kB / 0.9953 GB, free: 6.148 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03915/1.393, allocations: 8.483 MB / 1.004 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.092e-05/1.393, allocations: 22.34 kB / 1.004 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.526e-06/1.393, allocations: 4 kB / 1.004 GB, free: 13.62 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.028e-05/1.393, allocations: 12.06 kB / 1.004 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008223/1.402, allocations: 5.261 MB / 1.009 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-05/1.402, allocations: 0 / 1.009 GB, free: 7.43 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01029/1.412, allocations: 1.515 MB / 1.01 GB, free: 5.934 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005516/1.413, allocations: 76.72 kB / 1.01 GB, free: 5.855 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006976/1.413, allocations: 87.88 kB / 1.01 GB, free: 5.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/1.416, allocations: 1.658 MB / 1.012 GB, free: 3.977 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.416, allocations: 0 / 1.012 GB, free: 3.977 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03681/1.452, allocations: 7.818 MB / 1.02 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002386/1.455, allocations: 0.6864 MB / 1.02 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001095/1.456, allocations: 57.77 kB / 1.02 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009457/1.465, allocations: 1.194 MB / 1.022 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005874/1.466, allocations: 145.8 kB / 1.022 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005257/1.466, allocations: 107.9 kB / 1.022 GB, free: 9.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001293/1.468, allocations: 0.7159 MB / 1.022 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8.1e-08/1.468, allocations: 0 / 1.022 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002925/1.471, allocations: 0.7562 MB / 1.023 GB, free: 8.449 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0396/1.51, allocations: 8.928 MB / 1.032 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.03732/1.548, allocations: 8.008 MB / 1.04 GB, free: 7.738 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.548, allocations: 0 / 1.04 GB, free: 7.738 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.01884/1.566, allocations: 4.132 MB / 1.044 GB, free: 3.641 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002543/1.569, allocations: 399.5 kB / 1.044 GB, free: 3.27 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1244/1.693, allocations: 30.76 MB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001525/1.695, allocations: 1.434 MB / 1.076 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.005178/1.7, allocations: 0.7125 MB / 1.076 GB, free: 2.145 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003135/1.703, allocations: 0.913 MB / 1.077 GB, free: 1.23 MB / 0.8262 GB Notification: Performance of SimCode: time 1.062e-06/1.703, allocations: 3.938 kB / 1.077 GB, free: 1.227 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1123/1.815, allocations: 50.88 MB / 1.127 GB, free: 14.74 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.62/17.44, allocations: 13.09 kB / 1.127 GB, free: 14.73 MB / 0.8887 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffusePerez.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.999121831031516] Failed to read output from testmodel.py, exit status != 0: 17.658370411023498 17.681756111 16.740992444 Calling exit ...