Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.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.001279/0.001279, allocations: 119 kB / 19.69 MB, free: 2.199 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.001445/0.001445, allocations: 224.9 kB / 23.01 MB, free: 5.047 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.9753/0.9753, allocations: 150 MB / 463.2 MB, free: 10.47 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.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",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.001994/0.001994, allocations: 66.44 kB / 0.6413 GB, free: 10.35 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1881, allocations: 89.18 MB / 0.7283 GB, free: 1.238 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007339/0.1955, allocations: 5.027 MB / 0.7333 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5429/0.7384, allocations: 154.2 MB / 0.8838 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001384/0.7397, allocations: 23.81 kB / 0.8838 GB, free: 7.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0009888/0.7407, allocations: 204.1 kB / 0.884 GB, free: 7.781 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.7438, allocations: 0.5753 MB / 0.8846 GB, free: 7.219 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003343/0.7472, allocations: 0.8945 MB / 0.8854 GB, free: 6.371 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.003075/0.7503, allocations: 1.46 MB / 0.8869 GB, free: 4.906 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001261/0.7515, allocations: 415.7 kB / 0.8873 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/0.7529, allocations: 0.5295 MB / 0.8878 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001168/0.7541, allocations: 0.5367 MB / 0.8883 GB, free: 3.406 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002671/0.7544, allocations: 120 kB / 0.8884 GB, free: 3.289 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001687/0.756, allocations: 0.5157 MB / 0.8889 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004563/0.7565, allocations: 311 kB / 0.8892 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008127/0.7573, allocations: 0.583 MB / 0.8898 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003837/0.7611, allocations: 1.726 MB / 0.8915 GB, free: 160 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.7612, allocations: 0 / 0.8915 GB, free: 160 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7612, allocations: 0 / 0.8915 GB, free: 160 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.723e-05/0.7612, allocations: 0 / 0.8915 GB, free: 160 kB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.004299/0.7655, allocations: 1.457 MB / 0.8929 GB, free: 14.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.931e-05/0.7656, allocations: 16.03 kB / 0.8929 GB, free: 14.64 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002375/0.7658, allocations: 139.6 kB / 0.8931 GB, free: 14.5 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002609/0.7684, allocations: 255.9 kB / 0.8933 GB, free: 14.25 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001532/0.7699, allocations: 0.7236 MB / 0.894 GB, free: 13.5 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.464e-05/0.77, allocations: 69.98 kB / 0.8941 GB, free: 13.43 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001214/0.7701, allocations: 84 kB / 0.8942 GB, free: 13.35 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001905/0.772, allocations: 0.9457 MB / 0.8951 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.594e-05/0.7721, allocations: 4 kB / 0.8951 GB, free: 12.36 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.102e-05/0.7722, allocations: 36 kB / 0.8951 GB, free: 12.32 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.147e-05/0.7722, allocations: 20 kB / 0.8951 GB, free: 12.3 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001943/0.7741, allocations: 1.128 MB / 0.8962 GB, free: 11.17 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004811/0.7789, allocations: 2.753 MB / 0.8989 GB, free: 8.293 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001644/0.7806, allocations: 0.7897 MB / 0.8997 GB, free: 7.496 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.7811, allocations: 288.2 kB / 0.9 GB, free: 7.215 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.102e-05/0.7812, allocations: 36.67 kB / 0.9 GB, free: 7.18 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009596/0.7822, allocations: 0.5161 MB / 0.9005 GB, free: 6.648 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.415e-06/0.7822, allocations: 0 / 0.9005 GB, free: 6.648 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003523/0.7857, allocations: 1.184 MB / 0.9017 GB, free: 5.453 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.7859, allocations: 196.9 kB / 0.9019 GB, free: 5.219 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.7869, allocations: 0.6646 MB / 0.9025 GB, free: 4.551 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/0.787, allocations: 45.7 kB / 0.9025 GB, free: 4.5 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004196/0.7875, allocations: 413 kB / 0.9029 GB, free: 4.09 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003069/0.7878, allocations: 293.5 kB / 0.9032 GB, free: 3.801 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002587/0.788, allocations: 158.6 kB / 0.9034 GB, free: 3.641 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002171/0.7883, allocations: 386.8 kB / 0.9037 GB, free: 3.254 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/0.7888, allocations: 257.9 kB / 0.904 GB, free: 3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006879/0.7895, allocations: 379.3 kB / 0.9043 GB, free: 2.602 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.7907, allocations: 0.6172 MB / 0.9049 GB, free: 1.969 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7907, allocations: 0 / 0.9049 GB, free: 1.969 MB / 0.67 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002145/0.7928, allocations: 0.8374 MB / 0.9058 GB, free: 1.125 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.7929, allocations: 4 kB / 0.9058 GB, free: 1.121 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.7929, allocations: 7.938 kB / 0.9058 GB, free: 1.113 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006571/0.7935, allocations: 84.89 kB / 0.9059 GB, free: 1.027 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007119/0.7943, allocations: 155.8 kB / 0.906 GB, free: 0.875 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00236/0.7966, allocations: 1.536 MB / 0.9075 GB, free: 15.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008195/0.7974, allocations: 95.47 kB / 0.9076 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.956e-05/0.7975, allocations: 31.97 kB / 0.9076 GB, free: 15.09 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0005098/0.798, allocations: 276.4 kB / 0.9079 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002116/0.7982, allocations: 99.38 kB / 0.908 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002629/0.8009, allocations: 1.133 MB / 0.9091 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.507e-05/0.8009, allocations: 15.94 kB / 0.9091 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.8009, allocations: 4.062 kB / 0.9091 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/0.8009, allocations: 7.922 kB / 0.9091 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/0.8046, allocations: 2.008 MB / 0.9111 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.8046, allocations: 4 kB / 0.9111 GB, free: 11.48 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.8052, allocations: 151.8 kB / 0.9112 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004474/0.8057, allocations: 80.72 kB / 0.9113 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.241e-05/0.8058, allocations: 27.97 kB / 0.9113 GB, free: 11.22 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002078/0.8078, allocations: 1.563 MB / 0.9129 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.8078, allocations: 0 / 0.9129 GB, free: 9.543 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002341/0.8102, allocations: 1.057 MB / 0.9139 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005514/0.8107, allocations: 207.1 kB / 0.9141 GB, free: 8.262 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001526/0.8109, allocations: 20 kB / 0.9141 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007007/0.8116, allocations: 67.92 kB / 0.9142 GB, free: 8.176 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.8118, allocations: 84.84 kB / 0.9143 GB, free: 8.094 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.789e-05/0.8119, allocations: 39.97 kB / 0.9143 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006833/0.8125, allocations: 479 kB / 0.9147 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/0.8125, allocations: 0 / 0.9147 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009703/0.8135, allocations: 339.1 kB / 0.9151 GB, free: 7.258 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.004609/0.8181, allocations: 2.121 MB / 0.9171 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00197/0.8201, allocations: 0.808 MB / 0.9179 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8201, allocations: 0 / 0.9179 GB, free: 4.508 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.8211, allocations: 0.5157 MB / 0.9184 GB, free: 3.98 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001472/0.8226, allocations: 313.6 kB / 0.9187 GB, free: 3.695 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.8352, allocations: 6.49 MB / 0.9251 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007335/0.8359, allocations: 1.044 MB / 0.9261 GB, free: 11.97 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009322/0.8368, allocations: 275 kB / 0.9264 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006177/0.8375, allocations: 407.3 kB / 0.9267 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of SimCode: time 1.272e-06/0.8375, allocations: 0 / 0.9267 GB, free: 11.3 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06727/0.9047, allocations: 23.24 MB / 0.9494 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.29, allocations: 5.484 kB / 0.9494 GB, free: 4.273 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.368686396999692] Failed to read output from testmodel.py, exit status != 0: 15.518633034000231 15.534877801 14.770347163 Calling exit ...