Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001029, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009588/0.009588, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.776/0.776, allocations: 132.4 MB / 423.8 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004234/0.0004237, allocations: 8 kB / 0.504 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4991/0.4995, allocations: 81.58 MB / 0.5837 GB, free: 4.016 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005163/0.5047, allocations: 3.806 MB / 0.5874 GB, free: 1.254 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.1837/0.6884, allocations: 146.7 MB / 0.7306 GB, free: 9.391 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009768/0.6894, allocations: 15.94 kB / 0.7306 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006695/0.6901, allocations: 139 kB / 0.7308 GB, free: 9.238 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.6918, allocations: 409.2 kB / 0.7311 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002113/0.6939, allocations: 0.7104 MB / 0.7318 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.6954, allocations: 1.141 MB / 0.733 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001011/0.6964, allocations: 0.6053 MB / 0.7335 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006584/0.6971, allocations: 326.3 kB / 0.7339 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006145/0.6977, allocations: 346 kB / 0.7342 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.6979, allocations: 24 kB / 0.7342 GB, free: 5.688 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001078/0.699, allocations: 391.6 kB / 0.7346 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.6993, allocations: 175.2 kB / 0.7347 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000498/0.6998, allocations: 427 kB / 0.7352 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.7016, allocations: 1.405 MB / 0.7365 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.7016, allocations: 0 / 0.7365 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.793e-06/0.7016, allocations: 0 / 0.7365 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.7016, allocations: 0 / 0.7365 GB, free: 3.297 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 210 * Number of variables: 210 Notification: Performance of Generate backend data structure: time 0.002018/0.7037, allocations: 1.155 MB / 0.7377 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.7037, allocations: 12.03 kB / 0.7377 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008981/0.7046, allocations: 191.4 kB / 0.7378 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009492/0.7056, allocations: 0.7111 MB / 0.7385 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/0.7056, allocations: 66 kB / 0.7386 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.7058, allocations: 76 kB / 0.7387 GB, free: 1 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/0.7073, allocations: 0.9066 MB / 0.7396 GB, free: 52 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.848e-05/0.7073, allocations: 0 / 0.7396 GB, free: 52 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.029e-05/0.7074, allocations: 36 kB / 0.7396 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.7074, allocations: 20.05 kB / 0.7396 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.7091, allocations: 1.104 MB / 0.7407 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003954/0.7131, allocations: 2.562 MB / 0.7432 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001842/0.7149, allocations: 0.8726 MB / 0.744 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00051/0.7154, allocations: 302.6 kB / 0.7443 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.617e-05/0.7155, allocations: 32.67 kB / 0.7444 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007844/0.7163, allocations: 443.2 kB / 0.7448 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.084e-06/0.7163, allocations: 0 / 0.7448 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.003002/0.7193, allocations: 1.135 MB / 0.7459 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.809e-05/0.7195, allocations: 192.5 kB / 0.7461 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007112/0.7202, allocations: 0.6017 MB / 0.7467 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.721e-05/0.7202, allocations: 41.7 kB / 0.7467 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.7205, allocations: 384.2 kB / 0.7471 GB, free: 8.152 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/0.7207, allocations: 252.4 kB / 0.7473 GB, free: 7.902 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/0.7208, allocations: 61.69 kB / 0.7474 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.721, allocations: 390.7 kB / 0.7477 GB, free: 7.445 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004957/0.7215, allocations: 249.9 kB / 0.748 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005645/0.7221, allocations: 351.1 kB / 0.7483 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.7231, allocations: 0.5838 MB / 0.7489 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7232, allocations: 4 kB / 0.7489 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00183/0.725, allocations: 0.8214 MB / 0.7497 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.725, allocations: 7.938 kB / 0.7497 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.174e-06/0.725, allocations: 0 / 0.7497 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006302/0.7257, allocations: 88.83 kB / 0.7498 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/0.7263, allocations: 163.7 kB / 0.7499 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/0.7283, allocations: 1.519 MB / 0.7514 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007/0.729, allocations: 103.3 kB / 0.7515 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.7291, allocations: 39.97 kB / 0.7516 GB, free: 3.359 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,solAzi.outsidePolarCircle,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0003856/0.7295, allocations: 255.9 kB / 0.7518 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.7296, allocations: 79 kB / 0.7519 GB, free: 3.023 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/0.732, allocations: 1.061 MB / 0.7529 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.146e-05/0.7321, allocations: 12 kB / 0.7529 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.7321, allocations: 0 / 0.7529 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.7321, allocations: 3.984 kB / 0.7529 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003135/0.7352, allocations: 1.94 MB / 0.7548 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.7352, allocations: 4 kB / 0.7548 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000607/0.7359, allocations: 155.8 kB / 0.755 GB, free: 15.78 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005356/0.7364, allocations: 84.77 kB / 0.7551 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.7365, allocations: 23.98 kB / 0.7551 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001905/0.7384, allocations: 1.544 MB / 0.7566 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.7384, allocations: 4.047 kB / 0.7566 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002044/0.7405, allocations: 0.9647 MB / 0.7575 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004331/0.7409, allocations: 291.7 kB / 0.7578 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.741, allocations: 16 kB / 0.7578 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006221/0.7416, allocations: 75.86 kB / 0.7579 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.7418, allocations: 68.84 kB / 0.758 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.285e-05/0.7419, allocations: 35.98 kB / 0.758 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006454/0.7425, allocations: 431 kB / 0.7584 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7426, allocations: 4 kB / 0.7584 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001016/0.7436, allocations: 311.2 kB / 0.7587 GB, free: 11.78 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001573/0.7452, allocations: 0.6064 MB / 0.7593 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.747, allocations: 0.804 MB / 0.7601 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.747, allocations: 0 / 0.7601 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009442/0.7479, allocations: 0.5081 MB / 0.7606 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.7492, allocations: 258.3 kB / 0.7608 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004024/0.7533, allocations: 2.195 MB / 0.763 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.7539, allocations: 1.012 MB / 0.764 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008979/0.7548, allocations: 262.2 kB / 0.7642 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002437/0.7551, allocations: 107.4 kB / 0.7643 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/0.7551, allocations: 0 / 0.7643 GB, free: 6.16 MB / 0.5919 GB Notification: Performance of Templates: time 0.0224/0.7775, allocations: 13.67 MB / 0.7777 GB, free: 8.668 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)