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.0009635/0.0009635, allocations: 73.97 kB / 20.65 MB, free: 3.844 MB / 18.57 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.001033/0.001033, allocations: 169.4 kB / 24.06 MB, free: 452 kB / 18.57 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.022/1.022, allocations: 177.1 MB / 204.5 MB, free: 5.121 MB / 186.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-535:34: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-535:42: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.7961/0.7961, allocations: 154.9 MB / 415.9 MB, free: 224 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.5219 GB, free: 412 kB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.616e-05, allocations: 4.172 kB / 0.5219 GB, free: 408 kB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle): time 0.006953/0.006979, allocations: 4.718 MB / 0.5265 GB, free: 11.68 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4093/0.4163, allocations: 143.9 MB / 0.667 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007161/0.417, allocations: 23.44 kB / 0.667 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004835/0.4175, allocations: 200.7 kB / 0.6672 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.00129/0.4188, allocations: 0.6024 MB / 0.6678 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.4203, allocations: 0.8783 MB / 0.6686 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001847/0.4222, allocations: 1.49 MB / 0.6701 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007182/0.4229, allocations: 402.2 kB / 0.6705 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001075/0.424, allocations: 0.7887 MB / 0.6712 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004961/0.4245, allocations: 393.1 kB / 0.6716 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001644/0.4246, allocations: 109.7 kB / 0.6717 GB, free: 14.87 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007557/0.4254, allocations: 491.6 kB / 0.6722 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002138/0.4256, allocations: 294.7 kB / 0.6725 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004025/0.426, allocations: 382.7 kB / 0.6728 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001357/0.4273, allocations: 1.262 MB / 0.6741 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.4274, allocations: 0 / 0.6741 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.143e-06/0.4274, allocations: 0 / 0.6741 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.537e-05/0.4274, allocations: 0 / 0.6741 GB, free: 14.74 MB / 0.5573 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.001571/0.429, allocations: 1.536 MB / 0.6756 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 2.337e-05/0.429, allocations: 14.44 kB / 0.6756 GB, free: 13.89 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009539/0.4299, allocations: 351.2 kB / 0.6759 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.4306, allocations: 0.7117 MB / 0.6766 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.557e-05/0.4307, allocations: 67.94 kB / 0.6767 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.638e-05/0.4307, allocations: 94 kB / 0.6768 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/0.4314, allocations: 0.8861 MB / 0.6776 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.57e-05/0.4314, allocations: 3.25 kB / 0.6776 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/0.4314, allocations: 38.94 kB / 0.6777 GB, free: 13.09 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.4315, allocations: 26.45 kB / 0.6777 GB, free: 13.08 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006302/0.4321, allocations: 0.6871 MB / 0.6784 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001806/0.4339, allocations: 2.092 MB / 0.6804 GB, free: 12.13 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000516/0.4344, allocations: 463 kB / 0.6808 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.4346, allocations: 158.5 kB / 0.681 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.361e-05/0.4346, allocations: 32.91 kB / 0.681 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003196/0.4349, allocations: 482.4 kB / 0.6815 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=85): time 1.543e-06/0.4349, allocations: 0 / 0.6815 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of matching and sorting (n=85): time 0.001213/0.4361, allocations: 0.7686 MB / 0.6822 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.781e-05/0.4362, allocations: 192.3 kB / 0.6824 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.4365, allocations: 0.5683 MB / 0.683 GB, free: 11.31 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.489e-05/0.4365, allocations: 45.67 kB / 0.683 GB, free: 11.28 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.4367, allocations: 471.1 kB / 0.6835 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001177/0.4368, allocations: 289.1 kB / 0.6837 GB, free: 10.85 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001515/0.437, allocations: 186.5 kB / 0.6839 GB, free: 10.81 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.328e-05/0.4371, allocations: 0.5649 MB / 0.6845 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.4372, allocations: 112.3 kB / 0.6846 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.4374, allocations: 353.6 kB / 0.6849 GB, free: 10.08 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.4377, allocations: 347.6 kB / 0.6852 GB, free: 10 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.4377, allocations: 0 / 0.6852 GB, free: 10 MB / 0.5573 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.0007505/0.4385, allocations: 0.601 MB / 0.6858 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.4385, allocations: 5.469 kB / 0.6858 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.4385, allocations: 0 / 0.6858 GB, free: 9.891 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004037/0.4389, allocations: 130 kB / 0.686 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003388/0.4392, allocations: 168.8 kB / 0.6861 GB, free: 9.871 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008873/0.4401, allocations: 1.871 MB / 0.6879 GB, free: 8.129 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002798/0.4404, allocations: 86.33 kB / 0.688 GB, free: 8.09 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-05/0.4405, allocations: 31.95 kB / 0.6881 GB, free: 8.09 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,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 (101): * Single equations (assignments): 100 * 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.0001678/0.4406, allocations: 210.9 kB / 0.6883 GB, free: 7.93 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.4407, allocations: 111.9 kB / 0.6884 GB, free: 7.887 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000989/0.4417, allocations: 0.8222 MB / 0.6892 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.4417, allocations: 13.25 kB / 0.6892 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.4417, allocations: 0 / 0.6892 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.164e-06/0.4417, allocations: 5.016 kB / 0.6892 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.4431, allocations: 1.329 MB / 0.6905 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.4431, allocations: 0 / 0.6905 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002942/0.4434, allocations: 152.1 kB / 0.6906 GB, free: 7.414 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003295/0.4437, allocations: 116.1 kB / 0.6907 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.4437, allocations: 25.06 kB / 0.6908 GB, free: 7.395 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007656/0.4445, allocations: 1.895 MB / 0.6926 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.4445, allocations: 0 / 0.6926 GB, free: 5.648 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008187/0.4453, allocations: 0.8345 MB / 0.6934 GB, free: 5.363 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.4455, allocations: 198 kB / 0.6936 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.548e-05/0.4456, allocations: 21.77 kB / 0.6936 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.4459, allocations: 42.36 kB / 0.6937 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.258e-05/0.4459, allocations: 80.45 kB / 0.6938 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.997e-05/0.446, allocations: 30.14 kB / 0.6938 GB, free: 5.301 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001994/0.4462, allocations: 368 kB / 0.6941 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.4462, allocations: 0 / 0.6941 GB, free: 5.168 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0005745/0.4468, allocations: 344.7 kB / 0.6945 GB, free: 5.105 MB / 0.5573 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.001091/0.4478, allocations: 0.634 MB / 0.6951 GB, free: 4.922 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006266/0.4485, allocations: 0.6049 MB / 0.6957 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.4485, allocations: 2.5 kB / 0.6957 GB, free: 4.719 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.4488, allocations: 460.7 kB / 0.6961 GB, free: 4.523 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006778/0.4495, allocations: 324.6 kB / 0.6964 GB, free: 4.496 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.4514, allocations: 1.557 MB / 0.6979 GB, free: 3.762 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.4515, allocations: 196.9 kB / 0.6981 GB, free: 3.684 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003842/0.4519, allocations: 195.5 kB / 0.6983 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005203/0.4524, allocations: 368.5 kB / 0.6987 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of SimCode: time 5.71e-07/0.4524, allocations: 1.203 kB / 0.6987 GB, free: 3.547 MB / 0.5573 GB Notification: Performance of Templates: time 0.01841/0.4708, allocations: 17.14 MB / 0.7154 GB, free: 12.04 MB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.AltitudeAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.731726587284356]