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.0008982/0.0008982, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.0009418/0.0009418, allocations: 169 kB / 23.27 MB, free: 1.223 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 0.8952/0.8952, allocations: 177.2 MB / 203.7 MB, free: 5.508 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.7878/0.7878, allocations: 154.9 MB / 415.1 MB, free: 244 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.543e-06/1.543e-06, allocations: 0 / 0.5211 GB, free: 1.531 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.72e-05/2.874e-05, allocations: 7.641 kB / 0.5211 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.006714/0.006743, allocations: 4.939 MB / 0.5259 GB, free: 12.59 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1273/0.1341, allocations: 143.9 MB / 0.6665 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007165/0.1348, allocations: 23.81 kB / 0.6665 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004791/0.1353, allocations: 206 kB / 0.6667 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001208/0.1365, allocations: 0.6134 MB / 0.6673 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001331/0.1378, allocations: 0.8997 MB / 0.6682 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.000893/0.1387, allocations: 1.51 MB / 0.6697 GB, free: 9.027 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005035/0.1392, allocations: 448.6 kB / 0.6701 GB, free: 8.574 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007229/0.1399, allocations: 0.8263 MB / 0.6709 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003061/0.1402, allocations: 398.8 kB / 0.6713 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.1403, allocations: 120 kB / 0.6714 GB, free: 7.238 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005181/0.1408, allocations: 0.507 MB / 0.6719 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.141, allocations: 310.9 kB / 0.6722 GB, free: 6.426 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.1413, allocations: 410.9 kB / 0.6726 GB, free: 6.023 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0009651/0.1422, allocations: 1.312 MB / 0.6739 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1422, allocations: 0 / 0.6739 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1422, allocations: 0 / 0.6739 GB, free: 4.707 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.1422, allocations: 0 / 0.6739 GB, free: 4.707 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.001364/0.1436, allocations: 1.577 MB / 0.6754 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.1436, allocations: 12.03 kB / 0.6754 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.1463, allocations: 1.026 MB / 0.6764 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006766/0.1469, allocations: 0.7577 MB / 0.6772 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.147, allocations: 74.12 kB / 0.6772 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.492e-05/0.1471, allocations: 99.98 kB / 0.6773 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2883/0.4354, allocations: 1.266 MB / 0.6786 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.991e-05/0.4354, allocations: 0 / 0.6786 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.118e-05/0.4355, allocations: 40.72 kB / 0.6786 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/0.4355, allocations: 23.03 kB / 0.6786 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.4365, allocations: 1 MB / 0.6796 GB, free: 58.62 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003146/0.4396, allocations: 4.005 MB / 0.6835 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009839/0.4406, allocations: 0.745 MB / 0.6842 GB, free: 55.74 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002743/0.4409, allocations: 329.1 kB / 0.6846 GB, free: 55.73 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.833e-05/0.4409, allocations: 54.58 kB / 0.6846 GB, free: 55.72 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005942/0.4415, allocations: 0.6505 MB / 0.6852 GB, free: 55.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=82): time 2.004e-06/0.4415, allocations: 0.5938 kB / 0.6852 GB, free: 55.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=82): time 0.001591/0.4431, allocations: 1.138 MB / 0.6864 GB, free: 55.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.4432, allocations: 196 kB / 0.6865 GB, free: 55.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003244/0.4435, allocations: 0.5611 MB / 0.6871 GB, free: 55 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/0.4435, allocations: 38.48 kB / 0.6871 GB, free: 54.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.4437, allocations: 488.5 kB / 0.6876 GB, free: 54.75 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.4439, allocations: 284.6 kB / 0.6879 GB, free: 54.6 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001947/0.4441, allocations: 184.4 kB / 0.688 GB, free: 54.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4442, allocations: 0.5647 MB / 0.6886 GB, free: 54.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.4444, allocations: 263.1 kB / 0.6888 GB, free: 54.08 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003193/0.4448, allocations: 0.4884 MB / 0.6893 GB, free: 53.86 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004763/0.4452, allocations: 484.2 kB / 0.6898 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.4452, allocations: 0 / 0.6898 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.0009981/0.4462, allocations: 0.8232 MB / 0.6906 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.4463, allocations: 9.625 kB / 0.6906 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.4463, allocations: 3.125 kB / 0.6906 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004177/0.4467, allocations: 125.2 kB / 0.6907 GB, free: 53.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006345/0.4473, allocations: 272 kB / 0.691 GB, free: 53.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001029/0.4483, allocations: 1.869 MB / 0.6928 GB, free: 51.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.4489, allocations: 181 kB / 0.693 GB, free: 51.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.962e-05/0.4489, allocations: 27.25 kB / 0.693 GB, free: 51.92 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.0002056/0.4491, allocations: 216.5 kB / 0.6932 GB, free: 51.76 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.4493, allocations: 109.9 kB / 0.6933 GB, free: 51.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001283/0.4506, allocations: 1.072 MB / 0.6944 GB, free: 51.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4506, allocations: 13.62 kB / 0.6944 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.4506, allocations: 0.875 kB / 0.6944 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4506, allocations: 3.609 kB / 0.6944 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001887/0.4525, allocations: 2.362 MB / 0.6967 GB, free: 50.28 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4525, allocations: 2.906 kB / 0.6967 GB, free: 50.28 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005658/0.453, allocations: 255.4 kB / 0.6969 GB, free: 50.28 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00033/0.4534, allocations: 114.9 kB / 0.697 GB, free: 50.27 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.662e-05/0.4534, allocations: 30.47 kB / 0.6971 GB, free: 50.27 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009035/0.4543, allocations: 1.891 MB / 0.6989 GB, free: 48.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4543, allocations: 1.578 kB / 0.6989 GB, free: 48.52 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.4554, allocations: 1.039 MB / 0.6999 GB, free: 48.25 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002525/0.4557, allocations: 215.6 kB / 0.7001 GB, free: 48.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.908e-05/0.4557, allocations: 22.62 kB / 0.7002 GB, free: 48.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005149/0.4563, allocations: 148.4 kB / 0.7003 GB, free: 48.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.4564, allocations: 71.72 kB / 0.7004 GB, free: 48.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/0.4564, allocations: 36.52 kB / 0.7004 GB, free: 48.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002132/0.4566, allocations: 365.8 kB / 0.7008 GB, free: 48.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.4566, allocations: 0 / 0.7008 GB, free: 48.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007322/0.4574, allocations: 382.1 kB / 0.7011 GB, free: 48.03 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.001133/0.4585, allocations: 0.6232 MB / 0.7017 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009026/0.4594, allocations: 0.9277 MB / 0.7026 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.4594, allocations: 0.875 kB / 0.7026 GB, free: 47.69 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004689/0.4599, allocations: 0.6153 MB / 0.7032 GB, free: 47.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006685/0.4605, allocations: 333.6 kB / 0.7036 GB, free: 47.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.4625, allocations: 1.74 MB / 0.7053 GB, free: 46.74 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001089/0.4626, allocations: 200.1 kB / 0.7054 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005615/0.4632, allocations: 228.7 kB / 0.7057 GB, free: 46.62 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006164/0.4638, allocations: 371.7 kB / 0.706 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of SimCode: time 9.92e-07/0.4638, allocations: 0 / 0.706 GB, free: 46.55 MB / 0.6355 GB Notification: Performance of Templates: time 0.02269/0.4865, allocations: 19.14 MB / 0.7247 GB, free: 44.7 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.441891063936055]