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.001817/0.001817, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001603/0.001603, allocations: 217 kB / 23.05 MB, free: 5.074 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.41/1.41, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.8193/0.8193, allocations: 134 MB / 447.2 MB, free: 10.23 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="cs",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.002129/0.002129, allocations: 64.94 kB / 0.6193 GB, free: 7.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1926, allocations: 85.91 MB / 0.7032 GB, free: 1.438 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.007642/0.2002, allocations: 4.232 MB / 0.7073 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.5718/0.772, allocations: 154 MB / 0.8577 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.7731, allocations: 19.88 kB / 0.8577 GB, free: 8.324 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0009982/0.7741, allocations: 174.4 kB / 0.8579 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002327/0.7764, allocations: 0.4955 MB / 0.8584 GB, free: 7.668 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002425/0.7789, allocations: 0.8338 MB / 0.8592 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00196/0.7808, allocations: 1.223 MB / 0.8604 GB, free: 5.652 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009878/0.7818, allocations: 450.1 kB / 0.8608 GB, free: 5.191 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008815/0.7827, allocations: 470.4 kB / 0.8613 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008252/0.7835, allocations: 461.9 kB / 0.8617 GB, free: 4.277 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002836/0.7838, allocations: 104 kB / 0.8618 GB, free: 4.176 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.785, allocations: 0.4974 MB / 0.8623 GB, free: 3.684 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004001/0.7854, allocations: 283 kB / 0.8626 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005459/0.7859, allocations: 0.4973 MB / 0.8631 GB, free: 2.906 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002097/0.788, allocations: 1.547 MB / 0.8646 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.788, allocations: 0 / 0.8646 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of FrontEnd: time 9.92e-07/0.788, allocations: 8 kB / 0.8646 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.788, allocations: 0 / 0.8646 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.002229/0.7903, allocations: 1.312 MB / 0.8659 GB, free: 4 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 7.106e-05/0.7903, allocations: 12.08 kB / 0.8659 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.137e-05/0.7904, allocations: 22.19 kB / 0.8659 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001551/0.7905, allocations: 131.1 kB / 0.866 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/0.7922, allocations: 232.1 kB / 0.8662 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.7933, allocations: 0.6867 MB / 0.8669 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.088e-05/0.7934, allocations: 65.98 kB / 0.867 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.7935, allocations: 80 kB / 0.8671 GB, free: 14.75 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001513/0.795, allocations: 0.8637 MB / 0.8679 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.795, allocations: 0 / 0.8679 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-05/0.7951, allocations: 36 kB / 0.8679 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/0.7951, allocations: 27.92 kB / 0.868 GB, free: 13.78 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.7969, allocations: 1.065 MB / 0.869 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003771/0.8007, allocations: 2.325 MB / 0.8713 GB, free: 10.32 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.802, allocations: 0.6788 MB / 0.8719 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/0.8025, allocations: 258.7 kB / 0.8722 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 9.356e-05/0.8026, allocations: 28.69 kB / 0.8722 GB, free: 9.355 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007817/0.8033, allocations: 431.2 kB / 0.8726 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 2.044e-06/0.8034, allocations: 0 / 0.8726 GB, free: 8.918 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.002938/0.8063, allocations: 1.007 MB / 0.8736 GB, free: 7.902 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.8064, allocations: 196.6 kB / 0.8738 GB, free: 7.668 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008684/0.8073, allocations: 0.6058 MB / 0.8744 GB, free: 7.055 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-05/0.8074, allocations: 37.7 kB / 0.8744 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003332/0.8077, allocations: 392.9 kB / 0.8748 GB, free: 6.621 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.8079, allocations: 253.8 kB / 0.875 GB, free: 6.371 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002167/0.8081, allocations: 134.3 kB / 0.8752 GB, free: 6.234 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.8083, allocations: 378.8 kB / 0.8755 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.8088, allocations: 221.1 kB / 0.8757 GB, free: 5.637 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005704/0.8093, allocations: 327.6 kB / 0.876 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009914/0.8103, allocations: 0.5363 MB / 0.8766 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.8103, allocations: 0 / 0.8766 GB, free: 4.738 MB / 0.6387 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001744/0.8121, allocations: 0.7318 MB / 0.8773 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.8121, allocations: 4 kB / 0.8773 GB, free: 3.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.8121, allocations: 4 kB / 0.8773 GB, free: 3.988 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005916/0.8127, allocations: 85.89 kB / 0.8774 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/0.8133, allocations: 139.8 kB / 0.8775 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.8155, allocations: 1.539 MB / 0.879 GB, free: 2.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005395/0.816, allocations: 79.61 kB / 0.8791 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.343e-05/0.8161, allocations: 23.98 kB / 0.8791 GB, free: 2.012 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.0004298/0.8165, allocations: 252 kB / 0.8793 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001673/0.8167, allocations: 87.42 kB / 0.8794 GB, free: 1.672 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002417/0.8191, allocations: 0.9995 MB / 0.8804 GB, free: 0.6602 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.8191, allocations: 12 kB / 0.8804 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.8191, allocations: 0 / 0.8804 GB, free: 0.6484 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.121e-05/0.8191, allocations: 3.984 kB / 0.8804 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003402/0.8225, allocations: 1.857 MB / 0.8822 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.748e-06/0.8225, allocations: 4 kB / 0.8822 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005718/0.8231, allocations: 143.8 kB / 0.8824 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004594/0.8236, allocations: 72.78 kB / 0.8824 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.483e-05/0.8236, allocations: 23.98 kB / 0.8825 GB, free: 14.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002074/0.8257, allocations: 1.563 MB / 0.884 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.8257, allocations: 3.938 kB / 0.884 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.8276, allocations: 0.9243 MB / 0.8849 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003937/0.828, allocations: 183.1 kB / 0.8851 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/0.8281, allocations: 19.94 kB / 0.8851 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005504/0.8287, allocations: 59.94 kB / 0.8852 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.8288, allocations: 64.88 kB / 0.8852 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.62e-05/0.8289, allocations: 31.92 kB / 0.8852 GB, free: 11.5 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000602/0.8295, allocations: 447 kB / 0.8857 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8295, allocations: 0 / 0.8857 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0008947/0.8304, allocations: 291.2 kB / 0.8859 GB, free: 10.79 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.004092/0.8345, allocations: 1.981 MB / 0.8879 GB, free: 8.996 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00161/0.8361, allocations: 0.7006 MB / 0.8886 GB, free: 8.289 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.67e-06/0.8361, allocations: 8 kB / 0.8886 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008544/0.8369, allocations: 464.2 kB / 0.889 GB, free: 7.816 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.8382, allocations: 273.8 kB / 0.8893 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01054/0.8487, allocations: 5.984 MB / 0.8951 GB, free: 1.465 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006741/0.8494, allocations: 1.012 MB / 0.8961 GB, free: 432 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.000783/0.8502, allocations: 254.3 kB / 0.8964 GB, free: 172 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005668/0.8507, allocations: 363.4 kB / 0.8967 GB, free: 15.81 MB / 0.67 GB Notification: Performance of SimCode: time 8.32e-07/0.8507, allocations: 0 / 0.8967 GB, free: 15.81 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06011/0.9108, allocations: 20.87 MB / 0.9171 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/14.38, allocations: 10.67 kB / 0.9171 GB, free: 11.1 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.128479756065644] Failed to read output from testmodel.py, exit status != 0: 14.65399121795781 14.670686303 13.879368272 Calling exit ...