Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001293/0.001293, allocations: 115.2 kB / 19.7 MB, free: 2.207 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.001516/0.001516, allocations: 217.7 kB / 23 MB, free: 5.074 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.9443/0.9443, allocations: 150 MB / 463.2 MB, free: 10.48 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.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness",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.001985/0.001985, allocations: 65.28 kB / 0.6413 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1768, allocations: 89.18 MB / 0.7283 GB, free: 1.277 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007418/0.1842, allocations: 5.253 MB / 0.7335 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5811/0.7653, allocations: 154.2 MB / 0.8841 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001546/0.7669, allocations: 23.81 kB / 0.8841 GB, free: 7.703 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009677/0.7678, allocations: 208.7 kB / 0.8843 GB, free: 7.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002618/0.7704, allocations: 0.5899 MB / 0.8849 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00283/0.7733, allocations: 0.9029 MB / 0.8858 GB, free: 6.062 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003052/0.7763, allocations: 1.487 MB / 0.8872 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.7774, allocations: 472.6 kB / 0.8877 GB, free: 4.086 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00104/0.7785, allocations: 0.545 MB / 0.8882 GB, free: 3.539 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007998/0.7793, allocations: 0.5562 MB / 0.8888 GB, free: 2.98 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001739/0.7794, allocations: 128 kB / 0.8889 GB, free: 2.855 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.7806, allocations: 0.5425 MB / 0.8894 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003068/0.7809, allocations: 327 kB / 0.8897 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005993/0.7815, allocations: 0.6141 MB / 0.8903 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.784, allocations: 1.807 MB / 0.8921 GB, free: 15.57 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.784, allocations: 4 kB / 0.8921 GB, free: 15.56 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.814e-06/0.784, allocations: 0 / 0.8921 GB, free: 15.56 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.887e-05/0.7841, allocations: 3.938 kB / 0.8921 GB, free: 15.56 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002862/0.7869, allocations: 1.497 MB / 0.8936 GB, free: 14.02 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.787, allocations: 8.031 kB / 0.8936 GB, free: 14.02 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001846/0.7871, allocations: 152.2 kB / 0.8937 GB, free: 13.86 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.8005, allocations: 1.803 MB / 0.8955 GB, free: 12.05 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002521/0.803, allocations: 0.762 MB / 0.8962 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.8031, allocations: 73.98 kB / 0.8963 GB, free: 11.2 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.8034, allocations: 95.94 kB / 0.8964 GB, free: 11.1 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008936/0.8123, allocations: 1.882 MB / 0.8982 GB, free: 9.176 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.8123, allocations: 4 kB / 0.8982 GB, free: 9.172 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/0.8125, allocations: 36 kB / 0.8982 GB, free: 9.137 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.705e-05/0.8125, allocations: 24 kB / 0.8983 GB, free: 9.113 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/0.8289, allocations: 2.794 MB / 0.901 GB, free: 6.316 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01577/0.8447, allocations: 5.345 MB / 0.9062 GB, free: 212 kB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008418/0.8531, allocations: 1.592 MB / 0.9078 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006638/0.8597, allocations: 1.093 MB / 0.9088 GB, free: 13.51 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.8599, allocations: 32.67 kB / 0.9089 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007257/0.8671, allocations: 1.352 MB / 0.9102 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=82): time 4.538e-06/0.8671, allocations: 0 / 0.9102 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=82): time 0.01769/0.8848, allocations: 3.469 MB / 0.9136 GB, free: 8.629 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/0.885, allocations: 200.5 kB / 0.9138 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.8861, allocations: 0.6685 MB / 0.9144 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001677/0.8862, allocations: 41.7 kB / 0.9145 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/0.8868, allocations: 437 kB / 0.9149 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004816/0.8873, allocations: 285.6 kB / 0.9152 GB, free: 6.953 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003782/0.8877, allocations: 158.6 kB / 0.9153 GB, free: 6.789 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002954/0.888, allocations: 386.8 kB / 0.9157 GB, free: 6.402 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005219/0.8932, allocations: 1.06 MB / 0.9167 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005542/0.8987, allocations: 1.178 MB / 0.9179 GB, free: 4.137 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008974/0.9077, allocations: 1.966 MB / 0.9198 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.9077, allocations: 0 / 0.9198 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.01055/0.9182, allocations: 2.336 MB / 0.9221 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.878e-05/0.9183, allocations: 4 kB / 0.9221 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.9183, allocations: 4 kB / 0.9221 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006732/0.919, allocations: 84.86 kB / 0.9221 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002851/0.9218, allocations: 472 kB / 0.9226 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002631/0.9244, allocations: 1.525 MB / 0.9241 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003058/0.9275, allocations: 419.1 kB / 0.9245 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.736e-05/0.9276, allocations: 39.91 kB / 0.9245 GB, free: 13.16 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0007357/0.9283, allocations: 269.7 kB / 0.9248 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002897/0.9286, allocations: 95.44 kB / 0.9249 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01123/0.9399, allocations: 2.644 MB / 0.9275 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.438e-05/0.9399, allocations: 12 kB / 0.9275 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.9399, allocations: 0 / 0.9275 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.579e-05/0.9399, allocations: 7.969 kB / 0.9275 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.9535, allocations: 4.422 MB / 0.9318 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.9536, allocations: 1.125 kB / 0.9318 GB, free: 5.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002825/0.9564, allocations: 479.5 kB / 0.9322 GB, free: 4.871 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005185/0.9569, allocations: 68.8 kB / 0.9323 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001992/0.9571, allocations: 31.95 kB / 0.9323 GB, free: 4.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002779/0.9599, allocations: 1.552 MB / 0.9339 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9599, allocations: 0 / 0.9339 GB, free: 3.098 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01093/0.9708, allocations: 2.528 MB / 0.9363 GB, free: 0.5508 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008407/0.9717, allocations: 238.9 kB / 0.9366 GB, free: 324 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/0.9718, allocations: 20 kB / 0.9366 GB, free: 304 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002646/0.9745, allocations: 380.8 kB / 0.9369 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.9747, allocations: 80.94 kB / 0.937 GB, free: 15.84 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/0.9748, allocations: 39.95 kB / 0.9371 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007394/0.9755, allocations: 494.9 kB / 0.9375 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9755, allocations: 0 / 0.9375 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001124/0.9766, allocations: 371.1 kB / 0.9379 GB, free: 14.96 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.01252/0.9891, allocations: 3.578 MB / 0.9414 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01069/0.9998, allocations: 2.42 MB / 0.9437 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/0.9998, allocations: 0 / 0.9437 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.005312/1.005, allocations: 1.316 MB / 0.945 GB, free: 7.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001434/1.007, allocations: 296.6 kB / 0.9453 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0365/1.043, allocations: 11.31 MB / 0.9563 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007674/1.044, allocations: 1.046 MB / 0.9574 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001254/1.045, allocations: 314.9 kB / 0.9577 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007944/1.046, allocations: 431.2 kB / 0.9581 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of SimCode: time 7.61e-07/1.046, allocations: 0 / 0.9581 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07329/1.119, allocations: 25.5 MB / 0.983 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.53/15.65, allocations: 8 kB / 0.983 GB, free: 0.9766 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness_res.csv --start-time 100000 --stop-time 3e+06 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1160 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_BaseClasses_Examples_SkyClearness.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.605404937999992] Failed to read output from testmodel.py, exit status != 0: 15.88300371799778 15.900299243 15.112527041 Calling exit ...