Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.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.001076/0.001076, allocations: 93.06 kB / 19.65 MB, free: 272 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.001058/0.001058, allocations: 173 kB / 23.02 MB, free: 1.543 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.9659/0.9659, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.7883/0.7883, allocations: 154.9 MB / 414.8 MB, free: 436 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.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5207 GB, free: 1.875 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.651e-05, allocations: 6.969 kB / 0.5207 GB, free: 1.871 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005379/0.005405, allocations: 4.684 MB / 0.5252 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1308/0.1362, allocations: 146.5 MB / 0.6683 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000742/0.1369, allocations: 23.81 kB / 0.6684 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005315/0.1375, allocations: 198.1 kB / 0.6686 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001361/0.1388, allocations: 0.5823 MB / 0.6691 GB, free: 9.496 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.1403, allocations: 0.8491 MB / 0.67 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001218/0.1415, allocations: 1.413 MB / 0.6713 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005331/0.142, allocations: 397.8 kB / 0.6717 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008817/0.1429, allocations: 0.7445 MB / 0.6724 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003975/0.1433, allocations: 366.9 kB / 0.6728 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.1434, allocations: 104 kB / 0.6729 GB, free: 5.609 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006855/0.1441, allocations: 483.4 kB / 0.6733 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.1443, allocations: 291 kB / 0.6736 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002501/0.1445, allocations: 355 kB / 0.674 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.1457, allocations: 1.206 MB / 0.6751 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1457, allocations: 4 kB / 0.6751 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/0.1457, allocations: 0 / 0.6751 GB, free: 3.289 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.1457, allocations: 0 / 0.6751 GB, free: 3.289 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: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.001563/0.1473, allocations: 1.472 MB / 0.6766 GB, free: 1.77 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.1473, allocations: 12.03 kB / 0.6766 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007933/0.1481, allocations: 323.5 kB / 0.6769 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.1488, allocations: 0.7033 MB / 0.6776 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.1488, allocations: 62.12 kB / 0.6776 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.202e-05/0.1489, allocations: 84 kB / 0.6777 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2901/0.439, allocations: 0.9216 MB / 0.6786 GB, free: 56.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.439, allocations: 0 / 0.6786 GB, free: 56.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.293e-05/0.4391, allocations: 32.81 kB / 0.6787 GB, free: 56.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.4391, allocations: 22.69 kB / 0.6787 GB, free: 56.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007834/0.4399, allocations: 0.7841 MB / 0.6794 GB, free: 56.65 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.4421, allocations: 2.138 MB / 0.6815 GB, free: 55.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006922/0.4428, allocations: 472.6 kB / 0.682 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.443, allocations: 181.8 kB / 0.6822 GB, free: 55.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/0.4431, allocations: 27.53 kB / 0.6822 GB, free: 55.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004137/0.4435, allocations: 470.7 kB / 0.6826 GB, free: 55.56 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=79): time 2.956e-06/0.4435, allocations: 0 / 0.6826 GB, free: 55.56 MB / 0.6355 GB Notification: Performance of matching and sorting (n=79): time 0.001454/0.445, allocations: 0.7842 MB / 0.6834 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.445, allocations: 190.7 kB / 0.6836 GB, free: 55.24 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.4454, allocations: 0.5624 MB / 0.6841 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.095e-05/0.4454, allocations: 40.41 kB / 0.6842 GB, free: 55.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/0.4456, allocations: 457.2 kB / 0.6846 GB, free: 54.81 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.4457, allocations: 267.1 kB / 0.6849 GB, free: 54.67 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000144/0.4459, allocations: 169.9 kB / 0.685 GB, free: 54.64 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.446, allocations: 0.5548 MB / 0.6856 GB, free: 54.14 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.4461, allocations: 130.1 kB / 0.6857 GB, free: 54.14 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.4464, allocations: 360.7 kB / 0.686 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/0.4468, allocations: 365.1 kB / 0.6864 GB, free: 53.86 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4468, allocations: 0 / 0.6864 GB, free: 53.86 MB / 0.6355 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0008489/0.4477, allocations: 0.6207 MB / 0.687 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4477, allocations: 6.531 kB / 0.687 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/0.4477, allocations: 2.75 kB / 0.687 GB, free: 53.75 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004741/0.4482, allocations: 128.8 kB / 0.6871 GB, free: 53.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.4485, allocations: 155.2 kB / 0.6873 GB, free: 53.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001299/0.4498, allocations: 1.9 MB / 0.6891 GB, free: 51.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003615/0.4502, allocations: 70.67 kB / 0.6892 GB, free: 51.97 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.663e-05/0.4502, allocations: 38.66 kB / 0.6892 GB, free: 51.97 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 (93): * Single equations (assignments): 92 * 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.0002324/0.4504, allocations: 209.4 kB / 0.6894 GB, free: 51.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.4506, allocations: 108.5 kB / 0.6895 GB, free: 51.76 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001127/0.4517, allocations: 0.8059 MB / 0.6903 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4517, allocations: 9.875 kB / 0.6903 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.4517, allocations: 2.531 kB / 0.6903 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.4517, allocations: 8.703 kB / 0.6903 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.4533, allocations: 1.389 MB / 0.6917 GB, free: 51.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.4533, allocations: 8.016 kB / 0.6917 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002688/0.4536, allocations: 136.1 kB / 0.6918 GB, free: 51.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003352/0.4539, allocations: 115.8 kB / 0.6919 GB, free: 51.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.682e-05/0.4539, allocations: 26.42 kB / 0.692 GB, free: 51.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00087/0.4548, allocations: 1.924 MB / 0.6938 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4548, allocations: 0.625 kB / 0.6938 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008682/0.4557, allocations: 0.8322 MB / 0.6947 GB, free: 49.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002119/0.4559, allocations: 184.5 kB / 0.6948 GB, free: 49.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.713e-05/0.456, allocations: 22.66 kB / 0.6949 GB, free: 49.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002222/0.4562, allocations: 43.59 kB / 0.6949 GB, free: 49.23 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.996e-05/0.4563, allocations: 67.19 kB / 0.695 GB, free: 49.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.152e-05/0.4563, allocations: 40.31 kB / 0.695 GB, free: 49.23 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002393/0.4566, allocations: 384.7 kB / 0.6954 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4566, allocations: 0 / 0.6954 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006662/0.4572, allocations: 326.4 kB / 0.6957 GB, free: 49.07 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 (90): * Single equations (assignments): 84 * 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.001306/0.4585, allocations: 0.6116 MB / 0.6963 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008431/0.4594, allocations: 0.6361 MB / 0.6969 GB, free: 48.75 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.4594, allocations: 0.7188 kB / 0.6969 GB, free: 48.75 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003913/0.4598, allocations: 465.8 kB / 0.6973 GB, free: 48.56 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006926/0.4605, allocations: 316.7 kB / 0.6976 GB, free: 48.54 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.4626, allocations: 1.489 MB / 0.6991 GB, free: 47.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001189/0.4627, allocations: 189.5 kB / 0.6993 GB, free: 47.78 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004669/0.4631, allocations: 256 kB / 0.6995 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.4633, allocations: 106.2 kB / 0.6996 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/0.4633, allocations: 1.031 kB / 0.6996 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of Templates: time 0.02148/0.4848, allocations: 15.86 MB / 0.7151 GB, free: 46.21 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.881131459958851]