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.007305/0.007304, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00126/0.00126, allocations: 202.3 kB / 16.68 MB, free: 5.969 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7518/0.7518, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.91 kB / 0.5813 GB, free: 7.551 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4772/0.4783, allocations: 80.21 MB / 0.6597 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005799/0.4841, allocations: 4.202 MB / 0.6638 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.1745/0.6587, allocations: 150.6 MB / 0.8108 GB, free: 10.89 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009426/0.6597, allocations: 19.88 kB / 0.8108 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005558/0.6602, allocations: 174.5 kB / 0.811 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.001593/0.6619, allocations: 489.4 kB / 0.8115 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002203/0.6641, allocations: 0.8337 MB / 0.8123 GB, free: 9.402 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001215/0.6653, allocations: 1.227 MB / 0.8135 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008449/0.6662, allocations: 0.6324 MB / 0.8141 GB, free: 7.523 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005712/0.6668, allocations: 446.4 kB / 0.8145 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005198/0.6673, allocations: 469.9 kB / 0.815 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001727/0.6675, allocations: 104 kB / 0.8151 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001118/0.6686, allocations: 0.4956 MB / 0.8155 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002607/0.6689, allocations: 283.1 kB / 0.8158 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0004518/0.6693, allocations: 0.509 MB / 0.8163 GB, free: 5.238 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.001807/0.6712, allocations: 1.542 MB / 0.8178 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.6712, allocations: 7.984 kB / 0.8178 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6712, allocations: 0 / 0.8178 GB, free: 3.684 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.6712, allocations: 0 / 0.8178 GB, free: 3.684 MB / 0.6387 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.00218/0.6734, allocations: 1.391 MB / 0.8192 GB, free: 2.234 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.6734, allocations: 8.031 kB / 0.8192 GB, free: 2.227 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008207/0.6743, allocations: 184.1 kB / 0.8194 GB, free: 2.047 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.6753, allocations: 0.7428 MB / 0.8201 GB, free: 1.266 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.6753, allocations: 66 kB / 0.8202 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.366e-05/0.6754, allocations: 80 kB / 0.8202 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.6769, allocations: 0.9026 MB / 0.8211 GB, free: 184 kB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.6769, allocations: 0 / 0.8211 GB, free: 184 kB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/0.677, allocations: 36 kB / 0.8211 GB, free: 148 kB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.945e-05/0.677, allocations: 20 kB / 0.8212 GB, free: 128 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/0.6786, allocations: 1.097 MB / 0.8222 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.6823, allocations: 2.501 MB / 0.8247 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001826/0.6841, allocations: 0.8658 MB / 0.8255 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/0.6846, allocations: 298.5 kB / 0.8258 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.838e-05/0.6847, allocations: 28.61 kB / 0.8258 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007891/0.6855, allocations: 447.2 kB / 0.8263 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=76): time 2.013e-06/0.6855, allocations: 0 / 0.8263 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of matching and sorting (n=76): time 0.002899/0.6884, allocations: 1.12 MB / 0.8274 GB, free: 9.652 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/0.6885, allocations: 192.6 kB / 0.8275 GB, free: 9.422 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000722/0.6893, allocations: 0.6056 MB / 0.8281 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/0.6893, allocations: 37.7 kB / 0.8282 GB, free: 8.766 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/0.6896, allocations: 381 kB / 0.8285 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.6898, allocations: 265.7 kB / 0.8288 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000227/0.6901, allocations: 170.5 kB / 0.8289 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.6902, allocations: 390.6 kB / 0.8293 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.6907, allocations: 249.9 kB / 0.8296 GB, free: 7.32 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/0.6912, allocations: 339.2 kB / 0.8299 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.6923, allocations: 0.5877 MB / 0.8305 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6923, allocations: 0 / 0.8305 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001706/0.694, allocations: 0.8141 MB / 0.8312 GB, free: 5.551 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.694, allocations: 5.562 kB / 0.8313 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.694, allocations: 0 / 0.8313 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005303/0.6946, allocations: 80.83 kB / 0.8313 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006154/0.6952, allocations: 159.7 kB / 0.8315 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.6973, allocations: 1.631 MB / 0.8331 GB, free: 3.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006107/0.6979, allocations: 89.83 kB / 0.8332 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.307e-05/0.698, allocations: 31.97 kB / 0.8332 GB, free: 3.418 MB / 0.6544 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.0003802/0.6984, allocations: 259.5 kB / 0.8334 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.6985, allocations: 79.48 kB / 0.8335 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002266/0.7008, allocations: 1.057 MB / 0.8345 GB, free: 2.008 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.7008, allocations: 8 kB / 0.8346 GB, free: 2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.7008, allocations: 7.938 kB / 0.8346 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.7008, allocations: 11.97 kB / 0.8346 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002911/0.7037, allocations: 1.924 MB / 0.8365 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7037, allocations: 0 / 0.8365 GB, free: 15.99 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000565/0.7043, allocations: 155.7 kB / 0.8366 GB, free: 15.84 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004027/0.7047, allocations: 84.7 kB / 0.8367 GB, free: 15.75 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.897e-05/0.7048, allocations: 23.98 kB / 0.8367 GB, free: 15.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.7065, allocations: 1.654 MB / 0.8383 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.7065, allocations: 0 / 0.8383 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.7084, allocations: 0.9633 MB / 0.8393 GB, free: 12.95 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003842/0.7088, allocations: 268.2 kB / 0.8395 GB, free: 12.67 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.7089, allocations: 19.98 kB / 0.8395 GB, free: 12.65 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.7095, allocations: 63.88 kB / 0.8396 GB, free: 12.59 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/0.7096, allocations: 64.91 kB / 0.8397 GB, free: 12.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.349e-05/0.7097, allocations: 27.98 kB / 0.8397 GB, free: 12.5 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000532/0.7102, allocations: 439 kB / 0.8401 GB, free: 12.07 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7102, allocations: 0 / 0.8401 GB, free: 12.07 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009197/0.7112, allocations: 315.1 kB / 0.8404 GB, free: 11.77 MB / 0.67 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.001387/0.7126, allocations: 0.6106 MB / 0.841 GB, free: 11.36 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.7141, allocations: 0.7999 MB / 0.8418 GB, free: 10.54 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.7141, allocations: 0 / 0.8418 GB, free: 10.54 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007952/0.7149, allocations: 0.5121 MB / 0.8423 GB, free: 10.02 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.7161, allocations: 286 kB / 0.8426 GB, free: 9.766 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003331/0.7194, allocations: 1.729 MB / 0.8442 GB, free: 8.004 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.7199, allocations: 1.02 MB / 0.8452 GB, free: 6.957 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007041/0.7206, allocations: 258 kB / 0.8455 GB, free: 6.703 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002411/0.7209, allocations: 111.3 kB / 0.8456 GB, free: 6.594 MB / 0.67 GB Notification: Performance of SimCode: time 5.11e-07/0.7209, allocations: 0 / 0.8456 GB, free: 6.594 MB / 0.67 GB Notification: Performance of Templates: time 0.02427/0.7452, allocations: 14.44 MB / 0.8597 GB, free: 8.332 MB / 0.6856 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)