Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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.001097/0.001097, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 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.001054/0.001054, allocations: 169 kB / 23.02 MB, free: 1.551 MB / 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.021/1.021, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.8117/0.8117, allocations: 154.8 MB / 414.7 MB, free: 492 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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.5205 GB, free: 1.969 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.001e-05/3.165e-05, allocations: 8 kB / 0.5206 GB, free: 1.961 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle): time 0.005521/0.005552, allocations: 4.8 MB / 0.5252 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1415/0.147, allocations: 146.6 MB / 0.6684 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008844/0.1479, allocations: 19.81 kB / 0.6684 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000584/0.1485, allocations: 214.1 kB / 0.6686 GB, free: 10 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001638/0.1501, allocations: 0.5785 MB / 0.6692 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00199/0.1521, allocations: 0.8802 MB / 0.67 GB, free: 8.535 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.1535, allocations: 1.483 MB / 0.6715 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006127/0.1541, allocations: 409.7 kB / 0.6719 GB, free: 6.625 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008308/0.155, allocations: 0.7485 MB / 0.6726 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004752/0.1555, allocations: 414.7 kB / 0.673 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001378/0.1556, allocations: 124 kB / 0.6731 GB, free: 5.348 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009018/0.1565, allocations: 0.4915 MB / 0.6736 GB, free: 4.855 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.000237/0.1567, allocations: 315 kB / 0.6739 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003357/0.1571, allocations: 398.9 kB / 0.6743 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.1587, allocations: 1.284 MB / 0.6755 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.1587, allocations: 0 / 0.6755 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.663e-06/0.1587, allocations: 3.938 kB / 0.6755 GB, free: 2.863 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.1587, allocations: 0 / 0.6755 GB, free: 2.863 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 217 * Number of variables: 217 Notification: Performance of Generate backend data structure: time 0.002125/0.1609, allocations: 1.529 MB / 0.677 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.1609, allocations: 12.03 kB / 0.677 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001223/0.1621, allocations: 351.4 kB / 0.6774 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/0.163, allocations: 0.7286 MB / 0.6781 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.05e-05/0.1631, allocations: 70.12 kB / 0.6781 GB, free: 112 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.791e-05/0.1632, allocations: 88 kB / 0.6782 GB, free: 24 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3395/0.5027, allocations: 1.014 MB / 0.6792 GB, free: 56.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.63e-05/0.5027, allocations: 0 / 0.6792 GB, free: 56.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/0.5028, allocations: 39.38 kB / 0.6793 GB, free: 56.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/0.5028, allocations: 20.28 kB / 0.6793 GB, free: 56.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.5038, allocations: 0.8058 MB / 0.6801 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.5067, allocations: 2.228 MB / 0.6822 GB, free: 55.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009468/0.5077, allocations: 0.4887 MB / 0.6827 GB, free: 55.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002809/0.5079, allocations: 167.7 kB / 0.6829 GB, free: 55.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.353e-05/0.508, allocations: 31.03 kB / 0.6829 GB, free: 55.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005713/0.5086, allocations: 0.4996 MB / 0.6834 GB, free: 55.63 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=84): time 3.577e-06/0.5086, allocations: 2.906 kB / 0.6834 GB, free: 55.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=84): time 0.001933/0.5105, allocations: 0.841 MB / 0.6842 GB, free: 55.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.72e-05/0.5106, allocations: 197.4 kB / 0.6844 GB, free: 55.3 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005601/0.5111, allocations: 0.59 MB / 0.685 GB, free: 55.11 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.5112, allocations: 41.42 kB / 0.685 GB, free: 55.08 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002262/0.5114, allocations: 470.1 kB / 0.6855 GB, free: 54.87 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001593/0.5116, allocations: 281.2 kB / 0.6857 GB, free: 54.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.5118, allocations: 176.7 kB / 0.6859 GB, free: 54.69 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.5119, allocations: 0.5571 MB / 0.6865 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000272/0.5122, allocations: 140.6 kB / 0.6866 GB, free: 54.2 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/0.5126, allocations: 377.6 kB / 0.6869 GB, free: 53.97 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006095/0.5132, allocations: 385.9 kB / 0.6873 GB, free: 53.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.5132, allocations: 0.5625 kB / 0.6873 GB, free: 53.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=101) (initialization): time 0.001236/0.5144, allocations: 0.6534 MB / 0.688 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.5144, allocations: 10.75 kB / 0.688 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.5144, allocations: 1.859 kB / 0.688 GB, free: 53.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.515, allocations: 131.5 kB / 0.6881 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004801/0.5155, allocations: 166.2 kB / 0.6882 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.5168, allocations: 1.903 MB / 0.6901 GB, free: 52.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004082/0.5172, allocations: 72.44 kB / 0.6902 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/0.5173, allocations: 43.55 kB / 0.6902 GB, free: 52.02 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 20 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.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 (99): * Single equations (assignments): 98 * 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.0002309/0.5175, allocations: 214.3 kB / 0.6904 GB, free: 51.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000153/0.5177, allocations: 119.2 kB / 0.6905 GB, free: 51.81 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.5192, allocations: 0.8773 MB / 0.6914 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.578e-06/0.5192, allocations: 16.34 kB / 0.6914 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5192, allocations: 2.906 kB / 0.6914 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.207e-06/0.5192, allocations: 7.438 kB / 0.6914 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.5212, allocations: 1.5 MB / 0.6929 GB, free: 51.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.5212, allocations: 3.719 kB / 0.6929 GB, free: 51.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004091/0.5216, allocations: 151.9 kB / 0.693 GB, free: 51.36 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004288/0.5221, allocations: 115.3 kB / 0.6931 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5e-05/0.5221, allocations: 30.31 kB / 0.6932 GB, free: 51.35 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001072/0.5232, allocations: 1.92 MB / 0.695 GB, free: 49.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5232, allocations: 3.281 kB / 0.695 GB, free: 49.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.5245, allocations: 0.8907 MB / 0.6959 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003109/0.5248, allocations: 199.6 kB / 0.6961 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.983e-05/0.5249, allocations: 22.61 kB / 0.6961 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.5252, allocations: 48.72 kB / 0.6962 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001455/0.5254, allocations: 84.22 kB / 0.6963 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.897e-05/0.5254, allocations: 38.27 kB / 0.6963 GB, free: 49.27 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003478/0.5258, allocations: 403.9 kB / 0.6967 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.5258, allocations: 0.9688 kB / 0.6967 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008469/0.5266, allocations: 343 kB / 0.697 GB, free: 49.09 MB / 0.6355 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 (99): * Single equations (assignments): 92 * 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.001491/0.5281, allocations: 0.6258 MB / 0.6976 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.5292, allocations: 0.6734 MB / 0.6983 GB, free: 48.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.5292, allocations: 0 / 0.6983 GB, free: 48.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005477/0.5297, allocations: 488.5 kB / 0.6987 GB, free: 48.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009263/0.5306, allocations: 333.4 kB / 0.6991 GB, free: 48.53 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.5335, allocations: 1.568 MB / 0.7006 GB, free: 47.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000146/0.5336, allocations: 199.1 kB / 0.7008 GB, free: 47.74 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006315/0.5342, allocations: 249.3 kB / 0.701 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/0.5345, allocations: 117.1 kB / 0.7011 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/0.5345, allocations: 0 / 0.7011 GB, free: 47.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.02506/0.5596, allocations: 15.83 MB / 0.7166 GB, free: 46.23 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.913145797327161]