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.001075/0.001075, allocations: 109.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.001566/0.001566, allocations: 217.7 kB / 22.25 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 1.014/1.014, allocations: 230.6 MB / 256 MB, free: 9.785 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.8126/0.8126, allocations: 203.8 MB / 0.5042 GB, free: 10.71 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.0009728/0.0009728, allocations: 65.86 kB / 0.7182 GB, free: 4.344 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5386/0.5396, allocations: 102 MB / 0.8178 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.005227/0.5448, allocations: 5.05 MB / 0.8228 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.1525/0.6973, allocations: 154.2 MB / 0.9734 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001137/0.6985, allocations: 23.81 kB / 0.9734 GB, free: 6.168 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007418/0.6992, allocations: 194.2 kB / 0.9736 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.002044/0.7012, allocations: 0.5736 MB / 0.9741 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002192/0.7034, allocations: 0.8992 MB / 0.975 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001595/0.705, allocations: 1.456 MB / 0.9764 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005955/0.7056, allocations: 418.2 kB / 0.9768 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006669/0.7063, allocations: 0.5294 MB / 0.9773 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004879/0.7068, allocations: 0.529 MB / 0.9779 GB, free: 1.551 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001268/0.7069, allocations: 124 kB / 0.978 GB, free: 1.43 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009367/0.7078, allocations: 0.5113 MB / 0.9785 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002176/0.7081, allocations: 318.9 kB / 0.9788 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0006532/0.7087, allocations: 0.5752 MB / 0.9793 GB, free: 28 kB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001719/0.7104, allocations: 1.734 MB / 0.981 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7104, allocations: 0 / 0.981 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.864e-06/0.7104, allocations: 0 / 0.981 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.769e-05/0.7105, allocations: 3.938 kB / 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.001724/0.7122, allocations: 1.46 MB / 0.9825 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.7122, allocations: 8.031 kB / 0.9825 GB, free: 12.78 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001077/0.7123, allocations: 139.6 kB / 0.9826 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.7132, allocations: 252 kB / 0.9828 GB, free: 12.39 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/0.7141, allocations: 0.7219 MB / 0.9835 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.691e-05/0.7141, allocations: 73.98 kB / 0.9836 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.09e-05/0.7142, allocations: 84 kB / 0.9837 GB, free: 11.49 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001103/0.7153, allocations: 0.9418 MB / 0.9846 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.7153, allocations: 3.938 kB / 0.9846 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.7154, allocations: 36 kB / 0.9847 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.667e-05/0.7154, allocations: 24 kB / 0.9847 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.7165, allocations: 1.124 MB / 0.9858 GB, free: 9.316 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.7197, allocations: 2.744 MB / 0.9885 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.7207, allocations: 0.787 MB / 0.9892 GB, free: 5.648 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.721, allocations: 286.7 kB / 0.9895 GB, free: 5.363 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.7211, allocations: 36.67 kB / 0.9895 GB, free: 5.328 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005811/0.7217, allocations: 0.5269 MB / 0.99 GB, free: 4.785 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=85): time 2.294e-06/0.7217, allocations: 3.938 kB / 0.99 GB, free: 4.781 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85): time 0.00192/0.7236, allocations: 1.184 MB / 0.9912 GB, free: 3.594 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.7237, allocations: 196.8 kB / 0.9914 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000618/0.7243, allocations: 0.6685 MB / 0.992 GB, free: 2.68 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.603e-05/0.7243, allocations: 41.7 kB / 0.9921 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002388/0.7246, allocations: 421 kB / 0.9925 GB, free: 2.215 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.7247, allocations: 281.6 kB / 0.9928 GB, free: 1.938 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.7249, allocations: 158.6 kB / 0.9929 GB, free: 1.777 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003688/0.7253, allocations: 386.8 kB / 0.9933 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003279/0.7256, allocations: 261.9 kB / 0.9935 GB, free: 1.137 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003797/0.726, allocations: 371.4 kB / 0.9939 GB, free: 0.7422 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006818/0.7267, allocations: 0.6133 MB / 0.9945 GB, free: 120 kB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7267, allocations: 0 / 0.9945 GB, free: 120 kB / 0.7605 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001198/0.7279, allocations: 0.8492 MB / 0.9953 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.7279, allocations: 7.938 kB / 0.9953 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7279, allocations: 0 / 0.9953 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003048/0.7282, allocations: 88.75 kB / 0.9954 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.7285, allocations: 159.8 kB / 0.9956 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.7299, allocations: 1.531 MB / 0.997 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.7304, allocations: 101.7 kB / 0.9971 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.7304, 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.0004224/0.7308, allocations: 282.3 kB / 0.9974 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.731, allocations: 87.62 kB / 0.9975 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.7325, allocations: 1.144 MB / 0.9986 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.7325, allocations: 15.98 kB / 0.9987 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.7325, allocations: 0 / 0.9987 GB, free: 11.67 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.7325, allocations: 3.984 kB / 0.9987 GB, free: 11.66 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002736/0.7352, allocations: 2.008 MB / 1.001 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.7352, allocations: 0 / 1.001 GB, free: 9.602 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003263/0.7356, allocations: 155.8 kB / 1.001 GB, free: 9.449 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000221/0.7358, allocations: 72.78 kB / 1.001 GB, free: 9.375 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.963e-05/0.7358, allocations: 31.97 kB / 1.001 GB, free: 9.344 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.737, allocations: 1.566 MB / 1.002 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.737, allocations: 0 / 1.002 GB, free: 7.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001425/0.7384, allocations: 1.053 MB / 1.003 GB, free: 6.586 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.7388, allocations: 207 kB / 1.004 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.608e-05/0.7388, allocations: 27.94 kB / 1.004 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/0.7392, allocations: 70.59 kB / 1.004 GB, free: 6.289 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.7393, allocations: 84.78 kB / 1.004 GB, free: 6.207 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.759e-05/0.7394, allocations: 39.97 kB / 1.004 GB, free: 6.168 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004429/0.7398, allocations: 479 kB / 1.004 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8e-08/0.7398, allocations: 0 / 1.004 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007263/0.7405, allocations: 339.1 kB / 1.005 GB, free: 5.375 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.002466/0.743, allocations: 2.105 MB / 1.007 GB, free: 3.453 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001535/0.7445, allocations: 0.8157 MB / 1.007 GB, free: 2.625 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7445, allocations: 4 kB / 1.007 GB, free: 2.621 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0005358/0.7451, allocations: 0.508 MB / 1.008 GB, free: 2.102 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007768/0.7458, allocations: 311.4 kB / 1.008 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007825/0.7537, allocations: 6.504 MB / 1.015 GB, free: 11.16 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.7541, allocations: 1.04 MB / 1.016 GB, free: 10.09 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006202/0.7547, allocations: 274.4 kB / 1.016 GB, free: 9.816 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003998/0.7551, allocations: 411.3 kB / 1.016 GB, free: 9.414 MB / 0.7917 GB Notification: Performance of SimCode: time 1.343e-06/0.7551, allocations: 0 / 1.016 GB, free: 9.414 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04706/0.8022, allocations: 23.24 MB / 1.039 GB, free: 2.348 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.936/9.739, allocations: 0 / 1.039 GB, free: 2.348 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_AltitudeAngle_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 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.929081815993413] Failed to read output from testmodel.py, exit status != 0: 9.892536669969559 9.902512634 9.190050305 Calling exit ...