Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001505/0.001505, allocations: 115.6 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.002112/0.002112, 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.444/1.444, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.8559/0.8559, allocations: 133.9 MB / 443.5 MB, free: 13.96 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.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle",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.001967/0.001967, allocations: 67.64 kB / 0.6141 GB, free: 38.36 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1477, allocations: 85.84 MB / 0.6979 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006103/0.1538, allocations: 4.108 MB / 0.7019 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1875/0.3413, allocations: 153.8 MB / 0.8522 GB, free: 420 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007686/0.342, allocations: 23.81 kB / 0.8522 GB, free: 396 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005547/0.3426, allocations: 170.5 kB / 0.8523 GB, free: 224 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001641/0.3442, allocations: 497.1 kB / 0.8528 GB, free: 15.73 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001994/0.3462, allocations: 0.8051 MB / 0.8536 GB, free: 14.94 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001341/0.3476, allocations: 1.176 MB / 0.8548 GB, free: 13.76 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007059/0.3483, allocations: 444.3 kB / 0.8552 GB, free: 13.31 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005648/0.3488, allocations: 442.5 kB / 0.8556 GB, free: 12.88 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005113/0.3494, allocations: 446 kB / 0.856 GB, free: 12.44 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001417/0.3495, allocations: 104 kB / 0.8561 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000956/0.3505, allocations: 0.4956 MB / 0.8566 GB, free: 11.84 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.3507, allocations: 271.1 kB / 0.8569 GB, free: 11.57 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004519/0.3512, allocations: 0.4896 MB / 0.8573 GB, free: 11.08 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.353, allocations: 1.506 MB / 0.8588 GB, free: 9.57 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.353, allocations: 4 kB / 0.8588 GB, free: 9.566 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.122e-06/0.353, allocations: 0 / 0.8588 GB, free: 9.566 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.728e-05/0.3531, allocations: 3.938 kB / 0.8588 GB, free: 9.562 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.002232/0.3553, allocations: 1.356 MB / 0.8601 GB, free: 8.152 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3553, allocations: 17.64 kB / 0.8602 GB, free: 8.137 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.133e-05/0.3554, allocations: 22.12 kB / 0.8602 GB, free: 8.113 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001519/0.3555, allocations: 135 kB / 0.8603 GB, free: 7.973 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/0.3569, allocations: 216.1 kB / 0.8605 GB, free: 7.762 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001107/0.3581, allocations: 0.7387 MB / 0.8612 GB, free: 6.98 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.259e-05/0.3581, allocations: 61.94 kB / 0.8613 GB, free: 6.918 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.3582, allocations: 72 kB / 0.8614 GB, free: 6.848 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00143/0.3596, allocations: 0.8403 MB / 0.8622 GB, free: 5.969 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.3597, allocations: 7.938 kB / 0.8622 GB, free: 5.961 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.638e-05/0.3597, allocations: 32 kB / 0.8622 GB, free: 5.93 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.592e-05/0.3598, allocations: 16 kB / 0.8622 GB, free: 5.914 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/0.3615, allocations: 1.042 MB / 0.8633 GB, free: 4.871 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003568/0.365, allocations: 2.325 MB / 0.8655 GB, free: 2.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/0.3663, allocations: 0.7426 MB / 0.8663 GB, free: 1.715 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004974/0.3668, allocations: 246.4 kB / 0.8665 GB, free: 1.465 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 7.734e-05/0.3669, allocations: 28.59 kB / 0.8665 GB, free: 1.438 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007517/0.3677, allocations: 409.8 kB / 0.8669 GB, free: 1.023 MB / 0.67 GB Notification: Performance of pre-optimization done (n=70): time 2.325e-06/0.3677, allocations: 0 / 0.8669 GB, free: 1.023 MB / 0.67 GB Notification: Performance of matching and sorting (n=70): time 0.314/0.6816, allocations: 1.056 MB / 0.8679 GB, free: 169.7 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.6817, allocations: 188.9 kB / 0.8681 GB, free: 169.5 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000945/0.6826, allocations: 0.6042 MB / 0.8687 GB, free: 169.4 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.6828, allocations: 37.48 kB / 0.8687 GB, free: 169.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.6831, allocations: 381.3 kB / 0.8691 GB, free: 169.2 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001748/0.6832, allocations: 245.5 kB / 0.8693 GB, free: 169.1 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.6834, allocations: 135.1 kB / 0.8695 GB, free: 169 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.6835, allocations: 378.6 kB / 0.8698 GB, free: 168.7 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.684, allocations: 206.1 kB / 0.87 GB, free: 168.6 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005235/0.6845, allocations: 318 kB / 0.8703 GB, free: 168.5 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009406/0.6854, allocations: 0.5057 MB / 0.8708 GB, free: 168.2 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.6854, allocations: 1.969 kB / 0.8708 GB, free: 168.2 MB / 0.67 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001749/0.6872, allocations: 0.7088 MB / 0.8715 GB, free: 168 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.6872, allocations: 6.031 kB / 0.8715 GB, free: 168 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6872, allocations: 3.406 kB / 0.8715 GB, free: 168 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006145/0.6878, allocations: 84.59 kB / 0.8716 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005792/0.6884, allocations: 130.3 kB / 0.8717 GB, free: 167.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001772/0.6902, allocations: 1.634 MB / 0.8733 GB, free: 166.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/0.6907, allocations: 79.73 kB / 0.8734 GB, free: 166.4 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/0.6908, allocations: 26.16 kB / 0.8734 GB, free: 166.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (73): * Single equations (assignments): 72 * 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.0002995/0.6911, allocations: 242.5 kB / 0.8737 GB, free: 166.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.6912, allocations: 84.39 kB / 0.8737 GB, free: 166.1 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002142/0.6933, allocations: 0.9524 MB / 0.8747 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.6934, allocations: 7.812 kB / 0.8747 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.6934, allocations: 0.8438 kB / 0.8747 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.368e-05/0.6934, allocations: 4.406 kB / 0.8747 GB, free: 165.8 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.6963, allocations: 1.812 MB / 0.8765 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.6963, allocations: 0.8906 kB / 0.8765 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00054/0.6969, allocations: 136.5 kB / 0.8766 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004129/0.6973, allocations: 72.42 kB / 0.8767 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.755e-05/0.6973, allocations: 24.66 kB / 0.8767 GB, free: 164.9 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.6988, allocations: 1.662 MB / 0.8783 GB, free: 163.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6989, allocations: 8.812 kB / 0.8783 GB, free: 163.3 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001745/0.7006, allocations: 0.8838 MB / 0.8792 GB, free: 162.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002814/0.7009, allocations: 262.8 kB / 0.8794 GB, free: 162.7 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.405e-05/0.701, allocations: 21.61 kB / 0.8794 GB, free: 162.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005509/0.7015, allocations: 52.89 kB / 0.8795 GB, free: 162.7 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.7017, allocations: 58.17 kB / 0.8796 GB, free: 162.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-05/0.7017, allocations: 31.86 kB / 0.8796 GB, free: 162.7 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006609/0.7024, allocations: 452.1 kB / 0.88 GB, free: 162.5 MB / 0.67 GB Notification: Performance of sort global known variables: time 9e-08/0.7024, allocations: 0 / 0.88 GB, free: 162.5 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009369/0.7033, allocations: 280.1 kB / 0.8803 GB, free: 162.4 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 (81): * Single equations (assignments): 78 * 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.00389/0.7072, allocations: 1.943 MB / 0.8822 GB, free: 161.4 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.7087, allocations: 0.6885 MB / 0.8828 GB, free: 161.1 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.7087, allocations: 0 / 0.8828 GB, free: 161.1 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007254/0.7094, allocations: 451.6 kB / 0.8833 GB, free: 160.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.7105, allocations: 283.5 kB / 0.8836 GB, free: 160.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008646/0.7191, allocations: 5.844 MB / 0.8893 GB, free: 157 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.7195, allocations: 0.9914 MB / 0.8902 GB, free: 155.9 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0006557/0.7201, allocations: 259.9 kB / 0.8905 GB, free: 155.7 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003826/0.7205, allocations: 356 kB / 0.8908 GB, free: 155.3 MB / 0.67 GB Notification: Performance of SimCode: time 6.51e-07/0.7205, allocations: 0 / 0.8908 GB, free: 155.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04458/0.7651, allocations: 19.87 MB / 0.9102 GB, free: 135.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/13.47, allocations: 10.41 kB / 0.9102 GB, free: 135.8 MB / 0.67 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_SolarHourAngle.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.387581192015205] Failed to read output from testmodel.py, exit status != 0: 13.998383749043569 13.7414819 13.386291414 Calling exit ...