Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.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.001017/0.001017, allocations: 93.06 kB / 19.65 MB, free: 276 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.001166/0.001166, 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.067/1.067, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.8239/0.8239, allocations: 154.8 MB / 414.7 MB, free: 472 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.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.5205 GB, free: 1.992 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.856e-05, allocations: 5.453 kB / 0.5205 GB, free: 1.988 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.005144/0.005173, allocations: 4.75 MB / 0.5252 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1283/0.1335, allocations: 146.5 MB / 0.6683 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007383/0.1342, allocations: 19.88 kB / 0.6683 GB, free: 10.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.1348, allocations: 202.1 kB / 0.6685 GB, free: 10.12 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001428/0.1362, allocations: 0.5743 MB / 0.6691 GB, free: 9.551 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001483/0.1377, allocations: 0.8607 MB / 0.6699 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.1389, allocations: 1.424 MB / 0.6713 GB, free: 7.254 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.1394, allocations: 401.8 kB / 0.6717 GB, free: 6.844 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007495/0.1402, allocations: 0.7173 MB / 0.6724 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004211/0.1406, allocations: 394.8 kB / 0.6728 GB, free: 5.738 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001254/0.1407, allocations: 120 kB / 0.6729 GB, free: 5.621 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007567/0.1415, allocations: 499.3 kB / 0.6733 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002137/0.1417, allocations: 303 kB / 0.6736 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002806/0.142, allocations: 379 kB / 0.674 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.1433, allocations: 1.257 MB / 0.6752 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.862e-06/0.1433, allocations: 4 kB / 0.6752 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1433, allocations: 3.938 kB / 0.6752 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.1433, allocations: 0 / 0.6752 GB, free: 3.195 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: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.001845/0.1452, allocations: 1.492 MB / 0.6767 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.1452, allocations: 8.031 kB / 0.6767 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009406/0.1462, allocations: 327.5 kB / 0.677 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007974/0.147, allocations: 0.7092 MB / 0.6777 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.166e-05/0.147, allocations: 70.12 kB / 0.6778 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.622e-05/0.1471, allocations: 87.94 kB / 0.6779 GB, free: 452 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2656/0.4127, allocations: 0.9911 MB / 0.6788 GB, free: 56.42 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.4127, allocations: 0 / 0.6788 GB, free: 56.42 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.536e-05/0.4128, allocations: 37.81 kB / 0.6789 GB, free: 56.42 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.128e-05/0.4128, allocations: 19.56 kB / 0.6789 GB, free: 56.42 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008952/0.4137, allocations: 0.7888 MB / 0.6796 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.4164, allocations: 2.19 MB / 0.6818 GB, free: 55.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008164/0.4172, allocations: 478.5 kB / 0.6822 GB, free: 55.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.4174, allocations: 156.5 kB / 0.6824 GB, free: 55.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.623e-05/0.4175, allocations: 30.38 kB / 0.6824 GB, free: 55.52 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004599/0.4179, allocations: 488.4 kB / 0.6829 GB, free: 55.31 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=80): time 2.945e-06/0.4179, allocations: 0.6562 kB / 0.6829 GB, free: 55.31 MB / 0.6355 GB Notification: Performance of matching and sorting (n=80): time 0.001616/0.4196, allocations: 0.7951 MB / 0.6837 GB, free: 55.21 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.884e-05/0.4196, allocations: 196.5 kB / 0.6838 GB, free: 54.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.4201, allocations: 0.5806 MB / 0.6844 GB, free: 54.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.4201, allocations: 43.23 kB / 0.6845 GB, free: 54.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.4203, allocations: 455.8 kB / 0.6849 GB, free: 54.57 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.4204, allocations: 271.1 kB / 0.6851 GB, free: 54.43 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001543/0.4206, allocations: 170.7 kB / 0.6853 GB, free: 54.39 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.627e-05/0.4207, allocations: 0.5587 MB / 0.6859 GB, free: 53.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.4209, allocations: 133.9 kB / 0.686 GB, free: 53.9 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002795/0.4212, allocations: 369.9 kB / 0.6863 GB, free: 53.68 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004761/0.4217, allocations: 371 kB / 0.6867 GB, free: 53.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4217, allocations: 0 / 0.6867 GB, free: 53.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.0009583/0.4226, allocations: 0.6275 MB / 0.6873 GB, free: 53.51 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.4226, allocations: 5.062 kB / 0.6873 GB, free: 53.51 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.4227, allocations: 4.344 kB / 0.6873 GB, free: 53.51 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004752/0.4231, allocations: 133.2 kB / 0.6874 GB, free: 53.5 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003456/0.4235, allocations: 155 kB / 0.6876 GB, free: 53.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001154/0.4246, allocations: 1.904 MB / 0.6894 GB, free: 51.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003252/0.425, allocations: 72.34 kB / 0.6895 GB, free: 51.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.425, allocations: 37.75 kB / 0.6896 GB, free: 51.73 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 (95): * Single equations (assignments): 94 * 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.0002025/0.4252, allocations: 216.3 kB / 0.6898 GB, free: 51.57 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000123/0.4253, allocations: 109.6 kB / 0.6899 GB, free: 51.52 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.4264, allocations: 0.813 MB / 0.6907 GB, free: 51.43 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.4264, allocations: 12.5 kB / 0.6907 GB, free: 51.43 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.4264, allocations: 0.8125 kB / 0.6907 GB, free: 51.43 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.4265, allocations: 7.219 kB / 0.6907 GB, free: 51.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000538/0.427, allocations: 0.586 MB / 0.6913 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.427, allocations: 0 / 0.6913 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002966/0.4273, allocations: 139.8 kB / 0.6914 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003671/0.4277, allocations: 119.9 kB / 0.6915 GB, free: 51.26 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.274e-05/0.4277, allocations: 21.98 kB / 0.6915 GB, free: 51.26 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000954/0.4287, allocations: 1.923 MB / 0.6934 GB, free: 49.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.4287, allocations: 3.016 kB / 0.6934 GB, free: 49.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009624/0.4296, allocations: 0.7322 MB / 0.6941 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/0.4299, allocations: 196.8 kB / 0.6943 GB, free: 49.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.64e-05/0.4299, allocations: 19.88 kB / 0.6943 GB, free: 49.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.4302, allocations: 44.05 kB / 0.6944 GB, free: 49.29 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.4303, allocations: 75.91 kB / 0.6944 GB, free: 49.29 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.329e-05/0.4303, allocations: 36.08 kB / 0.6945 GB, free: 49.29 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002918/0.4306, allocations: 392.7 kB / 0.6948 GB, free: 49.15 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4306, allocations: 1.094 kB / 0.6948 GB, free: 49.15 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007156/0.4313, allocations: 336.3 kB / 0.6952 GB, free: 49.12 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.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.001339/0.4327, allocations: 0.6217 MB / 0.6958 GB, free: 49 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0009101/0.4336, allocations: 0.6435 MB / 0.6964 GB, free: 48.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.4336, allocations: 2.656 kB / 0.6964 GB, free: 48.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004454/0.434, allocations: 465 kB / 0.6968 GB, free: 48.61 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/0.4347, allocations: 336.8 kB / 0.6972 GB, free: 48.58 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.437, allocations: 1.51 MB / 0.6986 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.4371, allocations: 189.8 kB / 0.6988 GB, free: 47.81 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0005104/0.4376, allocations: 247.3 kB / 0.6991 GB, free: 47.77 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.4378, allocations: 106.4 kB / 0.6992 GB, free: 47.76 MB / 0.6355 GB Notification: Performance of SimCode: time 9.62e-07/0.4378, allocations: 0.875 kB / 0.6992 GB, free: 47.76 MB / 0.6355 GB Notification: Performance of Templates: time 0.02084/0.4587, allocations: 15.25 MB / 0.7141 GB, free: 46.36 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0143188228830695]