Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.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.001451/0.001451, allocations: 110.5 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.001689/0.001689, 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.552/1.552, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.9951/0.9951, allocations: 150 MB / 459.5 MB, free: 5.715 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.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DiffuseIsotropic",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.002187/0.002187, allocations: 66.36 kB / 0.6361 GB, free: 30.53 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.2003, allocations: 89.15 MB / 0.7231 GB, free: 4.176 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic): time 0.00867/0.2089, allocations: 6.014 MB / 0.729 GB, free: 14.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6757/0.8846, allocations: 154.2 MB / 0.8796 GB, free: 1.988 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.8857, allocations: 24 kB / 0.8796 GB, free: 1.988 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.000748/0.8865, allocations: 245.5 kB / 0.8799 GB, free: 1.988 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.889, allocations: 0.6501 MB / 0.8805 GB, free: 1.98 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.8913, allocations: 0.899 MB / 0.8814 GB, free: 1.969 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002314/0.8937, allocations: 1.664 MB / 0.883 GB, free: 1.965 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.8947, allocations: 0.6072 MB / 0.8836 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.8958, allocations: 0.6364 MB / 0.8842 GB, free: 1.863 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008812/0.8967, allocations: 0.6755 MB / 0.8849 GB, free: 1.859 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000306/0.897, allocations: 156.2 kB / 0.885 GB, free: 1.859 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001477/0.8985, allocations: 0.5411 MB / 0.8856 GB, free: 1.848 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003622/0.8988, allocations: 383.4 kB / 0.8859 GB, free: 1.848 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008789/0.8997, allocations: 0.746 MB / 0.8867 GB, free: 1.844 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003635/0.9033, allocations: 2.09 MB / 0.8887 GB, free: 1.688 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.9033, allocations: 0.9375 kB / 0.8887 GB, free: 1.688 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.385e-06/0.9033, allocations: 0 / 0.8887 GB, free: 1.688 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.74e-05/0.9034, allocations: 0 / 0.8887 GB, free: 1.688 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: 305 * Number of variables: 305 Notification: Performance of Generate backend data structure: time 0.004351/0.9077, allocations: 1.803 MB / 0.8905 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/0.9078, allocations: 9.344 kB / 0.8905 GB, free: 16.73 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002519/0.9081, allocations: 179.9 kB / 0.8906 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.91, allocations: 270.9 kB / 0.8909 GB, free: 16.6 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.9121, allocations: 0.8895 MB / 0.8918 GB, free: 16.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.9123, allocations: 87.09 kB / 0.8918 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002224/0.9125, allocations: 115.7 kB / 0.892 GB, free: 16.24 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.9153, allocations: 1.203 MB / 0.8931 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.59e-05/0.9153, allocations: 1.438 kB / 0.8931 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001256/0.9154, allocations: 53.31 kB / 0.8932 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.022e-05/0.9155, allocations: 29.03 kB / 0.8932 GB, free: 16.06 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002299/0.9178, allocations: 1.286 MB / 0.8945 GB, free: 16.04 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006725/0.9245, allocations: 3.709 MB / 0.8981 GB, free: 14.49 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.926, allocations: 0.8286 MB / 0.8989 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005933/0.9266, allocations: 299.8 kB / 0.8992 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-05/0.9267, allocations: 33.5 kB / 0.8992 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009567/0.9277, allocations: 0.5178 MB / 0.8997 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=87): time 2.846e-06/0.9277, allocations: 0 / 0.8997 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of matching and sorting (n=87): time 0.003524/0.9312, allocations: 1.289 MB / 0.901 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/0.9314, allocations: 195.4 kB / 0.9012 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/0.9327, allocations: 0.7536 MB / 0.9019 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/0.9328, allocations: 45.05 kB / 0.9019 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005936/0.9334, allocations: 0.5394 MB / 0.9025 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003352/0.9337, allocations: 295.1 kB / 0.9028 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.934, allocations: 160.1 kB / 0.9029 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.9342, allocations: 338.9 kB / 0.9032 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005849/0.9348, allocations: 271.6 kB / 0.9035 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007076/0.9355, allocations: 384.5 kB / 0.9039 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.9367, allocations: 0.6356 MB / 0.9045 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.9367, allocations: 0 / 0.9045 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002281/0.939, allocations: 0.8778 MB / 0.9053 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.939, allocations: 7.312 kB / 0.9053 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.9391, allocations: 6.094 kB / 0.9053 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.9397, allocations: 92.16 kB / 0.9054 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006648/0.9403, allocations: 160.3 kB / 0.9056 GB, free: 12.7 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002494/0.9428, allocations: 1.633 MB / 0.9072 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009203/0.9438, allocations: 109.9 kB / 0.9073 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.189e-05/0.9438, allocations: 33.83 kB / 0.9073 GB, free: 11.27 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: 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 (96): * Single equations (assignments): 95 * 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.0005725/0.9444, allocations: 291 kB / 0.9076 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.9446, allocations: 103.2 kB / 0.9077 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002444/0.9471, allocations: 1.13 MB / 0.9088 GB, free: 10.97 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.9471, allocations: 11.31 kB / 0.9088 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.9471, allocations: 4.594 kB / 0.9088 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.34e-05/0.9471, allocations: 5.812 kB / 0.9088 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.9485, allocations: 1.075 MB / 0.9099 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9485, allocations: 4 kB / 0.9099 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006/0.9491, allocations: 155 kB / 0.91 GB, free: 10.73 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004368/0.9495, allocations: 67.56 kB / 0.9101 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/0.9496, allocations: 32.39 kB / 0.9101 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.9516, allocations: 1.654 MB / 0.9117 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.9516, allocations: 1.781 kB / 0.9117 GB, free: 9.328 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.9539, allocations: 0.9928 MB / 0.9127 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006104/0.9545, allocations: 306.3 kB / 0.913 GB, free: 9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001536/0.9547, allocations: 23.81 kB / 0.913 GB, free: 9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006861/0.9554, allocations: 63.27 kB / 0.9131 GB, free: 9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.9556, allocations: 74.05 kB / 0.9132 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.964e-05/0.9556, allocations: 35.69 kB / 0.9132 GB, free: 8.996 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008334/0.9565, allocations: 0.5397 MB / 0.9137 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/0.9565, allocations: 0 / 0.9137 GB, free: 8.902 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001176/0.9577, allocations: 384.8 kB / 0.9141 GB, free: 8.828 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.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 (98): * Single equations (assignments): 92 * 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.004379/0.962, allocations: 2.046 MB / 0.9161 GB, free: 8.016 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00183/0.9639, allocations: 0.8258 MB / 0.9169 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.9639, allocations: 0 / 0.9169 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009355/0.9648, allocations: 0.5108 MB / 0.9174 GB, free: 7.754 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001561/0.9664, allocations: 326.2 kB / 0.9177 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.9793, allocations: 7.137 MB / 0.9247 GB, free: 5.535 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.9804, allocations: 1.118 MB / 0.9258 GB, free: 4.801 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001248/0.9816, allocations: 286.8 kB / 0.926 GB, free: 4.719 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008775/0.9825, allocations: 488 kB / 0.9265 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of SimCode: time 1.292e-06/0.9825, allocations: 0 / 0.9265 GB, free: 4.367 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07733/1.06, allocations: 24.58 MB / 0.9505 GB, free: 4.902 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.81/14.86, allocations: 10.58 kB / 0.9505 GB, free: 4.895 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic_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_DiffuseIsotropic.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.173919724067673] Failed to read output from testmodel.py, exit status != 0: 15.071938474895433 15.087193657 14.180750714 Calling exit ...