Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.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.001259/0.001259, allocations: 117.8 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.001413/0.001413, allocations: 225 kB / 23.01 MB, free: 5.043 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.521/1.521, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.9863/0.9863, allocations: 150 MB / 463.2 MB, free: 10.45 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.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",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.002/0.002, allocations: 69.98 kB / 0.6413 GB, free: 10.34 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1954, allocations: 89.18 MB / 0.7283 GB, free: 1.227 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.007359/0.2027, allocations: 5.062 MB / 0.7333 GB, free: 12.13 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6285/0.8312, allocations: 154.3 MB / 0.884 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008892/0.8321, allocations: 19.88 kB / 0.884 GB, free: 7.648 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0006648/0.8327, allocations: 200 kB / 0.8842 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.8346, allocations: 0.5936 MB / 0.8848 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.8366, allocations: 0.8858 MB / 0.8857 GB, free: 6.031 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002003/0.8386, allocations: 1.48 MB / 0.8871 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007468/0.8394, allocations: 415.6 kB / 0.8875 GB, free: 4.117 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008853/0.8403, allocations: 0.5334 MB / 0.888 GB, free: 3.582 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007485/0.841, allocations: 0.5484 MB / 0.8885 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.8412, allocations: 124 kB / 0.8887 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001045/0.8423, allocations: 0.5196 MB / 0.8892 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.000292/0.8426, allocations: 319 kB / 0.8895 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005799/0.8431, allocations: 0.5869 MB / 0.8901 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002348/0.8455, allocations: 1.745 MB / 0.8918 GB, free: 15.74 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.8455, allocations: 0 / 0.8918 GB, free: 15.74 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8455, allocations: 0 / 0.8918 GB, free: 15.74 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.531e-05/0.8455, allocations: 4 kB / 0.8918 GB, free: 15.74 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002956/0.8485, allocations: 1.472 MB / 0.8932 GB, free: 14.22 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.8485, allocations: 12.03 kB / 0.8932 GB, free: 14.21 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002018/0.8487, allocations: 144.4 kB / 0.8933 GB, free: 14.06 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.8507, allocations: 264 kB / 0.8936 GB, free: 13.8 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001448/0.8522, allocations: 0.7347 MB / 0.8943 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.139e-05/0.8522, allocations: 66 kB / 0.8944 GB, free: 12.98 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.8523, allocations: 84 kB / 0.8945 GB, free: 12.9 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.854, allocations: 0.9729 MB / 0.8954 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.8541, allocations: 0 / 0.8954 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.25e-05/0.8541, allocations: 36.5 kB / 0.8954 GB, free: 11.85 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.8542, allocations: 24 kB / 0.8955 GB, free: 11.83 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001907/0.8561, allocations: 1.159 MB / 0.8966 GB, free: 10.67 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004946/0.861, allocations: 2.881 MB / 0.8994 GB, free: 7.66 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.8626, allocations: 0.7946 MB / 0.9002 GB, free: 6.859 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.8632, allocations: 294.7 kB / 0.9005 GB, free: 6.57 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.739e-05/0.8633, allocations: 32.67 kB / 0.9005 GB, free: 6.539 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009365/0.8642, allocations: 0.5355 MB / 0.901 GB, free: 5.988 MB / 0.67 GB Notification: Performance of pre-optimization done (n=88): time 2.464e-06/0.8642, allocations: 0 / 0.901 GB, free: 5.988 MB / 0.67 GB Notification: Performance of matching and sorting (n=88): time 0.003589/0.8678, allocations: 1.215 MB / 0.9022 GB, free: 4.762 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.8679, allocations: 204.8 kB / 0.9024 GB, free: 4.52 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009657/0.8689, allocations: 0.6763 MB / 0.9031 GB, free: 3.84 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.131e-05/0.869, allocations: 41.7 kB / 0.9031 GB, free: 3.793 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.8693, allocations: 425.1 kB / 0.9035 GB, free: 3.371 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.8696, allocations: 297.5 kB / 0.9038 GB, free: 3.078 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002564/0.8699, allocations: 170.6 kB / 0.904 GB, free: 2.906 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002044/0.8701, allocations: 386.8 kB / 0.9043 GB, free: 2.52 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005548/0.8706, allocations: 273.8 kB / 0.9046 GB, free: 2.25 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006689/0.8713, allocations: 382.5 kB / 0.905 GB, free: 1.852 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.8725, allocations: 0.632 MB / 0.9056 GB, free: 1.207 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.8725, allocations: 0 / 0.9056 GB, free: 1.207 MB / 0.67 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002086/0.8746, allocations: 0.8804 MB / 0.9064 GB, free: 328 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.8746, allocations: 12.03 kB / 0.9064 GB, free: 316 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.8746, allocations: 7.984 kB / 0.9064 GB, free: 308 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006388/0.8753, allocations: 84.77 kB / 0.9065 GB, free: 220 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/0.876, allocations: 164.4 kB / 0.9067 GB, free: 56 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.8782, allocations: 1.527 MB / 0.9082 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007505/0.8789, allocations: 96.3 kB / 0.9083 GB, free: 14.31 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.945e-05/0.879, allocations: 35.98 kB / 0.9083 GB, free: 14.28 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (97): * Single equations (assignments): 96 * 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.0004746/0.8795, allocations: 279.7 kB / 0.9086 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.8796, allocations: 99.39 kB / 0.9087 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002623/0.8823, allocations: 1.162 MB / 0.9098 GB, free: 12.72 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.8823, allocations: 12 kB / 0.9098 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.8823, allocations: 0 / 0.9098 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.8823, allocations: 3.984 kB / 0.9098 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.8834, allocations: 0.9259 MB / 0.9107 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8835, allocations: 0 / 0.9107 GB, free: 11.74 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006435/0.8841, allocations: 167.7 kB / 0.9109 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.8845, allocations: 76.77 kB / 0.911 GB, free: 11.5 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.965e-05/0.8846, allocations: 27.92 kB / 0.911 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001956/0.8866, allocations: 1.559 MB / 0.9125 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8866, allocations: 0 / 0.9125 GB, free: 9.789 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.8887, allocations: 0.9986 MB / 0.9135 GB, free: 8.773 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004761/0.8892, allocations: 219 kB / 0.9137 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.8893, allocations: 20 kB / 0.9137 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006593/0.89, allocations: 71.86 kB / 0.9138 GB, free: 8.469 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000164/0.8902, allocations: 80.84 kB / 0.9138 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.151e-05/0.8902, allocations: 39.98 kB / 0.9139 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006678/0.8909, allocations: 0.4912 MB / 0.9144 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8909, allocations: 0 / 0.9144 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0008728/0.8918, allocations: 335.2 kB / 0.9147 GB, free: 7.535 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.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 (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.004342/0.8961, allocations: 2.082 MB / 0.9167 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001843/0.898, allocations: 0.8275 MB / 0.9175 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.898, allocations: 0 / 0.9175 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000973/0.8989, allocations: 0.5119 MB / 0.918 GB, free: 4.285 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001221/0.9002, allocations: 302.4 kB / 0.9183 GB, free: 4.004 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/0.9115, allocations: 6.601 MB / 0.9248 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/0.9123, allocations: 1.044 MB / 0.9258 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008626/0.9131, allocations: 271.2 kB / 0.926 GB, free: 11.9 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006243/0.9138, allocations: 419.2 kB / 0.9264 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of SimCode: time 1.012e-06/0.9138, allocations: 4 kB / 0.9264 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06722/0.981, allocations: 23.72 MB / 0.9496 GB, free: 4 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.42, allocations: 6.797 kB / 0.9496 GB, free: 3.996 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle_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_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.651876629999606] Failed to read output from testmodel.py, exit status != 0: 15.651633859000867 15.673540556 14.823563446 Calling exit ...