Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.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.001053/0.001053, allocations: 92.22 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.001212/0.001212, allocations: 173 kB / 23.02 MB, free: 1.547 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.9461/0.9461, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.8443/0.8443, allocations: 154.9 MB / 414.8 MB, free: 404 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.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 0.5207 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.249e-05/3.416e-05, allocations: 2.859 kB / 0.5207 GB, free: 1.832 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007034/0.007068, allocations: 4.883 MB / 0.5254 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.159, allocations: 146.7 MB / 0.6687 GB, free: 9.926 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008318/0.1598, allocations: 23.81 kB / 0.6687 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.1604, allocations: 206 kB / 0.6689 GB, free: 9.699 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001568/0.162, allocations: 0.6134 MB / 0.6695 GB, free: 9.082 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001603/0.1636, allocations: 0.9036 MB / 0.6704 GB, free: 8.176 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.165, allocations: 1.526 MB / 0.6719 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006035/0.1656, allocations: 413.5 kB / 0.6723 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009811/0.1666, allocations: 0.8068 MB / 0.673 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004977/0.1671, allocations: 406.8 kB / 0.6734 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001381/0.1672, allocations: 116 kB / 0.6735 GB, free: 4.898 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008038/0.168, allocations: 0.5032 MB / 0.674 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002036/0.1683, allocations: 306.9 kB / 0.6743 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0002929/0.1685, allocations: 391 kB / 0.6747 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001554/0.1701, allocations: 1.311 MB / 0.676 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1701, allocations: 0 / 0.676 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1701, allocations: 0 / 0.676 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.303e-05/0.1701, allocations: 0 / 0.676 GB, free: 2.395 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001982/0.1721, allocations: 1.549 MB / 0.6775 GB, free: 0.7969 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1722, allocations: 15.95 kB / 0.6775 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/0.1733, allocations: 379.2 kB / 0.6779 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2884/0.4617, allocations: 0.7262 MB / 0.6786 GB, free: 56.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.222e-05/0.4617, allocations: 71.66 kB / 0.6786 GB, free: 56.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.4618, allocations: 89.78 kB / 0.6787 GB, free: 56.8 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/0.4627, allocations: 0.9711 MB / 0.6797 GB, free: 56.37 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.747e-05/0.4627, allocations: 8.844 kB / 0.6797 GB, free: 56.37 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.853e-05/0.4627, allocations: 45.06 kB / 0.6797 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/0.4628, allocations: 22.22 kB / 0.6798 GB, free: 56.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007318/0.4635, allocations: 0.8196 MB / 0.6806 GB, free: 56.35 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002158/0.4656, allocations: 2.329 MB / 0.6828 GB, free: 55.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009025/0.4665, allocations: 0.5532 MB / 0.6834 GB, free: 55.46 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002218/0.4668, allocations: 191.4 kB / 0.6836 GB, free: 55.45 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.793e-05/0.4668, allocations: 26.75 kB / 0.6836 GB, free: 55.44 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004125/0.4672, allocations: 0.5046 MB / 0.6841 GB, free: 55.23 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=88): time 2.154e-06/0.4672, allocations: 0 / 0.6841 GB, free: 55.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88): time 0.001434/0.4687, allocations: 0.8836 MB / 0.6849 GB, free: 55.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.4687, allocations: 192.7 kB / 0.6851 GB, free: 54.89 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003767/0.4691, allocations: 0.5809 MB / 0.6857 GB, free: 54.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.4691, allocations: 48.64 kB / 0.6857 GB, free: 54.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.4693, allocations: 469.8 kB / 0.6862 GB, free: 54.46 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.4694, allocations: 299 kB / 0.6865 GB, free: 54.3 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001569/0.4696, allocations: 184.3 kB / 0.6866 GB, free: 54.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.028e-05/0.4697, allocations: 0.5611 MB / 0.6872 GB, free: 53.79 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.4699, allocations: 145.1 kB / 0.6873 GB, free: 53.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.4701, allocations: 387.5 kB / 0.6877 GB, free: 53.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004639/0.4706, allocations: 404.1 kB / 0.6881 GB, free: 53.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.4706, allocations: 0.5469 kB / 0.6881 GB, free: 53.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009009/0.4715, allocations: 0.6861 MB / 0.6887 GB, free: 53.38 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.4715, allocations: 10.75 kB / 0.6888 GB, free: 53.38 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.4715, allocations: 0 / 0.6888 GB, free: 53.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004328/0.472, allocations: 123.7 kB / 0.6889 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.4723, allocations: 178.6 kB / 0.689 GB, free: 53.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009771/0.4733, allocations: 1.897 MB / 0.6909 GB, free: 51.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002896/0.4736, allocations: 95.16 kB / 0.691 GB, free: 51.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.4736, allocations: 38.86 kB / 0.691 GB, free: 51.59 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: 21 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 103 * 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.0001746/0.4738, allocations: 214.8 kB / 0.6912 GB, free: 51.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.4739, allocations: 111.7 kB / 0.6913 GB, free: 51.39 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.475, allocations: 0.9332 MB / 0.6923 GB, free: 51.29 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.475, allocations: 9.844 kB / 0.6923 GB, free: 51.29 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.475, allocations: 0 / 0.6923 GB, free: 51.29 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.475, allocations: 10.61 kB / 0.6923 GB, free: 51.29 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/0.4766, allocations: 1.54 MB / 0.6938 GB, free: 50.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.4766, allocations: 0.8125 kB / 0.6938 GB, free: 50.94 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.4769, allocations: 167 kB / 0.6939 GB, free: 50.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003222/0.4772, allocations: 117.3 kB / 0.694 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.4772, allocations: 30.09 kB / 0.6941 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008032/0.4781, allocations: 1.925 MB / 0.696 GB, free: 49.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4781, allocations: 3 kB / 0.696 GB, free: 49.17 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009511/0.479, allocations: 0.9236 MB / 0.6969 GB, free: 48.89 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000207/0.4792, allocations: 208 kB / 0.6971 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.865e-05/0.4793, allocations: 19.84 kB / 0.6971 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002417/0.4795, allocations: 47.38 kB / 0.6971 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.4796, allocations: 79.48 kB / 0.6972 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.4797, allocations: 45.81 kB / 0.6972 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002405/0.4799, allocations: 394.3 kB / 0.6976 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4799, allocations: 0.8438 kB / 0.6976 GB, free: 48.71 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005569/0.4805, allocations: 362.4 kB / 0.698 GB, free: 48.68 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,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 (106): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.001157/0.4816, allocations: 0.6331 MB / 0.6986 GB, free: 48.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007885/0.4824, allocations: 0.6954 MB / 0.6993 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4824, allocations: 1.094 kB / 0.6993 GB, free: 48.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0004038/0.4828, allocations: 0.4994 MB / 0.6998 GB, free: 48.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006733/0.4835, allocations: 331.9 kB / 0.7001 GB, free: 48.15 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002069/0.4856, allocations: 1.623 MB / 0.7017 GB, free: 47.41 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.4857, allocations: 202.9 kB / 0.7018 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000513/0.4862, allocations: 265.5 kB / 0.7021 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002064/0.4864, allocations: 124.5 kB / 0.7022 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of SimCode: time 1.322e-06/0.4864, allocations: 0 / 0.7022 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of Templates: time 0.022/0.5084, allocations: 17.09 MB / 0.7189 GB, free: 45.62 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.979101347737014]