Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001818/0.001818, allocations: 113 kB / 18.94 MB, free: 2.934 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.002232/0.002232, allocations: 207 kB / 22.25 MB, free: 5.086 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.426/1.426, allocations: 230.6 MB / 256 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8218/0.8218, allocations: 134 MB / 446.4 MB, free: 10.27 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001946/0.001946, allocations: 67.23 kB / 0.6185 GB, free: 7.277 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1716, allocations: 85.9 MB / 0.7024 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007307/0.1789, allocations: 4.236 MB / 0.7066 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5572/0.7361, allocations: 154 MB / 0.857 GB, free: 8.336 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008512/0.7369, allocations: 23.81 kB / 0.857 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006205/0.7375, allocations: 172.8 kB / 0.8571 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001512/0.739, allocations: 498.4 kB / 0.8576 GB, free: 7.672 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.741, allocations: 0.844 MB / 0.8584 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001439/0.7424, allocations: 1.219 MB / 0.8596 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007799/0.7432, allocations: 458 kB / 0.8601 GB, free: 5.176 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007222/0.7439, allocations: 458.4 kB / 0.8605 GB, free: 4.727 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006061/0.7446, allocations: 468.4 kB / 0.861 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.7447, allocations: 108 kB / 0.8611 GB, free: 4.164 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001151/0.7458, allocations: 0.4975 MB / 0.8615 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.7462, allocations: 283 kB / 0.8618 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005283/0.7467, allocations: 0.4973 MB / 0.8623 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.749, allocations: 1.543 MB / 0.8638 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.749, allocations: 0 / 0.8638 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.703e-06/0.749, allocations: 0 / 0.8638 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.463e-05/0.7491, allocations: 0 / 0.8638 GB, free: 1.352 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002529/0.7516, allocations: 1.32 MB / 0.8651 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.7516, allocations: 8.031 kB / 0.8651 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.7518, allocations: 131.2 kB / 0.8652 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001662/0.7534, allocations: 240.1 kB / 0.8655 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.7548, allocations: 0.683 MB / 0.8661 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.808e-05/0.7549, allocations: 62 kB / 0.8662 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.608e-05/0.755, allocations: 72 kB / 0.8662 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/0.7564, allocations: 0.8793 MB / 0.8671 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.7565, allocations: 0 / 0.8671 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.672e-05/0.7565, allocations: 32 kB / 0.8671 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.874e-05/0.7565, allocations: 20 kB / 0.8672 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001654/0.7582, allocations: 1.065 MB / 0.8682 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003807/0.762, allocations: 2.328 MB / 0.8705 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.7633, allocations: 0.6827 MB / 0.8711 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004703/0.7638, allocations: 254.8 kB / 0.8714 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.275e-05/0.7638, allocations: 28.61 kB / 0.8714 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007576/0.7646, allocations: 431.3 kB / 0.8718 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.835e-06/0.7646, allocations: 0 / 0.8718 GB, free: 8.941 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.002985/0.7676, allocations: 1.011 MB / 0.8728 GB, free: 7.922 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000114/0.7677, allocations: 196.6 kB / 0.873 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008038/0.7685, allocations: 0.6058 MB / 0.8736 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.682e-05/0.7686, allocations: 41.7 kB / 0.8736 GB, free: 7.023 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003347/0.7689, allocations: 396.9 kB / 0.874 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002157/0.7691, allocations: 249.8 kB / 0.8742 GB, free: 6.383 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002008/0.7693, allocations: 130.3 kB / 0.8744 GB, free: 6.25 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.7695, allocations: 382.8 kB / 0.8747 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.77, allocations: 221.2 kB / 0.8749 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005419/0.7705, allocations: 319.6 kB / 0.8752 GB, free: 5.309 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.7715, allocations: 0.5363 MB / 0.8758 GB, free: 4.758 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.7715, allocations: 7.562 kB / 0.8758 GB, free: 4.754 MB / 0.6387 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.00177/0.7733, allocations: 0.7318 MB / 0.8765 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.7733, allocations: 8 kB / 0.8765 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.7733, allocations: 0 / 0.8765 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006214/0.7739, allocations: 84.89 kB / 0.8766 GB, free: 3.918 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.7745, allocations: 139.8 kB / 0.8767 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002143/0.7766, allocations: 1.527 MB / 0.8782 GB, free: 2.137 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/0.7772, allocations: 75.84 kB / 0.8783 GB, free: 2.062 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.907e-05/0.7772, allocations: 35.91 kB / 0.8783 GB, free: 2.027 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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.0003897/0.7776, allocations: 257.6 kB / 0.8786 GB, free: 1.766 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001455/0.7778, allocations: 83.42 kB / 0.8786 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00225/0.78, allocations: 0.996 MB / 0.8796 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.78, allocations: 11.94 kB / 0.8796 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.78, allocations: 0 / 0.8796 GB, free: 0.6641 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.7801, allocations: 3.984 kB / 0.8796 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003207/0.7833, allocations: 1.865 MB / 0.8814 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.7833, allocations: 0 / 0.8814 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.7838, allocations: 147.8 kB / 0.8816 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004417/0.7843, allocations: 68.78 kB / 0.8817 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.97e-05/0.7843, allocations: 27.98 kB / 0.8817 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.7862, allocations: 1.551 MB / 0.8832 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.85e-06/0.7862, allocations: 7.969 kB / 0.8832 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.7881, allocations: 0.9243 MB / 0.8841 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003911/0.7885, allocations: 187.1 kB / 0.8843 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.7886, allocations: 19.94 kB / 0.8843 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005409/0.7891, allocations: 51.94 kB / 0.8844 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/0.7892, allocations: 64.88 kB / 0.8844 GB, free: 11.55 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.346e-05/0.7893, allocations: 31.98 kB / 0.8844 GB, free: 11.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000569/0.7899, allocations: 451 kB / 0.8849 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7899, allocations: 0 / 0.8849 GB, free: 11.09 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000787/0.7907, allocations: 291.2 kB / 0.8852 GB, free: 10.8 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003887/0.7945, allocations: 1.971 MB / 0.8871 GB, free: 9.02 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.796, allocations: 0.712 MB / 0.8878 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.796, allocations: 0 / 0.8878 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008414/0.7969, allocations: 468.5 kB / 0.8882 GB, free: 7.832 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.798, allocations: 289.5 kB / 0.8885 GB, free: 7.578 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/0.8086, allocations: 5.981 MB / 0.8943 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006429/0.8092, allocations: 1.011 MB / 0.8953 GB, free: 452 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007443/0.8099, allocations: 242.2 kB / 0.8956 GB, free: 204 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000534/0.8105, allocations: 375.3 kB / 0.8959 GB, free: 15.83 MB / 0.67 GB Notification: Performance of SimCode: time 7.91e-07/0.8105, allocations: 0 / 0.8959 GB, free: 15.83 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08742/0.8979, allocations: 20.83 MB / 0.9163 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.7/14.6, allocations: 8.047 kB / 0.9163 GB, free: 11.15 MB / 0.6856 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.361530176996894] Failed to read output from testmodel.py, exit status != 0: 14.825780516002851 14.842878126 14.090456596 Calling exit ...