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.001685/0.001685, allocations: 114.3 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.002132/0.002132, allocations: 217 kB / 22.25 MB, free: 5.082 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.366/1.366, allocations: 230.6 MB / 256 MB, free: 8.027 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.8102/0.8102, allocations: 134 MB / 446.4 MB, free: 10.24 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.001877/0.001877, allocations: 69.89 kB / 0.6185 GB, free: 7.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1451, allocations: 85.9 MB / 0.7024 GB, free: 1.406 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006315/0.1514, allocations: 4.243 MB / 0.7066 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.4582/0.6096, allocations: 154 MB / 0.857 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006218/0.6102, allocations: 23.81 kB / 0.857 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006083/0.6108, allocations: 174.4 kB / 0.8571 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.6124, allocations: 496 kB / 0.8576 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001944/0.6143, allocations: 0.852 MB / 0.8584 GB, free: 6.758 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001546/0.6159, allocations: 1.215 MB / 0.8596 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008113/0.6167, allocations: 454.1 kB / 0.8601 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007335/0.6174, allocations: 466.3 kB / 0.8605 GB, free: 4.617 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006855/0.6181, allocations: 465.9 kB / 0.861 GB, free: 4.16 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.6183, allocations: 104 kB / 0.8611 GB, free: 4.059 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009443/0.6192, allocations: 0.5013 MB / 0.8615 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.6195, allocations: 275.1 kB / 0.8618 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005495/0.6201, allocations: 0.5051 MB / 0.8623 GB, free: 2.785 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.6221, allocations: 1.539 MB / 0.8638 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.6221, allocations: 3.938 kB / 0.8638 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.182e-06/0.6221, allocations: 0 / 0.8638 GB, free: 1.242 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.523e-05/0.6222, allocations: 0 / 0.8638 GB, free: 1.242 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.002489/0.6247, allocations: 1.314 MB / 0.8651 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.074e-05/0.6247, allocations: 8.031 kB / 0.8651 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001579/0.6249, allocations: 131.2 kB / 0.8652 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.6266, allocations: 240 kB / 0.8655 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001206/0.6278, allocations: 0.6884 MB / 0.8661 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.641e-05/0.6278, allocations: 64.06 kB / 0.8662 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.6279, allocations: 80 kB / 0.8663 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.6294, allocations: 0.8753 MB / 0.8671 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.6294, allocations: 0 / 0.8671 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.291e-05/0.6295, allocations: 32 kB / 0.8671 GB, free: 13.71 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.873e-05/0.6295, allocations: 23.94 kB / 0.8672 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001697/0.6312, allocations: 1.065 MB / 0.8682 GB, free: 12.62 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003753/0.6349, allocations: 2.317 MB / 0.8705 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/0.6362, allocations: 0.6749 MB / 0.8711 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004886/0.6367, allocations: 254.7 kB / 0.8714 GB, free: 9.309 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 8.263e-05/0.6368, allocations: 36.67 kB / 0.8714 GB, free: 9.27 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000766/0.6376, allocations: 427.2 kB / 0.8718 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=73): time 1.883e-06/0.6376, allocations: 0 / 0.8718 GB, free: 8.836 MB / 0.6387 GB Notification: Performance of matching and sorting (n=73): time 0.002924/0.6405, allocations: 1.015 MB / 0.8728 GB, free: 7.812 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.6406, allocations: 192.5 kB / 0.873 GB, free: 7.582 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007494/0.6413, allocations: 0.6058 MB / 0.8736 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.097e-05/0.6414, allocations: 41.7 kB / 0.8736 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.6417, allocations: 396.8 kB / 0.874 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.6419, allocations: 249.9 kB / 0.8742 GB, free: 6.277 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/0.6421, allocations: 142.2 kB / 0.8744 GB, free: 6.133 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.6423, allocations: 378.8 kB / 0.8747 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004357/0.6428, allocations: 213.2 kB / 0.8749 GB, free: 5.543 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005487/0.6433, allocations: 327.6 kB / 0.8753 GB, free: 5.195 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009989/0.6443, allocations: 0.5363 MB / 0.8758 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.6443, allocations: 0 / 0.8758 GB, free: 4.645 MB / 0.6387 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001722/0.646, allocations: 0.7326 MB / 0.8765 GB, free: 3.902 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6461, allocations: 8 kB / 0.8765 GB, free: 3.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.6461, allocations: 3.984 kB / 0.8765 GB, free: 3.891 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/0.6467, allocations: 84.84 kB / 0.8766 GB, free: 3.805 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005725/0.6472, allocations: 135.8 kB / 0.8767 GB, free: 3.672 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002126/0.6494, allocations: 1.535 MB / 0.8782 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005035/0.6499, allocations: 79.52 kB / 0.8783 GB, free: 1.945 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.6499, allocations: 27.98 kB / 0.8783 GB, free: 1.918 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.0003497/0.6503, allocations: 253.7 kB / 0.8786 GB, free: 1.66 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.6504, allocations: 83.55 kB / 0.8786 GB, free: 1.578 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.6527, allocations: 0.9973 MB / 0.8796 GB, free: 0.5664 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.6527, allocations: 8 kB / 0.8796 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.6527, allocations: 0 / 0.8796 GB, free: 0.5586 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/0.6527, allocations: 3.984 kB / 0.8796 GB, free: 0.5547 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003165/0.6558, allocations: 1.857 MB / 0.8814 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.6558, allocations: 4 kB / 0.8814 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005501/0.6564, allocations: 147.8 kB / 0.8816 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004263/0.6568, allocations: 76.78 kB / 0.8817 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/0.6569, allocations: 19.98 kB / 0.8817 GB, free: 14.4 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.6587, allocations: 1.566 MB / 0.8832 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.6587, allocations: 0 / 0.8832 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001791/0.6605, allocations: 0.9242 MB / 0.8841 GB, free: 11.77 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003524/0.6609, allocations: 183.2 kB / 0.8843 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.661, allocations: 19.94 kB / 0.8843 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/0.6615, allocations: 58.28 kB / 0.8844 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.6617, allocations: 68.81 kB / 0.8844 GB, free: 11.45 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.218e-05/0.6617, allocations: 31.98 kB / 0.8845 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0005395/0.6623, allocations: 451 kB / 0.8849 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6623, allocations: 0 / 0.8849 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0007335/0.663, allocations: 287.2 kB / 0.8852 GB, free: 10.7 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.003793/0.6668, allocations: 1.973 MB / 0.8871 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001428/0.6682, allocations: 0.7004 MB / 0.8878 GB, free: 8.203 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.6682, allocations: 4.25 kB / 0.8878 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008551/0.6691, allocations: 472.1 kB / 0.8882 GB, free: 7.727 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.6701, allocations: 289.1 kB / 0.8885 GB, free: 7.473 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.6804, allocations: 5.971 MB / 0.8943 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006604/0.6811, allocations: 1.011 MB / 0.8953 GB, free: 356 kB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0007785/0.6819, allocations: 262.2 kB / 0.8956 GB, free: 88 kB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005294/0.6824, allocations: 363.4 kB / 0.8959 GB, free: 15.73 MB / 0.67 GB Notification: Performance of SimCode: time 6.41e-07/0.6824, allocations: 0 / 0.8959 GB, free: 15.73 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06247/0.7449, allocations: 20.82 MB / 0.9162 GB, free: 11.07 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.17/13.91, allocations: 8.047 kB / 0.9163 GB, free: 11.06 MB / 0.6856 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.444094642996788] Failed to read output from testmodel.py, exit status != 0: 14.141667827032506 14.171341727 13.543984929 Calling exit ...