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.001057/0.001057, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001183/0.001183, allocations: 173 kB / 23.49 MB, free: 1.055 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.052/1.052, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.7849/0.7849, allocations: 154.8 MB / 415.1 MB, free: 0.5039 MB / 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.683e-06/1.683e-06, allocations: 0 / 0.5206 GB, free: 2.285 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.626e-05/2.794e-05, allocations: 2.312 kB / 0.5206 GB, free: 2.281 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.005583/0.005611, allocations: 5.025 MB / 0.5255 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1372/0.1428, allocations: 146.4 MB / 0.6684 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009118/0.1437, allocations: 23.81 kB / 0.6685 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0006027/0.1443, allocations: 206 kB / 0.6687 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.1458, allocations: 0.6056 MB / 0.6693 GB, free: 9.668 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/0.148, allocations: 0.8958 MB / 0.6701 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001474/0.1495, allocations: 1.506 MB / 0.6716 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007099/0.1502, allocations: 448.7 kB / 0.672 GB, free: 6.797 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009404/0.1512, allocations: 0.7874 MB / 0.6728 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.1517, allocations: 426.8 kB / 0.6732 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.1518, allocations: 132 kB / 0.6733 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009057/0.1527, allocations: 0.5227 MB / 0.6738 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002638/0.153, allocations: 330.9 kB / 0.6742 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004052/0.1534, allocations: 426.9 kB / 0.6746 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001618/0.155, allocations: 1.351 MB / 0.6759 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.155, allocations: 0 / 0.6759 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/0.155, allocations: 0 / 0.6759 GB, free: 2.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.762e-05/0.1551, allocations: 0 / 0.6759 GB, free: 2.84 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.002035/0.1571, allocations: 1.577 MB / 0.6774 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1571, allocations: 8.031 kB / 0.6774 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004149/0.1613, allocations: 1.03 MB / 0.6784 GB, free: 180 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2217/0.3829, allocations: 0.7645 MB / 0.6792 GB, free: 202.6 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.383, allocations: 77.19 kB / 0.6793 GB, free: 202.6 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.3831, allocations: 92.72 kB / 0.6793 GB, free: 202.6 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/0.3849, allocations: 1.433 MB / 0.6807 GB, free: 201.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.3849, allocations: 4.344 kB / 0.6808 GB, free: 201.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.086e-05/0.385, allocations: 40.66 kB / 0.6808 GB, free: 201.9 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.102e-05/0.385, allocations: 27.53 kB / 0.6808 GB, free: 201.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/0.3863, allocations: 1.186 MB / 0.682 GB, free: 201.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00389/0.3902, allocations: 4.161 MB / 0.686 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/0.3916, allocations: 0.8223 MB / 0.6868 GB, free: 198.1 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005006/0.3921, allocations: 378.2 kB / 0.6872 GB, free: 198 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 7.28e-05/0.3922, allocations: 30.72 kB / 0.6872 GB, free: 198 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007942/0.393, allocations: 0.7056 MB / 0.6879 GB, free: 197.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 6.211e-06/0.393, allocations: 5.562 kB / 0.6879 GB, free: 197.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.002632/0.3956, allocations: 1.293 MB / 0.6892 GB, free: 197.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.596e-05/0.3957, allocations: 196.6 kB / 0.6894 GB, free: 197.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006226/0.3963, allocations: 0.5833 MB / 0.6899 GB, free: 197 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.3964, allocations: 37.73 kB / 0.69 GB, free: 196.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002927/0.3967, allocations: 497.2 kB / 0.6905 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/0.3969, allocations: 278.4 kB / 0.6907 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.3972, allocations: 180.2 kB / 0.6909 GB, free: 196.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.3973, allocations: 0.5583 MB / 0.6914 GB, free: 195.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005272/0.3978, allocations: 327 kB / 0.6918 GB, free: 195.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005803/0.3984, allocations: 0.549 MB / 0.6923 GB, free: 195.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007742/0.3992, allocations: 0.5541 MB / 0.6928 GB, free: 195.3 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.3992, allocations: 0 / 0.6928 GB, free: 195.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.001423/0.4006, allocations: 0.9317 MB / 0.6937 GB, free: 195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.448e-05/0.4007, allocations: 2.938 kB / 0.6937 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.4007, allocations: 7.047 kB / 0.6937 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005111/0.4012, allocations: 122.8 kB / 0.6939 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/0.4019, allocations: 272.8 kB / 0.6941 GB, free: 195 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/0.4033, allocations: 1.894 MB / 0.696 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007221/0.404, allocations: 182.3 kB / 0.6961 GB, free: 193.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.565e-05/0.4041, allocations: 46.81 kB / 0.6962 GB, free: 193.1 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.0003432/0.4044, allocations: 210.8 kB / 0.6964 GB, free: 193 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.4046, allocations: 107.1 kB / 0.6965 GB, free: 192.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001752/0.4063, allocations: 1.185 MB / 0.6977 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.4063, allocations: 9.234 kB / 0.6977 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.4063, allocations: 0 / 0.6977 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.4063, allocations: 6.547 kB / 0.6977 GB, free: 192.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/0.4091, allocations: 2.601 MB / 0.7002 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.4091, allocations: 2.656 kB / 0.7002 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006609/0.4098, allocations: 251.3 kB / 0.7005 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003867/0.4102, allocations: 114.5 kB / 0.7006 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.55e-05/0.4102, allocations: 31.86 kB / 0.7006 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001004/0.4112, allocations: 1.93 MB / 0.7025 GB, free: 188.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.4112, allocations: 0 / 0.7025 GB, free: 188.9 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.4127, allocations: 1.146 MB / 0.7036 GB, free: 188.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.413, allocations: 223.6 kB / 0.7038 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.996e-05/0.4131, allocations: 21.25 kB / 0.7038 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005796/0.4137, allocations: 149.5 kB / 0.704 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.4138, allocations: 70.12 kB / 0.704 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.22e-05/0.4139, allocations: 43.28 kB / 0.7041 GB, free: 188.4 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003047/0.4142, allocations: 397.6 kB / 0.7045 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.2e-07/0.4142, allocations: 0.5 kB / 0.7045 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008197/0.415, allocations: 392 kB / 0.7048 GB, free: 188.1 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.00125/0.4163, allocations: 0.6143 MB / 0.7054 GB, free: 187.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.00134/0.4176, allocations: 1.05 MB / 0.7065 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.4176, allocations: 0.625 kB / 0.7065 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006492/0.4183, allocations: 0.6794 MB / 0.7071 GB, free: 187.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008146/0.4191, allocations: 348.5 kB / 0.7075 GB, free: 187.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003004/0.4221, allocations: 1.781 MB / 0.7092 GB, free: 186.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002159/0.4223, allocations: 200 kB / 0.7094 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008982/0.4232, allocations: 291.6 kB / 0.7097 GB, free: 186.3 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003916/0.4236, allocations: 121.6 kB / 0.7098 GB, free: 186.2 MB / 0.6355 GB Notification: Performance of SimCode: time 2.344e-06/0.4236, allocations: 0.5312 kB / 0.7098 GB, free: 186.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.02469/0.4483, allocations: 18.06 MB / 0.7274 GB, free: 179.8 MB / 0.6355 GB " [Timeout remaining time 660] 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: 4.8866090080700815]