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.001888/0.001888, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002174/0.002174, allocations: 210.7 kB / 22.99 MB, free: 4.605 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.9571/0.9571, allocations: 149.9 MB / 463 MB, free: 10.35 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.002286/0.002286, allocations: 75.28 kB / 0.6411 GB, free: 10.16 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.193, allocations: 89.17 MB / 0.7281 GB, free: 1.066 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007422/0.2005, allocations: 4.687 MB / 0.7327 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5802/0.7806, allocations: 132.8 MB / 0.8624 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008279/0.7814, allocations: 23.81 kB / 0.8624 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0006205/0.7821, allocations: 204.4 kB / 0.8626 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001983/0.784, allocations: 0.5921 MB / 0.8632 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002232/0.7863, allocations: 0.8825 MB / 0.864 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001779/0.7881, allocations: 1.476 MB / 0.8655 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008052/0.7889, allocations: 448.7 kB / 0.8659 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008177/0.7897, allocations: 0.5489 MB / 0.8665 GB, free: 7.73 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007095/0.7904, allocations: 0.4976 MB / 0.8669 GB, free: 7.23 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.7906, allocations: 128 kB / 0.8671 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.7918, allocations: 0.5035 MB / 0.8676 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003489/0.7921, allocations: 334.9 kB / 0.8679 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005128/0.7927, allocations: 0.4937 MB / 0.8684 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002274/0.7949, allocations: 1.819 MB / 0.8701 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.7949, allocations: 3.75 kB / 0.8701 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7949, allocations: 0 / 0.8701 GB, free: 3.957 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.721e-05/0.7949, allocations: 0 / 0.8701 GB, free: 3.957 MB / 0.6387 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.002722/0.7977, allocations: 1.496 MB / 0.8716 GB, free: 2.422 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.7977, allocations: 12.03 kB / 0.8716 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001798/0.7979, allocations: 148.2 kB / 0.8717 GB, free: 2.258 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/0.8092, allocations: 1.795 MB / 0.8735 GB, free: 472 kB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.8109, allocations: 0.7698 MB / 0.8743 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.12e-05/0.811, allocations: 74 kB / 0.8743 GB, free: 15.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.8112, allocations: 92 kB / 0.8744 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00632/0.8175, allocations: 2.133 MB / 0.8765 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/0.8175, allocations: 4 kB / 0.8765 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.8176, allocations: 40 kB / 0.8765 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.8176, allocations: 27.94 kB / 0.8766 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.8279, allocations: 2.751 MB / 0.8792 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01065/0.8385, allocations: 4.677 MB / 0.8838 GB, free: 5.086 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005946/0.8445, allocations: 1.592 MB / 0.8854 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004561/0.8491, allocations: 1.097 MB / 0.8864 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.135e-05/0.8491, allocations: 24.62 kB / 0.8865 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005118/0.8543, allocations: 1.453 MB / 0.8879 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 3.016e-06/0.8543, allocations: 0 / 0.8879 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of matching and sorting (n=82): time 0.01521/0.8695, allocations: 3.472 MB / 0.8913 GB, free: 13.39 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/0.8696, allocations: 196.5 kB / 0.8915 GB, free: 13.15 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009836/0.8706, allocations: 0.6684 MB / 0.8921 GB, free: 12.48 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.8707, allocations: 41.7 kB / 0.8922 GB, free: 12.43 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003998/0.8711, allocations: 445 kB / 0.8926 GB, free: 11.99 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.8714, allocations: 277.6 kB / 0.8928 GB, free: 11.71 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/0.8717, allocations: 158.6 kB / 0.893 GB, free: 11.55 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.872, allocations: 390.8 kB / 0.8934 GB, free: 11.16 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004606/0.8766, allocations: 1.06 MB / 0.8944 GB, free: 10.1 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004807/0.8814, allocations: 1.295 MB / 0.8957 GB, free: 8.746 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008363/0.8897, allocations: 1.973 MB / 0.8976 GB, free: 6.762 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.8897, allocations: 0 / 0.8976 GB, free: 6.762 MB / 0.67 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.009839/0.8996, allocations: 2.336 MB / 0.8999 GB, free: 4.418 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.8996, allocations: 7.75 kB / 0.8999 GB, free: 4.414 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.8996, allocations: 6.25 kB / 0.8999 GB, free: 4.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000595/0.9002, allocations: 84.86 kB / 0.9 GB, free: 4.324 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/0.9028, allocations: 479.5 kB / 0.9004 GB, free: 3.855 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002281/0.905, allocations: 1.515 MB / 0.9019 GB, free: 2.215 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/0.9078, allocations: 415.2 kB / 0.9023 GB, free: 1.809 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-05/0.9079, allocations: 35.97 kB / 0.9023 GB, free: 1.773 MB / 0.67 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.0005398/0.9084, allocations: 269.6 kB / 0.9026 GB, free: 1.5 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002228/0.9086, allocations: 87.44 kB / 0.9027 GB, free: 1.414 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01065/0.9193, allocations: 2.663 MB / 0.9053 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.9193, allocations: 8 kB / 0.9053 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.9193, allocations: 0.5 kB / 0.9053 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.226e-05/0.9193, allocations: 3.984 kB / 0.9053 GB, free: 14.72 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.9319, allocations: 4.227 MB / 0.9094 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.9319, allocations: 4.062 kB / 0.9094 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002563/0.9344, allocations: 479.5 kB / 0.9099 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000434/0.9349, allocations: 72.78 kB / 0.9099 GB, free: 9.594 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/0.935, allocations: 31.97 kB / 0.91 GB, free: 9.562 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.937, allocations: 1.54 MB / 0.9115 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.937, allocations: 0 / 0.9115 GB, free: 7.902 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01007/0.9471, allocations: 2.528 MB / 0.914 GB, free: 5.355 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/0.9478, allocations: 239 kB / 0.9142 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/0.948, allocations: 20 kB / 0.9142 GB, free: 5.102 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002554/0.9505, allocations: 385.3 kB / 0.9146 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.9507, allocations: 76.84 kB / 0.9146 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.795e-05/0.9508, allocations: 39.97 kB / 0.9147 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007072/0.9515, allocations: 491 kB / 0.9151 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9515, allocations: 3.938 kB / 0.9152 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001022/0.9525, allocations: 371.1 kB / 0.9155 GB, free: 3.766 MB / 0.6856 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.01236/0.9649, allocations: 3.617 MB / 0.919 GB, free: 384 kB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.01005/0.9749, allocations: 2.42 MB / 0.9214 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.541e-06/0.9749, allocations: 0 / 0.9214 GB, free: 13.94 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.005165/0.9801, allocations: 1.32 MB / 0.9227 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.9816, allocations: 312.6 kB / 0.923 GB, free: 12.33 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03699/1.019, allocations: 11.29 MB / 0.934 GB, free: 0.8828 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005327/1.019, allocations: 464.9 kB / 0.9345 GB, free: 412 kB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00127/1.02, allocations: 319 kB / 0.9348 GB, free: 88 kB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007839/1.021, allocations: 427.2 kB / 0.9352 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of SimCode: time 9.92e-07/1.021, allocations: 0 / 0.9352 GB, free: 15.67 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06904/1.09, allocations: 26.68 MB / 0.9612 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.2/15.29, allocations: 8 kB / 0.9612 GB, free: 5.262 MB / 0.7325 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.435520644299686] Failed to read output from testmodel.py, exit status != 0: 15.52800464304164 15.544424543 14.746132274 Calling exit ...