Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.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.001239/0.001239, allocations: 93.06 kB / 19.65 MB, free: 280 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.001022/0.001022, 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.023/1.023, allocations: 177.1 MB / 203.4 MB, free: 5.184 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.7912/0.7912, allocations: 154.9 MB / 414.8 MB, free: 312 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.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5207 GB, free: 1.773 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.29e-05/3.473e-05, allocations: 5.125 kB / 0.5207 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.008201/0.008236, allocations: 5.051 MB / 0.5256 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1403/0.1486, allocations: 146.7 MB / 0.6688 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008656/0.1494, allocations: 23.81 kB / 0.6688 GB, free: 9.688 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0007337/0.1502, allocations: 210 kB / 0.669 GB, free: 9.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/0.1525, allocations: 0.6094 MB / 0.6696 GB, free: 8.867 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002309/0.1548, allocations: 0.888 MB / 0.6705 GB, free: 7.977 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001855/0.1567, allocations: 1.514 MB / 0.672 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000837/0.1575, allocations: 452.6 kB / 0.6724 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00139/0.1589, allocations: 0.8225 MB / 0.6732 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.1596, allocations: 402.8 kB / 0.6736 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001918/0.1598, allocations: 116 kB / 0.6737 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.161, allocations: 0.5148 MB / 0.6742 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002106/0.1612, allocations: 306.9 kB / 0.6745 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0003602/0.1615, allocations: 407 kB / 0.6749 GB, free: 3.449 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.1633, allocations: 1.316 MB / 0.6762 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.1633, allocations: 3.938 kB / 0.6762 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1633, allocations: 0 / 0.6762 GB, free: 2.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.568e-05/0.1633, allocations: 3.938 kB / 0.6762 GB, free: 2.121 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: 241 * Number of variables: 241 Notification: Performance of Generate backend data structure: time 0.002058/0.1654, allocations: 1.558 MB / 0.6777 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.1654, allocations: 8.031 kB / 0.6777 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.297/0.4625, allocations: 1.029 MB / 0.6787 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001026/0.4635, allocations: 0.7575 MB / 0.6795 GB, free: 56.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/0.4635, allocations: 71.22 kB / 0.6795 GB, free: 56.57 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.4636, allocations: 96.47 kB / 0.6796 GB, free: 56.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.4653, allocations: 1.367 MB / 0.681 GB, free: 56.14 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.4653, allocations: 1.656 kB / 0.681 GB, free: 56.14 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.713e-05/0.4654, allocations: 39.75 kB / 0.681 GB, free: 56.14 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.4654, allocations: 23.97 kB / 0.681 GB, free: 56.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/0.4666, allocations: 1.183 MB / 0.6822 GB, free: 56.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003984/0.4706, allocations: 4.125 MB / 0.6862 GB, free: 53.18 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.472, allocations: 0.8271 MB / 0.687 GB, free: 53.14 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.4725, allocations: 388 kB / 0.6874 GB, free: 53.13 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-05/0.4725, allocations: 26.72 kB / 0.6874 GB, free: 53.13 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007187/0.4732, allocations: 0.7111 MB / 0.6881 GB, free: 52.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 3.236e-06/0.4732, allocations: 3.812 kB / 0.6881 GB, free: 52.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.002191/0.4754, allocations: 1.287 MB / 0.6894 GB, free: 52.81 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.4755, allocations: 189.2 kB / 0.6895 GB, free: 52.59 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004718/0.476, allocations: 0.5707 MB / 0.6901 GB, free: 52.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.592e-05/0.476, allocations: 42.05 kB / 0.6901 GB, free: 52.37 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.4763, allocations: 489.8 kB / 0.6906 GB, free: 52.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.4764, allocations: 279.5 kB / 0.6909 GB, free: 52 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002223/0.4766, allocations: 182.4 kB / 0.691 GB, free: 51.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.4768, allocations: 0.5617 MB / 0.6916 GB, free: 51.47 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.4772, allocations: 323.1 kB / 0.6919 GB, free: 51.47 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004625/0.4776, allocations: 0.5517 MB / 0.6924 GB, free: 51.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007001/0.4783, allocations: 0.5507 MB / 0.693 GB, free: 51.19 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.4783, allocations: 0.9062 kB / 0.693 GB, free: 51.19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001271/0.4796, allocations: 0.9168 MB / 0.6939 GB, free: 51.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.4796, allocations: 5.688 kB / 0.6939 GB, free: 51.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.4796, allocations: 3.719 kB / 0.6939 GB, free: 51.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004431/0.4801, allocations: 129.2 kB / 0.694 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.4807, allocations: 273.5 kB / 0.6943 GB, free: 51.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001063/0.4818, allocations: 1.901 MB / 0.6961 GB, free: 49.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006001/0.4824, allocations: 178.6 kB / 0.6963 GB, free: 49.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.55e-05/0.4825, allocations: 42.91 kB / 0.6963 GB, free: 49.3 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.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,$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.0002432/0.4827, allocations: 204.8 kB / 0.6965 GB, free: 49.14 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001432/0.4829, allocations: 113.4 kB / 0.6966 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.4844, allocations: 1.176 MB / 0.6978 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.4844, allocations: 9.484 kB / 0.6978 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.4844, allocations: 3.281 kB / 0.6978 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.4844, allocations: 4.188 kB / 0.6978 GB, free: 48.99 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.4866, allocations: 2.584 MB / 0.7003 GB, free: 47.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4866, allocations: 0.7188 kB / 0.7003 GB, free: 47.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006054/0.4872, allocations: 250.7 kB / 0.7006 GB, free: 47.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003355/0.4875, allocations: 126.2 kB / 0.7007 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.4876, allocations: 34.58 kB / 0.7007 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008181/0.4884, allocations: 1.914 MB / 0.7026 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4884, allocations: 0 / 0.7026 GB, free: 45.86 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001258/0.4897, allocations: 1.139 MB / 0.7037 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003162/0.49, allocations: 228.5 kB / 0.7039 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.4901, allocations: 21.11 kB / 0.7039 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006363/0.4907, allocations: 146.8 kB / 0.7041 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.4909, allocations: 68.3 kB / 0.7041 GB, free: 45.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.491, allocations: 42.89 kB / 0.7042 GB, free: 45.53 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003183/0.4913, allocations: 388.8 kB / 0.7046 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9e-08/0.4913, allocations: 0.7656 kB / 0.7046 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008914/0.4922, allocations: 380.2 kB / 0.7049 GB, free: 45.37 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 (93): * Single equations (assignments): 87 * 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.001428/0.4936, allocations: 0.6352 MB / 0.7055 GB, free: 45.24 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.4951, allocations: 1.045 MB / 0.7066 GB, free: 45.04 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4951, allocations: 4.125 kB / 0.7066 GB, free: 45.04 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007897/0.4959, allocations: 0.6724 MB / 0.7072 GB, free: 44.85 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009441/0.4968, allocations: 324.2 kB / 0.7075 GB, free: 44.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00346/0.5003, allocations: 1.784 MB / 0.7093 GB, free: 44.09 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.5005, allocations: 199.2 kB / 0.7095 GB, free: 44.01 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009425/0.5014, allocations: 299 kB / 0.7097 GB, free: 43.97 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000386/0.5018, allocations: 115.7 kB / 0.7099 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of SimCode: time 1.383e-06/0.5018, allocations: 0.8125 kB / 0.7099 GB, free: 43.96 MB / 0.6355 GB Notification: Performance of Templates: time 0.02884/0.5306, allocations: 18.83 MB / 0.7283 GB, free: 41.95 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.067332495935261]