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.001323/0.001323, allocations: 115.4 kB / 17.16 MB, free: 5.895 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.001612/0.001612, allocations: 215 kB / 20.13 MB, free: 2.949 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.441/1.441, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.9062/0.9062, allocations: 133.9 MB / 443.5 MB, free: 13.91 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.001957/0.001957, allocations: 64.98 kB / 0.6141 GB, free: 38.18 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1548, allocations: 85.86 MB / 0.6979 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006728/0.1615, allocations: 4.191 MB / 0.702 GB, free: 10.31 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1907/0.3522, allocations: 153.9 MB / 0.8523 GB, free: 308 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001062/0.3532, allocations: 23.81 kB / 0.8523 GB, free: 284 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0008699/0.3541, allocations: 166.5 kB / 0.8525 GB, free: 116 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.002344/0.3564, allocations: 0.4952 MB / 0.8529 GB, free: 15.62 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.3592, allocations: 0.8159 MB / 0.8537 GB, free: 14.81 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002186/0.3613, allocations: 1.211 MB / 0.8549 GB, free: 13.6 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001078/0.3624, allocations: 472.9 kB / 0.8554 GB, free: 13.11 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008838/0.3633, allocations: 466.4 kB / 0.8558 GB, free: 12.65 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000872/0.3642, allocations: 461.9 kB / 0.8563 GB, free: 12.2 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.3645, allocations: 104 kB / 0.8564 GB, free: 12.1 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001247/0.3657, allocations: 0.4918 MB / 0.8568 GB, free: 11.61 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003813/0.3661, allocations: 279.1 kB / 0.8571 GB, free: 11.33 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0007724/0.3669, allocations: 0.5089 MB / 0.8576 GB, free: 10.82 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002645/0.3695, allocations: 1.535 MB / 0.8591 GB, free: 9.281 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.3695, allocations: 0 / 0.8591 GB, free: 9.281 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.585e-06/0.3695, allocations: 0 / 0.8591 GB, free: 9.281 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.815e-05/0.3696, allocations: 4 kB / 0.8591 GB, free: 9.277 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.003714/0.3733, allocations: 1.399 MB / 0.8605 GB, free: 7.82 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.3734, allocations: 13.7 kB / 0.8605 GB, free: 7.809 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.256e-05/0.3734, allocations: 18.19 kB / 0.8605 GB, free: 7.793 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003543/0.3738, allocations: 127.2 kB / 0.8606 GB, free: 7.66 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001875/0.3756, allocations: 240.1 kB / 0.8609 GB, free: 7.426 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001508/0.3771, allocations: 0.7463 MB / 0.8616 GB, free: 6.633 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.455e-05/0.3772, allocations: 65.94 kB / 0.8616 GB, free: 6.57 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.3774, allocations: 76 kB / 0.8617 GB, free: 6.496 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/0.3792, allocations: 0.8637 MB / 0.8626 GB, free: 5.59 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.3792, allocations: 4 kB / 0.8626 GB, free: 5.586 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/0.3793, allocations: 36 kB / 0.8626 GB, free: 5.551 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.3793, allocations: 20 kB / 0.8626 GB, free: 5.531 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.3812, allocations: 1.069 MB / 0.8637 GB, free: 4.465 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004007/0.3852, allocations: 2.375 MB / 0.866 GB, free: 2.02 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.3866, allocations: 0.7548 MB / 0.8667 GB, free: 1.242 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.3871, allocations: 254.7 kB / 0.867 GB, free: 0.9844 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.747e-05/0.3871, allocations: 32.67 kB / 0.867 GB, free: 0.9531 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008012/0.3879, allocations: 435.2 kB / 0.8674 GB, free: 0.5117 MB / 0.67 GB Notification: Performance of pre-optimization done (n=73): time 4.488e-06/0.388, allocations: 3.984 kB / 0.8674 GB, free: 0.5078 MB / 0.67 GB Notification: Performance of matching and sorting (n=73): time 0.333/0.721, allocations: 1.075 MB / 0.8685 GB, free: 169.5 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.431e-05/0.721, allocations: 190.7 kB / 0.8686 GB, free: 169.3 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009822/0.722, allocations: 0.611 MB / 0.8692 GB, free: 169.2 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.322e-05/0.7221, allocations: 43.09 kB / 0.8693 GB, free: 169.1 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002942/0.7224, allocations: 392 kB / 0.8697 GB, free: 168.9 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/0.7226, allocations: 254.8 kB / 0.8699 GB, free: 168.8 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.7228, allocations: 137 kB / 0.87 GB, free: 168.7 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.7229, allocations: 383.7 kB / 0.8704 GB, free: 168.4 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004775/0.7234, allocations: 214 kB / 0.8706 GB, free: 168.3 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005792/0.724, allocations: 326.4 kB / 0.8709 GB, free: 168.1 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.725, allocations: 0.5367 MB / 0.8714 GB, free: 167.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.725, allocations: 0 / 0.8714 GB, free: 167.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001831/0.7268, allocations: 0.7313 MB / 0.8722 GB, free: 167.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.7269, allocations: 6.328 kB / 0.8722 GB, free: 167.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.7269, allocations: 0.7188 kB / 0.8722 GB, free: 167.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006348/0.7275, allocations: 81.62 kB / 0.8722 GB, free: 167.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.7281, allocations: 145.3 kB / 0.8724 GB, free: 167.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002164/0.7303, allocations: 1.626 MB / 0.874 GB, free: 166 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006085/0.7309, allocations: 81.2 kB / 0.874 GB, free: 166 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-05/0.7309, allocations: 27.92 kB / 0.8741 GB, free: 166 MB / 0.67 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.0004182/0.7314, allocations: 261.7 kB / 0.8743 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.7315, allocations: 80.83 kB / 0.8744 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.734, allocations: 0.9952 MB / 0.8754 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.734, allocations: 10.27 kB / 0.8754 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.734, allocations: 3.469 kB / 0.8754 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/0.734, allocations: 8.203 kB / 0.8754 GB, free: 165.4 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/0.7374, allocations: 1.888 MB / 0.8772 GB, free: 164.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.7374, allocations: 0 / 0.8772 GB, free: 164.5 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000588/0.738, allocations: 151.9 kB / 0.8774 GB, free: 164.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004502/0.7385, allocations: 72.89 kB / 0.8774 GB, free: 164.5 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.055e-05/0.7385, allocations: 24.17 kB / 0.8775 GB, free: 164.5 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001616/0.7401, allocations: 1.66 MB / 0.8791 GB, free: 162.9 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.7401, allocations: 3.516 kB / 0.8791 GB, free: 162.9 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.7423, allocations: 0.9329 MB / 0.88 GB, free: 162.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003298/0.7426, allocations: 262.5 kB / 0.8803 GB, free: 162.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.7427, allocations: 16.88 kB / 0.8803 GB, free: 162.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005599/0.7433, allocations: 52.61 kB / 0.8803 GB, free: 162.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001563/0.7434, allocations: 61.22 kB / 0.8804 GB, free: 162.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.729e-05/0.7435, allocations: 28.36 kB / 0.8804 GB, free: 162.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007252/0.7442, allocations: 452.4 kB / 0.8808 GB, free: 162.1 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.7442, allocations: 0 / 0.8808 GB, free: 162.1 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001098/0.7453, allocations: 292.7 kB / 0.8811 GB, free: 162 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: 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.003883/0.7492, allocations: 1.984 MB / 0.8831 GB, free: 161 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001491/0.7507, allocations: 0.7058 MB / 0.8837 GB, free: 160.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.7507, allocations: 1.625 kB / 0.8837 GB, free: 160.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.00078/0.7515, allocations: 472.1 kB / 0.8842 GB, free: 160.4 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.7526, allocations: 291.2 kB / 0.8845 GB, free: 160.4 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008811/0.7614, allocations: 5.973 MB / 0.8903 GB, free: 155.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.7618, allocations: 1.011 MB / 0.8913 GB, free: 154.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006527/0.7625, allocations: 261.4 kB / 0.8915 GB, free: 154.6 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/0.7629, allocations: 363.3 kB / 0.8919 GB, free: 154.2 MB / 0.67 GB Notification: Performance of SimCode: time 7.72e-07/0.7629, allocations: 4 kB / 0.8919 GB, free: 154.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04269/0.8056, allocations: 20.34 MB / 0.9118 GB, free: 134.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.53, allocations: 7.812 kB / 0.9118 GB, free: 134.2 MB / 0.67 GB " [Timeout remaining time 646] (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: 17.486902490025386] Failed to read output from testmodel.py, exit status != 0: 14.069146521971561 13.785810668 13.414096069 Calling exit ...