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.001754/0.001754, allocations: 85.48 kB / 19.44 MB, free: 340 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.001881/0.001881, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.527/1.527, allocations: 177.1 MB / 203.1 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 1.291/1.291, allocations: 154.8 MB / 414.4 MB, free: 460 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 178] 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.754e-06/1.754e-06, allocations: 3.938 kB / 0.5199 GB, free: 1.211 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.85e-05, allocations: 2.312 kB / 0.5199 GB, free: 1.207 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.SkyClearness): time 0.007892/0.00792, allocations: 4.988 MB / 0.5247 GB, free: 12.22 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.5303/0.5382, allocations: 146.4 MB / 0.6677 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.5393, allocations: 23.22 kB / 0.6677 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006535/0.5399, allocations: 208.2 kB / 0.6679 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001952/0.5419, allocations: 0.6037 MB / 0.6685 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002245/0.5441, allocations: 0.8865 MB / 0.6693 GB, free: 14.13 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00219/0.5463, allocations: 1.517 MB / 0.6708 GB, free: 14.12 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008373/0.5471, allocations: 456.2 kB / 0.6713 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.5484, allocations: 0.784 MB / 0.672 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006112/0.549, allocations: 433.4 kB / 0.6724 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.5492, allocations: 127.9 kB / 0.6726 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001263/0.5504, allocations: 0.5177 MB / 0.6731 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003228/0.5507, allocations: 326.8 kB / 0.6734 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005071/0.5512, allocations: 423.4 kB / 0.6738 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.5535, allocations: 1.905 MB / 0.6756 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5535, allocations: 4 kB / 0.6756 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.364e-06/0.5535, allocations: 0 / 0.6756 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.718e-05/0.5535, allocations: 3.031 kB / 0.6756 GB, free: 13.91 MB / 0.5573 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.002373/0.5559, allocations: 1.663 MB / 0.6773 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.755e-05/0.5559, allocations: 8.469 kB / 0.6773 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006507/0.5624, allocations: 1.03 MB / 0.6783 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001349/0.5637, allocations: 0.7794 MB / 0.679 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.857e-05/0.5638, allocations: 70.06 kB / 0.6791 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.564, allocations: 108.5 kB / 0.6792 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003414/0.5674, allocations: 1.808 MB / 0.681 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/0.5674, allocations: 4 kB / 0.681 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.5675, allocations: 42.69 kB / 0.681 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.889e-05/0.5675, allocations: 22.06 kB / 0.681 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004953/0.5725, allocations: 2.009 MB / 0.683 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006853/0.5793, allocations: 4.967 MB / 0.6879 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.5823, allocations: 1.184 MB / 0.689 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/0.5843, allocations: 0.7392 MB / 0.6897 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.664e-05/0.5844, allocations: 29.55 kB / 0.6898 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002445/0.5869, allocations: 1.124 MB / 0.6909 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=82): time 2.935e-06/0.5869, allocations: 0 / 0.6909 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of matching and sorting (n=82): time 0.00769/0.5946, allocations: 2.33 MB / 0.6931 GB, free: 8.254 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.5946, allocations: 192.2 kB / 0.6933 GB, free: 8.035 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009655/0.5956, allocations: 0.7607 MB / 0.6941 GB, free: 7.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/0.5957, allocations: 41.86 kB / 0.6941 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003922/0.5961, allocations: 0.5166 MB / 0.6946 GB, free: 7.539 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.5963, allocations: 297.6 kB / 0.6949 GB, free: 7.363 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003888/0.5967, allocations: 198.6 kB / 0.6951 GB, free: 7.332 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.5969, allocations: 0.6116 MB / 0.6957 GB, free: 6.836 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002093/0.599, allocations: 0.6947 MB / 0.6964 GB, free: 6.82 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002182/0.6012, allocations: 0.9557 MB / 0.6973 GB, free: 6.559 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003563/0.6047, allocations: 1.176 MB / 0.6984 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.6048, allocations: 0 / 0.6984 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.004906/0.6097, allocations: 1.605 MB / 0.7 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.6097, allocations: 12.58 kB / 0.7 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/0.6097, allocations: 0 / 0.7 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009582/0.6107, allocations: 133.7 kB / 0.7001 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001448/0.6121, allocations: 281.3 kB / 0.7004 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001934/0.614, allocations: 2.023 MB / 0.7024 GB, free: 3.859 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/0.6155, allocations: 181.5 kB / 0.7026 GB, free: 3.809 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.6156, allocations: 41.22 kB / 0.7026 GB, free: 3.793 MB / 0.5573 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.0005557/0.6162, allocations: 287 kB / 0.7029 GB, free: 3.551 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.6165, allocations: 110.5 kB / 0.703 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005653/0.6221, allocations: 1.861 MB / 0.7048 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.6221, allocations: 8.656 kB / 0.7048 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.6222, allocations: 2.688 kB / 0.7048 GB, free: 2.699 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.6222, allocations: 3.984 kB / 0.7048 GB, free: 2.695 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007065/0.6292, allocations: 3.51 MB / 0.7082 GB, free: 256 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.6292, allocations: 0 / 0.7082 GB, free: 256 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/0.6306, allocations: 263.3 kB / 0.7085 GB, free: 184 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007322/0.6313, allocations: 122.8 kB / 0.7086 GB, free: 128 kB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.6314, allocations: 32.78 kB / 0.7086 GB, free: 104 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00259/0.634, allocations: 2.064 MB / 0.7107 GB, free: 14.11 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.634, allocations: 0 / 0.7107 GB, free: 14.11 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005527/0.6395, allocations: 1.839 MB / 0.7125 GB, free: 13.34 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008318/0.6403, allocations: 226.2 kB / 0.7127 GB, free: 13.16 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002989/0.6406, allocations: 21.59 kB / 0.7127 GB, free: 13.15 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001464/0.6421, allocations: 155.9 kB / 0.7128 GB, free: 13.09 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/0.6423, allocations: 77.55 kB / 0.7129 GB, free: 13.04 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001163/0.6424, allocations: 38.47 kB / 0.7129 GB, free: 13.03 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0008367/0.6433, allocations: 495.7 kB / 0.7134 GB, free: 12.73 MB / 0.573 GB Notification: Performance of sort global known variables: time 8e-08/0.6433, allocations: 0 / 0.7134 GB, free: 12.73 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001446/0.6447, allocations: 389.2 kB / 0.7138 GB, free: 12.62 MB / 0.573 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.003593/0.6483, allocations: 0.657 MB / 0.7144 GB, free: 12.38 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.005318/0.6536, allocations: 1.808 MB / 0.7162 GB, free: 11.68 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.6536, allocations: 2.906 kB / 0.7162 GB, free: 11.68 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.002875/0.6565, allocations: 1.054 MB / 0.7172 GB, free: 11.21 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001763/0.6583, allocations: 335.4 kB / 0.7175 GB, free: 11.06 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/0.664, allocations: 2.177 MB / 0.7197 GB, free: 9.895 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005742/0.6645, allocations: 458.9 kB / 0.7201 GB, free: 9.637 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001246/0.6658, allocations: 291.8 kB / 0.7204 GB, free: 9.473 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005048/0.6663, allocations: 118.2 kB / 0.7205 GB, free: 9.43 MB / 0.573 GB Notification: Performance of SimCode: time 1.533e-06/0.6663, allocations: 1.094 kB / 0.7205 GB, free: 9.43 MB / 0.573 GB Notification: Performance of Templates: time 0.03723/0.7035, allocations: 18.04 MB / 0.7381 GB, free: 10.71 MB / 0.5886 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: 7.57232208410278]