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.001695/0.001695, allocations: 114.2 kB / 17.84 MB, free: 5.336 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.001565/0.001565, allocations: 207.1 kB / 20.8 MB, free: 2.391 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 / 254.2 MB, free: 15.12 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.9529/0.9529, allocations: 150 MB / 460.2 MB, free: 5.656 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.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.002063/0.002063, allocations: 64.44 kB / 0.6368 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1748, allocations: 89.13 MB / 0.7238 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.00725/0.1821, allocations: 4.988 MB / 0.7287 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.6129/0.795, allocations: 154 MB / 0.8791 GB, free: 2.203 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008859/0.7959, allocations: 22.62 kB / 0.8791 GB, free: 2.203 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0005975/0.7965, allocations: 204.7 kB / 0.8793 GB, free: 2.199 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.7981, allocations: 0.5757 MB / 0.8799 GB, free: 2.191 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001854/0.7999, allocations: 0.8706 MB / 0.8807 GB, free: 2.184 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001517/0.8015, allocations: 1.456 MB / 0.8822 GB, free: 2.18 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006667/0.8021, allocations: 426.8 kB / 0.8826 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007165/0.8028, allocations: 0.5246 MB / 0.8831 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006372/0.8035, allocations: 0.5334 MB / 0.8836 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.8036, allocations: 120.6 kB / 0.8837 GB, free: 2.113 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001147/0.8048, allocations: 0.5094 MB / 0.8842 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002705/0.8051, allocations: 313 kB / 0.8845 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.000587/0.8056, allocations: 0.5819 MB / 0.8851 GB, free: 2.098 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.8079, allocations: 1.726 MB / 0.8868 GB, free: 1.984 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8079, allocations: 0.75 kB / 0.8868 GB, free: 1.984 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.543e-06/0.8079, allocations: 0 / 0.8868 GB, free: 1.984 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.8079, allocations: 0 / 0.8868 GB, free: 1.984 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: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.003092/0.811, allocations: 1.534 MB / 0.8883 GB, free: 17.14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.8111, allocations: 9.875 kB / 0.8883 GB, free: 17.14 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.328e-05/0.8111, allocations: 28.16 kB / 0.8883 GB, free: 17.14 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001614/0.8113, allocations: 138.2 kB / 0.8884 GB, free: 17.1 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001879/0.8132, allocations: 256.5 kB / 0.8887 GB, free: 17.03 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.8146, allocations: 0.7937 MB / 0.8895 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.723e-05/0.8147, allocations: 68.78 kB / 0.8895 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.8149, allocations: 83.75 kB / 0.8896 GB, free: 16.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001873/0.8167, allocations: 0.9478 MB / 0.8905 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.8167, allocations: 0.5 kB / 0.8905 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.674e-05/0.8168, allocations: 34.12 kB / 0.8906 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.929e-05/0.8169, allocations: 22.47 kB / 0.8906 GB, free: 16.55 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.8189, allocations: 1.135 MB / 0.8917 GB, free: 16.54 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00406/0.823, allocations: 2.804 MB / 0.8944 GB, free: 15.45 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.8244, allocations: 0.8606 MB / 0.8953 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004836/0.8249, allocations: 284.8 kB / 0.8955 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 7.453e-05/0.8249, allocations: 32.62 kB / 0.8956 GB, free: 15.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007955/0.8257, allocations: 0.5196 MB / 0.8961 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=85): time 2.454e-06/0.8257, allocations: 1.203 kB / 0.8961 GB, free: 15.22 MB / 0.6856 GB Notification: Performance of matching and sorting (n=85): time 0.003415/0.8292, allocations: 1.264 MB / 0.8973 GB, free: 15 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001318/0.8293, allocations: 193.5 kB / 0.8975 GB, free: 14.78 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009259/0.8302, allocations: 0.6647 MB / 0.8981 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.872e-05/0.8303, allocations: 44.12 kB / 0.8982 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.8306, allocations: 419.6 kB / 0.8986 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.8308, allocations: 289.6 kB / 0.8989 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/0.831, allocations: 158.2 kB / 0.899 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001959/0.8312, allocations: 387.1 kB / 0.8994 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/0.8317, allocations: 261.4 kB / 0.8996 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005737/0.8323, allocations: 380.7 kB / 0.9 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009812/0.8333, allocations: 0.61 MB / 0.9006 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.8333, allocations: 4 kB / 0.9006 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00201/0.8353, allocations: 0.8452 MB / 0.9014 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.8353, allocations: 9.531 kB / 0.9014 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.8353, allocations: 0 / 0.9014 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006508/0.836, allocations: 83.56 kB / 0.9015 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006547/0.8366, allocations: 162.8 kB / 0.9017 GB, free: 13.63 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.8388, allocations: 1.634 MB / 0.9033 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/0.8397, allocations: 88.98 kB / 0.9033 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.8397, allocations: 34.48 kB / 0.9034 GB, free: 12.21 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.0005019/0.8403, allocations: 278 kB / 0.9036 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.8404, allocations: 94.33 kB / 0.9037 GB, free: 12.03 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002396/0.8428, allocations: 1.14 MB / 0.9048 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.8429, allocations: 10.28 kB / 0.9049 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.8429, allocations: 0 / 0.9049 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.292e-05/0.8429, allocations: 9.844 kB / 0.9049 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003212/0.8461, allocations: 2.04 MB / 0.9069 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.8461, allocations: 1.203 kB / 0.9069 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005825/0.8467, allocations: 157.1 kB / 0.907 GB, free: 11.53 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004438/0.8471, allocations: 72.81 kB / 0.9071 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/0.8472, allocations: 27.25 kB / 0.9071 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002037/0.8492, allocations: 1.657 MB / 0.9087 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8492, allocations: 2.562 kB / 0.9087 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002107/0.8513, allocations: 1.057 MB / 0.9098 GB, free: 9.906 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000488/0.8518, allocations: 292.5 kB / 0.91 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.8519, allocations: 25.48 kB / 0.9101 GB, free: 9.746 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000718/0.8527, allocations: 74.88 kB / 0.9101 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.8528, allocations: 74.61 kB / 0.9102 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/0.8529, allocations: 40.38 kB / 0.9102 GB, free: 9.738 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006042/0.8535, allocations: 483.7 kB / 0.9107 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of sort global known variables: time 6e-08/0.8535, allocations: 0 / 0.9107 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009623/0.8545, allocations: 333.3 kB / 0.911 GB, free: 9.594 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.004237/0.8587, allocations: 2.12 MB / 0.9131 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001672/0.8604, allocations: 0.8098 MB / 0.9139 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8604, allocations: 1.094 kB / 0.9139 GB, free: 8.598 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0009086/0.8613, allocations: 0.5078 MB / 0.9144 GB, free: 8.48 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00141/0.8627, allocations: 307.5 kB / 0.9147 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.873, allocations: 6.504 MB / 0.921 GB, free: 6.418 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007006/0.8737, allocations: 1.045 MB / 0.922 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.000915/0.8747, allocations: 273.4 kB / 0.9223 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005518/0.8752, allocations: 412.7 kB / 0.9227 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of SimCode: time 8.91e-07/0.8752, allocations: 0 / 0.9227 GB, free: 5.605 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05891/0.9341, allocations: 22.71 MB / 0.9449 GB, free: 10.03 MB / 0.7013 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.89, allocations: 2.625 kB / 0.9449 GB, free: 10.03 MB / 0.7013 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: 19.067021328024566] Failed to read output from testmodel.py, exit status != 0: 15.157395209011156 15.171696856 14.360814862 Calling exit ...