Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.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.0008538/0.0008538, allocations: 77.09 kB / 20.66 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.001006/0.001006, allocations: 169 kB / 24.06 MB, free: 456 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 0.9919/0.9919, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.7802/0.7802, allocations: 154.9 MB / 415.9 MB, free: 248 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.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.5219 GB, free: 1.551 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.133e-05/2.311e-05, allocations: 2.312 kB / 0.5219 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass): time 0.007293/0.007316, allocations: 4.908 MB / 0.5267 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1697/0.1771, allocations: 143.9 MB / 0.6672 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007756/0.1778, allocations: 23.81 kB / 0.6672 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.000523/0.1784, allocations: 222 kB / 0.6674 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001328/0.1797, allocations: 0.59 MB / 0.668 GB, free: 11.58 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.1812, allocations: 0.8725 MB / 0.6688 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.1824, allocations: 1.498 MB / 0.6703 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006017/0.1831, allocations: 452.5 kB / 0.6707 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008891/0.1839, allocations: 0.8224 MB / 0.6715 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004189/0.1844, allocations: 398.8 kB / 0.6719 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001117/0.1845, allocations: 120 kB / 0.672 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008171/0.1853, allocations: 499.3 kB / 0.6725 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001986/0.1855, allocations: 310.9 kB / 0.6728 GB, free: 6.613 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.1858, allocations: 399 kB / 0.6732 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001424/0.1872, allocations: 1.288 MB / 0.6744 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1872, allocations: 0 / 0.6744 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1872, allocations: 4 kB / 0.6744 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.709e-06/0.1872, allocations: 0 / 0.6744 GB, free: 4.926 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.001477/0.1887, allocations: 1.569 MB / 0.676 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.1887, allocations: 12.03 kB / 0.676 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/0.1897, allocations: 387.3 kB / 0.6764 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007045/0.1904, allocations: 0.7188 MB / 0.6771 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.1905, allocations: 78.12 kB / 0.6771 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.765e-05/0.1906, allocations: 92 kB / 0.6772 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008016/0.1914, allocations: 0.9361 MB / 0.6781 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.716e-05/0.1914, allocations: 4 kB / 0.6781 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.807e-05/0.1914, allocations: 36 kB / 0.6782 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.1915, allocations: 24 kB / 0.6782 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006722/0.1921, allocations: 0.7079 MB / 0.6789 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2705/0.4627, allocations: 2.077 MB / 0.6809 GB, free: 58.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008614/0.4635, allocations: 485.8 kB / 0.6814 GB, free: 58.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001551/0.4637, allocations: 153.6 kB / 0.6815 GB, free: 58.36 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.834e-05/0.4637, allocations: 27.77 kB / 0.6816 GB, free: 58.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003599/0.4641, allocations: 465 kB / 0.682 GB, free: 58.15 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.214e-06/0.4641, allocations: 0.75 kB / 0.682 GB, free: 58.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.001304/0.4654, allocations: 0.7378 MB / 0.6827 GB, free: 58.06 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.106e-05/0.4654, allocations: 192.7 kB / 0.6829 GB, free: 57.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003492/0.4658, allocations: 0.5451 MB / 0.6834 GB, free: 57.66 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.85e-05/0.4658, allocations: 48.3 kB / 0.6835 GB, free: 57.62 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002071/0.466, allocations: 489.4 kB / 0.6839 GB, free: 57.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001253/0.4662, allocations: 279.2 kB / 0.6842 GB, free: 57.26 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001609/0.4663, allocations: 172.5 kB / 0.6844 GB, free: 57.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.956e-05/0.4664, allocations: 0.5613 MB / 0.6849 GB, free: 56.74 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.4666, allocations: 103.9 kB / 0.685 GB, free: 56.74 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.4668, allocations: 346.9 kB / 0.6854 GB, free: 56.52 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/0.4671, allocations: 325 kB / 0.6857 GB, free: 56.46 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.369e-06/0.4671, allocations: 2.938 kB / 0.6857 GB, free: 56.46 MB / 0.6355 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0008508/0.468, allocations: 0.5843 MB / 0.6862 GB, free: 56.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.468, allocations: 5.812 kB / 0.6862 GB, free: 56.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/0.468, allocations: 1 kB / 0.6862 GB, free: 56.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/0.4685, allocations: 129.1 kB / 0.6864 GB, free: 56.33 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003547/0.4688, allocations: 163.5 kB / 0.6865 GB, free: 56.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001028/0.4699, allocations: 1.878 MB / 0.6884 GB, free: 54.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003072/0.4702, allocations: 77.98 kB / 0.6884 GB, free: 54.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.265e-05/0.4702, allocations: 31.77 kB / 0.6885 GB, free: 54.58 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: 17 (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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0001966/0.4704, allocations: 205.8 kB / 0.6887 GB, free: 54.42 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.4705, allocations: 108.8 kB / 0.6888 GB, free: 54.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.4716, allocations: 0.7858 MB / 0.6895 GB, free: 54.28 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.4716, allocations: 11.91 kB / 0.6895 GB, free: 54.28 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.184e-06/0.4716, allocations: 1.109 kB / 0.6895 GB, free: 54.28 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.4716, allocations: 4.344 kB / 0.6895 GB, free: 54.28 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.473, allocations: 1.287 MB / 0.6908 GB, free: 53.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.473, allocations: 3.234 kB / 0.6908 GB, free: 53.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.4733, allocations: 153 kB / 0.691 GB, free: 53.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003593/0.4737, allocations: 109.1 kB / 0.6911 GB, free: 53.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.4737, allocations: 24.11 kB / 0.6911 GB, free: 53.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009197/0.4746, allocations: 1.897 MB / 0.6929 GB, free: 52.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4747, allocations: 1.031 kB / 0.6929 GB, free: 52.21 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/0.4755, allocations: 0.7971 MB / 0.6937 GB, free: 51.93 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002057/0.4757, allocations: 185.2 kB / 0.6939 GB, free: 51.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.912e-05/0.4758, allocations: 23.58 kB / 0.6939 GB, free: 51.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.476, allocations: 41.22 kB / 0.6939 GB, free: 51.89 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.475e-05/0.4761, allocations: 66.72 kB / 0.694 GB, free: 51.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.305e-05/0.4761, allocations: 31.52 kB / 0.694 GB, free: 51.89 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001928/0.4763, allocations: 361.5 kB / 0.6944 GB, free: 51.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4763, allocations: 0 / 0.6944 GB, free: 51.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006847/0.477, allocations: 354 kB / 0.6947 GB, free: 51.73 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: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001198/0.4782, allocations: 0.6211 MB / 0.6953 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000705/0.4789, allocations: 0.6044 MB / 0.6959 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.4789, allocations: 2.812 kB / 0.6959 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.4793, allocations: 446.4 kB / 0.6963 GB, free: 51.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007021/0.48, allocations: 322.3 kB / 0.6967 GB, free: 51.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002095/0.4821, allocations: 1.59 MB / 0.6982 GB, free: 50.45 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.4822, allocations: 195.1 kB / 0.6984 GB, free: 50.36 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004195/0.4826, allocations: 185 kB / 0.6986 GB, free: 50.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005225/0.4831, allocations: 368 kB / 0.6989 GB, free: 50.26 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/0.4831, allocations: 0.625 kB / 0.6989 GB, free: 50.26 MB / 0.6355 GB Notification: Performance of Templates: time 0.02183/0.505, allocations: 16.86 MB / 0.7154 GB, free: 48.68 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.RelativeAirMass.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.671344105154276]