Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.00134/0.00134, allocations: 112 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.001465/0.001465, allocations: 212.3 kB / 20.09 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.08 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.9844/0.9844, allocations: 150 MB / 459.5 MB, free: 5.711 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.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle",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.002007/0.002007, allocations: 76.72 kB / 0.6361 GB, free: 30.38 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2045, allocations: 89.14 MB / 0.7232 GB, free: 4.109 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.008401/0.2129, allocations: 4.968 MB / 0.728 GB, free: 15.11 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6837/0.8966, allocations: 154 MB / 0.8784 GB, free: 2.203 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009015/0.8975, allocations: 19.47 kB / 0.8784 GB, free: 2.203 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006263/0.8981, allocations: 203.1 kB / 0.8786 GB, free: 2.203 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001768/0.8999, allocations: 0.5802 MB / 0.8792 GB, free: 2.191 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001945/0.9018, allocations: 0.8633 MB / 0.88 GB, free: 2.188 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001318/0.9031, allocations: 1.454 MB / 0.8814 GB, free: 2.18 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006222/0.9038, allocations: 419.7 kB / 0.8818 GB, free: 2.117 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006431/0.9044, allocations: 0.5221 MB / 0.8824 GB, free: 2.117 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005775/0.905, allocations: 0.536 MB / 0.8829 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001559/0.9051, allocations: 118.8 kB / 0.883 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001295/0.9064, allocations: 0.5161 MB / 0.8835 GB, free: 2.102 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003302/0.9068, allocations: 311.1 kB / 0.8838 GB, free: 2.102 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007496/0.9075, allocations: 0.5799 MB / 0.8844 GB, free: 2.102 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002773/0.9103, allocations: 1.719 MB / 0.886 GB, free: 1.992 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.9103, allocations: 1.094 kB / 0.886 GB, free: 1.992 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9103, allocations: 0 / 0.886 GB, free: 1.992 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.194e-05/0.9103, allocations: 0 / 0.886 GB, free: 1.992 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: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002985/0.9133, allocations: 1.529 MB / 0.8875 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.9133, allocations: 9.375 kB / 0.8875 GB, free: 17.16 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.9135, allocations: 140.1 kB / 0.8877 GB, free: 17.12 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00189/0.9154, allocations: 249.8 kB / 0.8879 GB, free: 17.05 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.9169, allocations: 0.793 MB / 0.8887 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.826e-05/0.917, allocations: 65 kB / 0.8887 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001611/0.9172, allocations: 81.27 kB / 0.8888 GB, free: 16.72 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001994/0.9192, allocations: 0.9481 MB / 0.8898 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.9192, allocations: 0.5 kB / 0.8898 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.716e-05/0.9193, allocations: 37.25 kB / 0.8898 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.171e-05/0.9193, allocations: 28.75 kB / 0.8898 GB, free: 16.56 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.9214, allocations: 1.125 MB / 0.8909 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004316/0.9258, allocations: 2.784 MB / 0.8936 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/0.9272, allocations: 0.8668 MB / 0.8945 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004773/0.9276, allocations: 291.7 kB / 0.8948 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.38e-05/0.9277, allocations: 28.48 kB / 0.8948 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008056/0.9285, allocations: 0.5179 MB / 0.8953 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=84): time 2.525e-06/0.9285, allocations: 0 / 0.8953 GB, free: 15.23 MB / 0.6856 GB Notification: Performance of matching and sorting (n=84): time 0.003411/0.9319, allocations: 1.266 MB / 0.8965 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001624/0.9321, allocations: 189.7 kB / 0.8967 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000968/0.9331, allocations: 0.6671 MB / 0.8974 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/0.9331, allocations: 42.55 kB / 0.8974 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003474/0.9335, allocations: 414.4 kB / 0.8978 GB, free: 14.45 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002109/0.9337, allocations: 284.3 kB / 0.8981 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002281/0.9339, allocations: 155 kB / 0.8982 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.9341, allocations: 391.8 kB / 0.8986 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004724/0.9346, allocations: 252 kB / 0.8988 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005843/0.9352, allocations: 374.4 kB / 0.8992 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009867/0.9362, allocations: 0.6059 MB / 0.8998 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.9362, allocations: 0 / 0.8998 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001864/0.938, allocations: 0.8351 MB / 0.9006 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.9381, allocations: 6.188 kB / 0.9006 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.507e-06/0.9381, allocations: 0 / 0.9006 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.9387, allocations: 90.62 kB / 0.9007 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006247/0.9393, allocations: 155.1 kB / 0.9008 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002254/0.9416, allocations: 1.629 MB / 0.9024 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008221/0.9424, allocations: 98.53 kB / 0.9025 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.611e-05/0.9425, allocations: 32.67 kB / 0.9025 GB, free: 12.24 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 (91): * Single equations (assignments): 90 * 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.0004925/0.943, allocations: 276.5 kB / 0.9028 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001983/0.9431, allocations: 89.19 kB / 0.9029 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002355/0.9455, allocations: 1.135 MB / 0.904 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.9455, allocations: 19.7 kB / 0.904 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.9455, allocations: 0 / 0.904 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.9455, allocations: 5.672 kB / 0.904 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00321/0.9487, allocations: 2.036 MB / 0.906 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.9487, allocations: 0 / 0.906 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005882/0.9493, allocations: 155.2 kB / 0.9062 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004342/0.9498, allocations: 73.03 kB / 0.9062 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.659e-05/0.9498, allocations: 28.33 kB / 0.9063 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001995/0.9518, allocations: 1.656 MB / 0.9079 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.9518, allocations: 0 / 0.9079 GB, free: 10.17 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.954, allocations: 1.052 MB / 0.9089 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005054/0.9546, allocations: 292.3 kB / 0.9092 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/0.9547, allocations: 18.44 kB / 0.9092 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006992/0.9554, allocations: 70.14 kB / 0.9093 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.9556, allocations: 84.12 kB / 0.9094 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.62e-05/0.9556, allocations: 43.78 kB / 0.9094 GB, free: 9.773 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006269/0.9563, allocations: 483.8 kB / 0.9099 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of sort global known variables: time 7e-08/0.9563, allocations: 0 / 0.9099 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001052/0.9573, allocations: 328.9 kB / 0.9102 GB, free: 9.625 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 (99): * Single equations (assignments): 92 * 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.004361/0.9617, allocations: 2.112 MB / 0.9122 GB, free: 8.754 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001814/0.9635, allocations: 0.8042 MB / 0.913 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9635, allocations: 0 / 0.913 GB, free: 8.613 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009161/0.9644, allocations: 0.5028 MB / 0.9135 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001495/0.9659, allocations: 304.3 kB / 0.9138 GB, free: 8.473 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01226/0.9782, allocations: 6.476 MB / 0.9201 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008769/0.9791, allocations: 1.042 MB / 0.9211 GB, free: 5.738 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001053/0.9801, allocations: 274.6 kB / 0.9214 GB, free: 5.656 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007046/0.9808, allocations: 419.2 kB / 0.9218 GB, free: 5.648 MB / 0.6856 GB Notification: Performance of SimCode: time 1.894e-06/0.9808, allocations: 4 kB / 0.9218 GB, free: 5.645 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06791/1.049, allocations: 22.64 MB / 0.9439 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.58/14.62, allocations: 0 / 0.9439 GB, free: 10.3 MB / 0.7012 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle_res.csv --start-time 100000 --stop-time 300000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 80 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_ZenithAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.979568314971402] Failed to read output from testmodel.py, exit status != 0: 14.833636682946235 14.849663867 13.935926362 Calling exit ...