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.00178/0.00178, 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.002055/0.002055, allocations: 221.1 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8 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.9391/0.9391, allocations: 150 MB / 463.2 MB, free: 10.51 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.002079/0.002079, allocations: 69.7 kB / 0.6413 GB, free: 10.43 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1866, allocations: 89.18 MB / 0.7283 GB, free: 1.316 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007126/0.1937, allocations: 5.022 MB / 0.7332 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5522/0.746, allocations: 154.2 MB / 0.8838 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009421/0.7469, allocations: 23.88 kB / 0.8838 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008551/0.7477, allocations: 209.1 kB / 0.884 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002213/0.75, allocations: 0.575 MB / 0.8846 GB, free: 7.297 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002363/0.7523, allocations: 0.8887 MB / 0.8854 GB, free: 6.445 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002017/0.7543, allocations: 1.456 MB / 0.8869 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007825/0.7551, allocations: 422.8 kB / 0.8873 GB, free: 4.547 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009435/0.7561, allocations: 0.5256 MB / 0.8878 GB, free: 4.02 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/0.7568, allocations: 0.529 MB / 0.8883 GB, free: 3.488 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001696/0.7569, allocations: 124 kB / 0.8884 GB, free: 3.367 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.758, allocations: 0.5174 MB / 0.8889 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003038/0.7583, allocations: 311 kB / 0.8892 GB, free: 2.547 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0005751/0.7589, allocations: 0.5791 MB / 0.8898 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002304/0.7612, allocations: 1.73 MB / 0.8915 GB, free: 240 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.7612, allocations: 0 / 0.8915 GB, free: 240 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7612, allocations: 4 kB / 0.8915 GB, free: 236 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.541e-05/0.7612, allocations: 0 / 0.8915 GB, free: 236 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.002856/0.764, allocations: 1.46 MB / 0.8929 GB, free: 14.73 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.7641, allocations: 8.031 kB / 0.8929 GB, free: 14.72 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001749/0.7643, allocations: 144.1 kB / 0.8931 GB, free: 14.57 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.7659, allocations: 255.9 kB / 0.8933 GB, free: 14.32 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.7673, allocations: 0.723 MB / 0.894 GB, free: 13.57 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.861e-05/0.7674, allocations: 66 kB / 0.8941 GB, free: 13.51 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001244/0.7675, allocations: 88 kB / 0.8941 GB, free: 13.42 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/0.7691, allocations: 0.9496 MB / 0.8951 GB, free: 12.43 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.7692, allocations: 0.75 kB / 0.8951 GB, free: 12.43 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.437e-05/0.7692, allocations: 40 kB / 0.8951 GB, free: 12.39 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.241e-05/0.7693, allocations: 20 kB / 0.8951 GB, free: 12.37 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001806/0.7711, allocations: 1.132 MB / 0.8962 GB, free: 11.24 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004268/0.7753, allocations: 2.741 MB / 0.8989 GB, free: 8.371 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.7769, allocations: 0.7916 MB / 0.8997 GB, free: 7.574 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005298/0.7774, allocations: 291.4 kB / 0.9 GB, free: 7.289 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 9.273e-05/0.7775, allocations: 36.59 kB / 0.9 GB, free: 7.254 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008989/0.7784, allocations: 0.5227 MB / 0.9005 GB, free: 6.719 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.605e-06/0.7784, allocations: 0 / 0.9005 GB, free: 6.719 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003291/0.7817, allocations: 1.184 MB / 0.9017 GB, free: 5.523 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.7818, allocations: 200.9 kB / 0.9019 GB, free: 5.285 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008911/0.7827, allocations: 0.6607 MB / 0.9025 GB, free: 4.621 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.169e-05/0.7828, allocations: 45.64 kB / 0.9025 GB, free: 4.57 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003695/0.7832, allocations: 421 kB / 0.9029 GB, free: 4.152 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002414/0.7834, allocations: 285.5 kB / 0.9032 GB, free: 3.871 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002687/0.7837, allocations: 158.6 kB / 0.9034 GB, free: 3.711 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.7839, allocations: 390.7 kB / 0.9037 GB, free: 3.32 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/0.7844, allocations: 262.9 kB / 0.904 GB, free: 3.062 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006267/0.785, allocations: 371.4 kB / 0.9044 GB, free: 2.672 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.7862, allocations: 0.6133 MB / 0.9049 GB, free: 2.043 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.7862, allocations: 0 / 0.9049 GB, free: 2.043 MB / 0.67 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002028/0.7882, allocations: 0.8375 MB / 0.9058 GB, free: 1.199 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.7882, allocations: 7.984 kB / 0.9058 GB, free: 1.191 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.959e-06/0.7882, allocations: 4.062 kB / 0.9058 GB, free: 1.188 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006134/0.7888, allocations: 84.78 kB / 0.9059 GB, free: 1.102 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006566/0.7895, allocations: 168.3 kB / 0.906 GB, free: 0.9375 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002203/0.7917, allocations: 1.519 MB / 0.9075 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/0.7924, allocations: 103.5 kB / 0.9076 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.099e-05/0.7925, allocations: 27.98 kB / 0.9076 GB, free: 15.17 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.0004802/0.793, allocations: 281.7 kB / 0.9079 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001712/0.7931, allocations: 91.39 kB / 0.908 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.7956, allocations: 1.139 MB / 0.9091 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.805e-05/0.7956, allocations: 19.94 kB / 0.9091 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.7956, allocations: 3.938 kB / 0.9091 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.7957, allocations: 3.984 kB / 0.9091 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003439/0.7991, allocations: 2.008 MB / 0.9111 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.7991, allocations: 0 / 0.9111 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.7997, allocations: 155.8 kB / 0.9112 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/0.8002, allocations: 72.78 kB / 0.9113 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-05/0.8002, allocations: 31.92 kB / 0.9113 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002005/0.8022, allocations: 1.567 MB / 0.9129 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.8022, allocations: 0 / 0.9129 GB, free: 9.613 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.8044, allocations: 1.057 MB / 0.9139 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004728/0.8049, allocations: 207.1 kB / 0.9141 GB, free: 8.332 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.805, allocations: 24 kB / 0.9141 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006549/0.8057, allocations: 64.62 kB / 0.9142 GB, free: 8.246 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000165/0.8058, allocations: 84.84 kB / 0.9143 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.789e-05/0.8059, allocations: 39.98 kB / 0.9143 GB, free: 8.125 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006349/0.8066, allocations: 479 kB / 0.9148 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8066, allocations: 0 / 0.9148 GB, free: 7.66 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000929/0.8075, allocations: 343.1 kB / 0.9151 GB, free: 7.324 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.004254/0.8117, allocations: 2.106 MB / 0.9171 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001728/0.8135, allocations: 0.8156 MB / 0.9179 GB, free: 4.574 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.8135, allocations: 4.25 kB / 0.9179 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009363/0.8144, allocations: 0.504 MB / 0.9184 GB, free: 4.055 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.8157, allocations: 307.9 kB / 0.9187 GB, free: 3.781 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.8267, allocations: 6.5 MB / 0.9251 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007244/0.8274, allocations: 1.04 MB / 0.9261 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009265/0.8283, allocations: 275 kB / 0.9263 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006165/0.8289, allocations: 411.2 kB / 0.9267 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of SimCode: time 1.022e-06/0.8289, allocations: 0 / 0.9267 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.064/0.8929, allocations: 23.23 MB / 0.9494 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.86/14.76, allocations: 18.67 kB / 0.9494 GB, free: 4.348 MB / 0.7169 GB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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: 18.72680283500813] Failed to read output from testmodel.py, exit status != 0: 14.981716799782589 14.998064664 14.233640937 Calling exit ...