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.001411/0.001411, allocations: 105 kB / 20.48 MB, free: 1.488 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.001639/0.001639, allocations: 213.1 kB / 23.79 MB, free: 4.703 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.45/1.45, allocations: 230.6 MB / 257.6 MB, free: 8.023 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.9653/0.9653, allocations: 150 MB / 464 MB, free: 10.5 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="cs",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.002012/0.002012, allocations: 61.53 kB / 0.642 GB, free: 10.45 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2034, allocations: 89.17 MB / 0.7291 GB, free: 1.344 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.009087/0.2125, allocations: 5.031 MB / 0.734 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5653/0.7778, allocations: 154.1 MB / 0.8845 GB, free: 8.133 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008672/0.7787, allocations: 23.81 kB / 0.8846 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00078/0.7794, allocations: 204.9 kB / 0.8848 GB, free: 7.91 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00223/0.7817, allocations: 0.5827 MB / 0.8853 GB, free: 7.344 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.002477/0.7842, allocations: 0.8949 MB / 0.8862 GB, free: 6.492 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.002218/0.7864, allocations: 1.449 MB / 0.8876 GB, free: 5.039 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009941/0.7874, allocations: 427.6 kB / 0.888 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001159/0.7885, allocations: 0.5217 MB / 0.8885 GB, free: 4.074 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.7896, allocations: 0.5368 MB / 0.8891 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003553/0.79, allocations: 120 kB / 0.8892 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.7913, allocations: 0.5191 MB / 0.8897 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003479/0.7917, allocations: 307 kB / 0.89 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006405/0.7923, allocations: 0.583 MB / 0.8906 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.7947, allocations: 1.726 MB / 0.8922 GB, free: 292 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.7948, allocations: 3.984 kB / 0.8922 GB, free: 288 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7948, allocations: 0 / 0.8922 GB, free: 288 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.7948, allocations: 0 / 0.8922 GB, free: 288 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.002995/0.7978, allocations: 1.462 MB / 0.8937 GB, free: 14.78 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/0.7978, allocations: 16.02 kB / 0.8937 GB, free: 14.76 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.053e-05/0.7978, allocations: 26.12 kB / 0.8937 GB, free: 14.74 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001721/0.798, allocations: 136.1 kB / 0.8938 GB, free: 14.6 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001793/0.7998, allocations: 255.9 kB / 0.8941 GB, free: 14.35 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.8013, allocations: 0.7229 MB / 0.8948 GB, free: 13.6 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.736e-05/0.8014, allocations: 66 kB / 0.8949 GB, free: 13.53 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/0.8015, allocations: 88 kB / 0.8949 GB, free: 13.45 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001736/0.8032, allocations: 0.9501 MB / 0.8959 GB, free: 12.46 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.8032, allocations: 3.984 kB / 0.8959 GB, free: 12.45 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.8033, allocations: 32 kB / 0.8959 GB, free: 12.42 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.8034, allocations: 20 kB / 0.8959 GB, free: 12.4 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001979/0.8053, allocations: 1.132 MB / 0.897 GB, free: 11.27 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004811/0.8102, allocations: 2.749 MB / 0.8997 GB, free: 8.395 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001665/0.8118, allocations: 0.7794 MB / 0.9005 GB, free: 7.605 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005843/0.8124, allocations: 295.8 kB / 0.9007 GB, free: 7.316 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 8.397e-05/0.8125, allocations: 32.69 kB / 0.9008 GB, free: 7.285 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001021/0.8135, allocations: 0.5128 MB / 0.9013 GB, free: 6.758 MB / 0.67 GB Notification: Performance of pre-optimization done (n=85): time 2.454e-06/0.8135, allocations: 0 / 0.9013 GB, free: 6.758 MB / 0.67 GB Notification: Performance of matching and sorting (n=85): time 0.003936/0.8174, allocations: 1.192 MB / 0.9024 GB, free: 5.555 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002484/0.8177, allocations: 192.9 kB / 0.9026 GB, free: 5.324 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.819, allocations: 0.6685 MB / 0.9033 GB, free: 4.648 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.8191, allocations: 45.64 kB / 0.9033 GB, free: 4.598 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004853/0.8196, allocations: 413 kB / 0.9037 GB, free: 4.188 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003369/0.82, allocations: 293.5 kB / 0.904 GB, free: 3.898 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002901/0.8202, allocations: 154.6 kB / 0.9041 GB, free: 3.742 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002432/0.8205, allocations: 390.7 kB / 0.9045 GB, free: 3.352 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005838/0.8211, allocations: 265.8 kB / 0.9048 GB, free: 3.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006938/0.8218, allocations: 371.4 kB / 0.9051 GB, free: 2.699 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001244/0.823, allocations: 0.6133 MB / 0.9057 GB, free: 2.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.636e-06/0.823, allocations: 0 / 0.9057 GB, free: 2.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002135/0.8252, allocations: 0.8381 MB / 0.9065 GB, free: 1.227 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.8252, allocations: 11.94 kB / 0.9066 GB, free: 1.215 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.8252, allocations: 0 / 0.9066 GB, free: 1.215 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/0.8258, allocations: 84.89 kB / 0.9066 GB, free: 1.129 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.8265, allocations: 163.7 kB / 0.9068 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002432/0.829, allocations: 1.527 MB / 0.9083 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008319/0.8298, allocations: 99.52 kB / 0.9084 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.8299, allocations: 35.98 kB / 0.9084 GB, free: 15.19 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.0005237/0.8304, allocations: 270.2 kB / 0.9087 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002126/0.8306, allocations: 95.39 kB / 0.9088 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.8333, allocations: 1.142 MB / 0.9099 GB, free: 13.67 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.076e-05/0.8333, allocations: 12 kB / 0.9099 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.8333, allocations: 0 / 0.9099 GB, free: 13.66 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.8333, allocations: 7.969 kB / 0.9099 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003775/0.8371, allocations: 2.008 MB / 0.9119 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.8371, allocations: 0 / 0.9119 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006506/0.8377, allocations: 163.7 kB / 0.912 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000463/0.8382, allocations: 80.75 kB / 0.9121 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.33e-05/0.8383, allocations: 23.98 kB / 0.9121 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002105/0.8404, allocations: 1.563 MB / 0.9136 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.8404, allocations: 0 / 0.9136 GB, free: 9.641 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002399/0.8428, allocations: 1.057 MB / 0.9147 GB, free: 8.562 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005275/0.8433, allocations: 203.1 kB / 0.9149 GB, free: 8.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/0.8435, allocations: 27.92 kB / 0.9149 GB, free: 8.336 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007224/0.8442, allocations: 65.34 kB / 0.915 GB, free: 8.273 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/0.8444, allocations: 84.84 kB / 0.915 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.703e-05/0.8445, allocations: 39.97 kB / 0.9151 GB, free: 8.152 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007207/0.8452, allocations: 483 kB / 0.9155 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8452, allocations: 0 / 0.9155 GB, free: 7.688 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009831/0.8462, allocations: 335.1 kB / 0.9159 GB, free: 7.359 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.004598/0.8508, allocations: 2.124 MB / 0.9179 GB, free: 5.422 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.00194/0.8527, allocations: 0.8078 MB / 0.9187 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.8527, allocations: 256 / 0.9187 GB, free: 4.602 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.8537, allocations: 0.508 MB / 0.9192 GB, free: 4.082 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/0.8552, allocations: 317.1 kB / 0.9195 GB, free: 3.793 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01196/0.8672, allocations: 6.502 MB / 0.9259 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007754/0.868, allocations: 1.04 MB / 0.9269 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0009329/0.8689, allocations: 271 kB / 0.9271 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006539/0.8695, allocations: 411.2 kB / 0.9275 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of SimCode: time 1.162e-06/0.8695, allocations: 0 / 0.9275 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06503/0.9346, allocations: 23.26 MB / 0.9502 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.52/15.46, allocations: 23.25 kB / 0.9503 GB, free: 4.348 MB / 0.7169 GB " [Timeout remaining time 644] (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: 19.59419724100735] Failed to read output from testmodel.py, exit status != 0: 15.74318334797863 15.759757552 14.961471506 Calling exit ...