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.001319/0.001319, allocations: 97.91 kB / 20.48 MB, free: 1.363 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.001423/0.001423, allocations: 214.9 kB / 23.78 MB, free: 4.523 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.54/1.54, allocations: 230.6 MB / 257.5 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.9945/0.9945, allocations: 150 MB / 464 MB, free: 10.23 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.002006/0.002006, allocations: 65.8 kB / 0.6419 GB, free: 9.922 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1857/0.1877, allocations: 89.18 MB / 0.729 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007105/0.1948, allocations: 4.476 MB / 0.7334 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.6144/0.8092, allocations: 132.6 MB / 0.8629 GB, free: 11.97 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.8105, allocations: 19.88 kB / 0.8629 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0009651/0.8114, allocations: 200.2 kB / 0.8631 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.002568/0.814, allocations: 0.5818 MB / 0.8637 GB, free: 11.19 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002671/0.8167, allocations: 0.8696 MB / 0.8646 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.002358/0.819, allocations: 1.464 MB / 0.866 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008434/0.8199, allocations: 415.8 kB / 0.8664 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008937/0.8208, allocations: 0.5256 MB / 0.8669 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007705/0.8215, allocations: 0.5329 MB / 0.8674 GB, free: 7.391 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001988/0.8217, allocations: 120 kB / 0.8675 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001119/0.8229, allocations: 0.5057 MB / 0.868 GB, free: 6.77 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000335/0.8232, allocations: 319 kB / 0.8683 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005313/0.8237, allocations: 473.7 kB / 0.8688 GB, free: 5.992 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002266/0.826, allocations: 1.737 MB / 0.8705 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.826, allocations: 0 / 0.8705 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.826, allocations: 3.75 kB / 0.8705 GB, free: 4.25 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.353e-05/0.826, allocations: 0 / 0.8705 GB, free: 4.25 MB / 0.6387 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.002862/0.8289, allocations: 1.452 MB / 0.8719 GB, free: 2.758 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.8289, allocations: 16.03 kB / 0.8719 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.224e-05/0.829, allocations: 22.19 kB / 0.8719 GB, free: 2.723 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001812/0.8291, allocations: 139.6 kB / 0.8721 GB, free: 2.578 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001828/0.831, allocations: 255.9 kB / 0.8723 GB, free: 2.328 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.8324, allocations: 0.7229 MB / 0.873 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.911e-05/0.8325, allocations: 69.98 kB / 0.8731 GB, free: 1.508 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001387/0.8326, allocations: 84 kB / 0.8732 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.8346, allocations: 1.193 MB / 0.8743 GB, free: 136 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.8346, allocations: 0 / 0.8743 GB, free: 136 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.422e-05/0.8347, allocations: 36 kB / 0.8744 GB, free: 100 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-05/0.8347, allocations: 31.98 kB / 0.8744 GB, free: 68 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.8367, allocations: 1.124 MB / 0.8755 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004321/0.841, allocations: 2.264 MB / 0.8777 GB, free: 12.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001626/0.8426, allocations: 0.7913 MB / 0.8785 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005716/0.8432, allocations: 290.7 kB / 0.8787 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.874e-05/0.8433, allocations: 24.62 kB / 0.8788 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.8443, allocations: 0.6219 MB / 0.8794 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 3.035e-06/0.8443, allocations: 4 kB / 0.8794 GB, free: 10.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.003557/0.8479, allocations: 1.184 MB / 0.8805 GB, free: 9.641 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.848, allocations: 192.9 kB / 0.8807 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009835/0.849, allocations: 0.6685 MB / 0.8814 GB, free: 8.734 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 9.736e-05/0.8491, allocations: 41.7 kB / 0.8814 GB, free: 8.688 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003776/0.8495, allocations: 413 kB / 0.8818 GB, free: 8.277 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002896/0.8498, allocations: 293.6 kB / 0.8821 GB, free: 7.988 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002719/0.85, allocations: 154.6 kB / 0.8822 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.8502, allocations: 386.8 kB / 0.8826 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005541/0.8508, allocations: 257.9 kB / 0.8829 GB, free: 7.191 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000754/0.8516, allocations: 0.5038 MB / 0.8833 GB, free: 6.629 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.8527, allocations: 0.6094 MB / 0.8839 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/0.8527, allocations: 0 / 0.8839 GB, free: 6.004 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002146/0.8549, allocations: 0.8412 MB / 0.8848 GB, free: 5.16 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.8549, allocations: 11.94 kB / 0.8848 GB, free: 5.148 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.8549, allocations: 4.125 kB / 0.8848 GB, free: 5.145 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006601/0.8556, allocations: 80.77 kB / 0.8849 GB, free: 5.062 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/0.8563, allocations: 167.5 kB / 0.885 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.8586, allocations: 1.521 MB / 0.8865 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.8594, allocations: 95.59 kB / 0.8866 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.8595, allocations: 31.97 kB / 0.8866 GB, free: 3.133 MB / 0.6544 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.000486/0.86, allocations: 281.7 kB / 0.8869 GB, free: 2.848 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000194/0.8602, allocations: 95.39 kB / 0.887 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002725/0.8629, allocations: 1.14 MB / 0.8881 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.236e-05/0.8629, allocations: 12 kB / 0.8881 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.8629, allocations: 1.25 kB / 0.8881 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.8629, allocations: 3.984 kB / 0.8881 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003715/0.8667, allocations: 1.88 MB / 0.8899 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.8667, allocations: 0 / 0.8899 GB, free: 15.66 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006571/0.8673, allocations: 155.7 kB / 0.8901 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004561/0.8678, allocations: 72.78 kB / 0.8902 GB, free: 15.43 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.127e-05/0.8678, allocations: 31.97 kB / 0.8902 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/0.8699, allocations: 1.548 MB / 0.8917 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.8699, allocations: 0 / 0.8917 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.8722, allocations: 1.069 MB / 0.8927 GB, free: 12.64 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004606/0.8726, allocations: 207.1 kB / 0.8929 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001372/0.8728, allocations: 20 kB / 0.893 GB, free: 12.42 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008523/0.8736, allocations: 67.92 kB / 0.893 GB, free: 12.36 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/0.8738, allocations: 84.84 kB / 0.8931 GB, free: 12.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-05/0.8739, allocations: 35.98 kB / 0.8931 GB, free: 12.24 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007594/0.8747, allocations: 483 kB / 0.8936 GB, free: 11.77 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8747, allocations: 0 / 0.8936 GB, free: 11.77 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001004/0.8757, allocations: 339.1 kB / 0.8939 GB, free: 11.44 MB / 0.67 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.00482/0.8805, allocations: 2.155 MB / 0.896 GB, free: 9.512 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00211/0.8826, allocations: 0.8158 MB / 0.8968 GB, free: 8.684 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.8826, allocations: 4 kB / 0.8968 GB, free: 8.68 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001115/0.8837, allocations: 0.5041 MB / 0.8973 GB, free: 8.164 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001619/0.8853, allocations: 305.5 kB / 0.8976 GB, free: 7.887 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0122/0.8975, allocations: 6.513 MB / 0.904 GB, free: 1.215 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006084/0.8981, allocations: 457.4 kB / 0.9044 GB, free: 0.7383 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009555/0.8991, allocations: 271.1 kB / 0.9047 GB, free: 480 kB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006993/0.8998, allocations: 399.3 kB / 0.9051 GB, free: 80 kB / 0.67 GB Notification: Performance of SimCode: time 9.92e-07/0.8998, allocations: 0 / 0.9051 GB, free: 80 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06216/0.9619, allocations: 24.02 MB / 0.9285 GB, free: 8.391 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.7/15.66, allocations: 10.59 kB / 0.9285 GB, free: 8.383 MB / 0.7012 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.87585264700465] Failed to read output from testmodel.py, exit status != 0: 15.961978622013703 15.979204073 15.149857456 Calling exit ...