Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007719/0.0007719, allocations: 105.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0008011/0.0008011, allocations: 219.1 kB / 22.26 MB, free: 3.699 MB / 13.93 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 0.9746/0.9746, allocations: 230.6 MB / 256 MB, free: 9.832 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.799/0.799, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,fileNamePrefix="IDEAS_dev_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.0008903/0.0008903, allocations: 66.83 kB / 0.7182 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.5585, allocations: 102 MB / 0.8179 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.004935/0.5635, allocations: 5.051 MB / 0.8228 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1433/0.7068, allocations: 154.2 MB / 0.9733 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009582/0.7077, allocations: 19.88 kB / 0.9734 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005701/0.7083, allocations: 198.1 kB / 0.9736 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.7097, allocations: 0.5776 MB / 0.9741 GB, free: 5.398 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001733/0.7114, allocations: 0.8978 MB / 0.975 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001214/0.7127, allocations: 1.46 MB / 0.9764 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005444/0.7132, allocations: 418.1 kB / 0.9768 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005833/0.7138, allocations: 0.5295 MB / 0.9773 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004304/0.7142, allocations: 0.5351 MB / 0.9779 GB, free: 1.543 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001108/0.7143, allocations: 120 kB / 0.978 GB, free: 1.426 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007268/0.715, allocations: 0.5152 MB / 0.9785 GB, free: 0.9102 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002022/0.7152, allocations: 311 kB / 0.9788 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003288/0.7156, allocations: 0.583 MB / 0.9793 GB, free: 20 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001346/0.7169, allocations: 1.73 MB / 0.981 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.7169, allocations: 0 / 0.981 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7169, allocations: 0 / 0.981 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.7169, allocations: 0 / 0.981 GB, free: 14.29 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 219 * Number of variables: 219 Notification: Performance of Generate backend data structure: time 0.001578/0.7185, allocations: 1.46 MB / 0.9825 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.7186, allocations: 15.97 kB / 0.9825 GB, free: 12.77 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001102/0.7187, allocations: 135.6 kB / 0.9826 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008583/0.7195, allocations: 252 kB / 0.9828 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008625/0.7204, allocations: 0.7219 MB / 0.9835 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/0.7204, allocations: 66 kB / 0.9836 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.7205, allocations: 91.97 kB / 0.9837 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.7215, allocations: 0.9418 MB / 0.9846 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.7215, allocations: 4 kB / 0.9846 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.133e-05/0.7216, allocations: 36 kB / 0.9847 GB, free: 10.46 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.7216, allocations: 24 kB / 0.9847 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.7227, allocations: 1.132 MB / 0.9858 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002548/0.7253, allocations: 2.736 MB / 0.9885 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.7263, allocations: 0.7909 MB / 0.9892 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003411/0.7266, allocations: 289.2 kB / 0.9895 GB, free: 5.355 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.157e-05/0.7267, allocations: 36.67 kB / 0.9895 GB, free: 5.32 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000562/0.7272, allocations: 0.5201 MB / 0.99 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=85): time 1.763e-06/0.7273, allocations: 0 / 0.99 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85): time 0.001832/0.7291, allocations: 1.18 MB / 0.9912 GB, free: 3.598 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.76e-05/0.7292, allocations: 204.8 kB / 0.9914 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005394/0.7297, allocations: 0.6684 MB / 0.992 GB, free: 2.676 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.5e-05/0.7297, allocations: 45.7 kB / 0.9921 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002113/0.73, allocations: 421 kB / 0.9925 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.7301, allocations: 281.6 kB / 0.9928 GB, free: 1.93 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.7302, allocations: 158.6 kB / 0.9929 GB, free: 1.77 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.7304, allocations: 386.8 kB / 0.9933 GB, free: 1.383 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/0.7307, allocations: 257.9 kB / 0.9935 GB, free: 1.133 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003925/0.7311, allocations: 375.4 kB / 0.9939 GB, free: 0.7344 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007043/0.7318, allocations: 0.6172 MB / 0.9945 GB, free: 108 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.7318, allocations: 0 / 0.9945 GB, free: 108 kB / 0.7605 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001117/0.7329, allocations: 0.8414 MB / 0.9953 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.7329, allocations: 7.938 kB / 0.9953 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.7329, allocations: 4 kB / 0.9953 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002916/0.7332, allocations: 80.91 kB / 0.9954 GB, free: 15.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.7336, allocations: 163.7 kB / 0.9956 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.7348, allocations: 1.531 MB / 0.997 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003199/0.7351, allocations: 99.53 kB / 0.9971 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.062e-05/0.7352, allocations: 35.91 kB / 0.9972 GB, free: 13.21 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 18 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 92 * 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.0002572/0.7354, allocations: 277.3 kB / 0.9974 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.7355, allocations: 91.44 kB / 0.9975 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001446/0.737, allocations: 1.144 MB / 0.9986 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.737, allocations: 12 kB / 0.9987 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.737, allocations: 0 / 0.9987 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.737, allocations: 3.984 kB / 0.9987 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.739, allocations: 2.012 MB / 1.001 GB, free: 9.598 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.739, allocations: 8 kB / 1.001 GB, free: 9.59 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003109/0.7393, allocations: 151.8 kB / 1.001 GB, free: 9.441 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001963/0.7395, allocations: 72.78 kB / 1.001 GB, free: 9.367 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.7396, allocations: 27.97 kB / 1.001 GB, free: 9.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001052/0.7406, allocations: 1.559 MB / 1.002 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.7406, allocations: 4 kB / 1.002 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.7418, allocations: 1.061 MB / 1.003 GB, free: 6.578 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002574/0.7421, allocations: 215 kB / 1.004 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.691e-05/0.7422, allocations: 23.94 kB / 1.004 GB, free: 6.344 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003233/0.7425, allocations: 63.92 kB / 1.004 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.7426, allocations: 84.84 kB / 1.004 GB, free: 6.199 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/0.7426, allocations: 39.97 kB / 1.004 GB, free: 6.16 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003819/0.743, allocations: 487 kB / 1.004 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.1e-08/0.743, allocations: 0 / 1.004 GB, free: 5.691 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005577/0.7436, allocations: 339.1 kB / 1.005 GB, free: 5.359 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.00232/0.7459, allocations: 2.104 MB / 1.007 GB, free: 3.445 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001043/0.7469, allocations: 0.8155 MB / 1.007 GB, free: 2.617 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.747, allocations: 0 / 1.007 GB, free: 2.617 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005392/0.7475, allocations: 0.5082 MB / 1.008 GB, free: 2.098 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006995/0.7482, allocations: 313.2 kB / 1.008 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006548/0.7547, allocations: 6.499 MB / 1.015 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.7552, allocations: 1.044 MB / 1.016 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0004933/0.7557, allocations: 275 kB / 1.016 GB, free: 9.805 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003947/0.7561, allocations: 407.3 kB / 1.016 GB, free: 9.406 MB / 0.7917 GB Notification: Performance of SimCode: time 5.61e-07/0.7561, allocations: 0 / 1.016 GB, free: 9.406 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03782/0.7939, allocations: 23.23 MB / 1.039 GB, free: 2.355 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.599/9.392, allocations: 5.656 kB / 1.039 GB, free: 2.352 MB / 0.8073 GB " [Timeout remaining time 650] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.589867377886549] Failed to read output from testmodel.py, exit status != 0: 9.5451866670046 9.552918467 8.834272212 Calling exit ...