Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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.001822/0.001822, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001614/0.001614, allocations: 212.4 kB / 22.99 MB, free: 4.977 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.9831/0.9831, allocations: 149.9 MB / 463 MB, free: 10.36 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.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_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.00231/0.00231, allocations: 69.48 kB / 0.641 GB, free: 10.19 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1797, allocations: 89.17 MB / 0.7281 GB, free: 1.094 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.008952/0.1887, allocations: 6.135 MB / 0.7341 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.506/0.6947, allocations: 133.3 MB / 0.8643 GB, free: 9.949 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.6959, allocations: 27.81 kB / 0.8644 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.000854/0.6968, allocations: 272.1 kB / 0.8646 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002792/0.6996, allocations: 0.8238 MB / 0.8654 GB, free: 8.852 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002483/0.7021, allocations: 1.011 MB / 0.8664 GB, free: 7.871 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002919/0.705, allocations: 2.165 MB / 0.8685 GB, free: 5.695 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.7062, allocations: 0.6832 MB / 0.8692 GB, free: 4.965 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001429/0.7076, allocations: 0.876 MB / 0.87 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.7088, allocations: 0.8087 MB / 0.8708 GB, free: 3.273 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003733/0.7092, allocations: 208 kB / 0.871 GB, free: 3.07 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001221/0.7104, allocations: 0.5739 MB / 0.8716 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004441/0.7109, allocations: 494.4 kB / 0.8721 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000792/0.7117, allocations: 0.7854 MB / 0.8728 GB, free: 1.223 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00335/0.715, allocations: 2.644 MB / 0.8754 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.715, allocations: 0 / 0.8754 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.715, allocations: 0 / 0.8754 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.735e-05/0.7151, allocations: 0 / 0.8754 GB, free: 14.57 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.004337/0.7194, allocations: 2.069 MB / 0.8774 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/0.7195, allocations: 12.03 kB / 0.8774 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003031/0.7198, allocations: 224 kB / 0.8777 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003754/0.7235, allocations: 460.1 kB / 0.8781 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002568/0.7261, allocations: 0.9534 MB / 0.879 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001243/0.7262, allocations: 119.1 kB / 0.8791 GB, free: 10.67 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002233/0.7264, allocations: 144 kB / 0.8793 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003222/0.7296, allocations: 1.831 MB / 0.8811 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.7297, allocations: 0 / 0.8811 GB, free: 8.578 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.7298, allocations: 67.98 kB / 0.8811 GB, free: 8.512 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.836e-05/0.7299, allocations: 36 kB / 0.8812 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003055/0.7329, allocations: 1.588 MB / 0.8827 GB, free: 6.883 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007436/0.7404, allocations: 3.656 MB / 0.8863 GB, free: 3.145 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.7425, allocations: 1.111 MB / 0.8874 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008233/0.7433, allocations: 436.4 kB / 0.8878 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001034/0.7434, allocations: 40.89 kB / 0.8878 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/0.7449, allocations: 0.8828 MB / 0.8887 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=128): time 2.865e-06/0.7449, allocations: 0 / 0.8887 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of matching and sorting (n=128): time 0.004505/0.7494, allocations: 1.763 MB / 0.8904 GB, free: 14.87 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001308/0.7496, allocations: 201.2 kB / 0.8906 GB, free: 14.63 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001276/0.7508, allocations: 0.8978 MB / 0.8915 GB, free: 13.71 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.7509, allocations: 53.7 kB / 0.8915 GB, free: 13.65 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005565/0.7515, allocations: 0.6223 MB / 0.8921 GB, free: 13.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004094/0.7519, allocations: 436.3 kB / 0.8926 GB, free: 12.59 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000427/0.7523, allocations: 234.8 kB / 0.8928 GB, free: 12.35 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002143/0.7526, allocations: 353.9 kB / 0.8931 GB, free: 12 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008653/0.7534, allocations: 434.4 kB / 0.8935 GB, free: 11.58 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.7546, allocations: 0.689 MB / 0.8942 GB, free: 10.83 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.7564, allocations: 0.9631 MB / 0.8951 GB, free: 9.859 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.7564, allocations: 0 / 0.8951 GB, free: 9.859 MB / 0.67 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.003008/0.7595, allocations: 1.294 MB / 0.8964 GB, free: 8.555 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.7595, allocations: 14.03 kB / 0.8964 GB, free: 8.543 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.7595, allocations: 0 / 0.8964 GB, free: 8.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006152/0.7601, allocations: 80.78 kB / 0.8965 GB, free: 8.461 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.7612, allocations: 263.6 kB / 0.8967 GB, free: 8.203 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.7637, allocations: 1.534 MB / 0.8982 GB, free: 6.551 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.7652, allocations: 147.2 kB / 0.8984 GB, free: 6.406 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/0.7653, allocations: 63.81 kB / 0.8984 GB, free: 6.344 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: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.decAng.tNext,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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0008153/0.7661, allocations: 344.3 kB / 0.8988 GB, free: 6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003597/0.7665, allocations: 131.2 kB / 0.8989 GB, free: 5.871 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003947/0.7704, allocations: 1.716 MB / 0.9006 GB, free: 4.148 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/0.7705, allocations: 12 kB / 0.9006 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7705, allocations: 0 / 0.9006 GB, free: 4.137 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/0.7705, allocations: 7.969 kB / 0.9006 GB, free: 4.129 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001817/0.7723, allocations: 1.155 MB / 0.9017 GB, free: 2.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.712e-06/0.7723, allocations: 3.984 kB / 0.9017 GB, free: 2.926 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009362/0.7732, allocations: 215.7 kB / 0.9019 GB, free: 2.715 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004399/0.7737, allocations: 76.72 kB / 0.902 GB, free: 2.637 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-05/0.7738, allocations: 35.97 kB / 0.902 GB, free: 2.602 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002044/0.7758, allocations: 1.571 MB / 0.9036 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.7758, allocations: 3.938 kB / 0.9036 GB, free: 0.9062 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003022/0.7788, allocations: 1.407 MB / 0.905 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007213/0.7795, allocations: 306.5 kB / 0.9052 GB, free: 15.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001916/0.7797, allocations: 35.89 kB / 0.9053 GB, free: 15.14 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000919/0.7807, allocations: 91.91 kB / 0.9054 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.7809, allocations: 116.8 kB / 0.9055 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/0.781, allocations: 55.95 kB / 0.9055 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0009562/0.7819, allocations: 0.6665 MB / 0.9062 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.7819, allocations: 0 / 0.9062 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001185/0.7831, allocations: 486.8 kB / 0.9066 GB, free: 13.73 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.005309/0.7884, allocations: 2.53 MB / 0.9091 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00254/0.791, allocations: 1.189 MB / 0.9103 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.791, allocations: 4 kB / 0.9103 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.7923, allocations: 0.6895 MB / 0.911 GB, free: 9.52 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001368/0.7937, allocations: 343.3 kB / 0.9113 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/0.8102, allocations: 9.403 MB / 0.9205 GB, free: 15.65 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.811, allocations: 0.66 MB / 0.9211 GB, free: 14.96 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001205/0.8122, allocations: 338.3 kB / 0.9214 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001092/0.8133, allocations: 0.6397 MB / 0.9221 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of SimCode: time 1.242e-06/0.8133, allocations: 0 / 0.9221 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/0.9232, allocations: 33.62 MB / 0.9549 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.42/15.34, allocations: 3.984 kB / 0.9549 GB, free: 12.68 MB / 0.7325 GB " [Timeout remaining time 644] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.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_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.482432689983398] Failed to read output from testmodel.py, exit status != 0: 15.581876761745661 15.596253876 14.878087241 Calling exit ...