Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001176/0.001177, allocations: 104 kB / 15.98 MB, free: 5.891 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.001186/0.001186, allocations: 187.5 kB / 16.91 MB, free: 5.746 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.287/1.287, allocations: 222.9 MB / 240.6 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002022/0.002022, allocations: 290.6 kB / 291 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.93/0.93, allocations: 169.2 MB / 0.4985 GB, free: 14.04 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001697/0.001697, allocations: 93.41 kB / 0.5953 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1778, allocations: 86.98 MB / 0.6803 GB, free: 1 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.006242/0.1841, allocations: 4.509 MB / 0.6847 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5112/0.6954, allocations: 148.4 MB / 0.8296 GB, free: 1.176 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008798/0.6963, allocations: 19.69 kB / 0.8297 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005414/0.6969, allocations: 141.3 kB / 0.8298 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.6985, allocations: 471.5 kB / 0.8302 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.7003, allocations: 0.7755 MB / 0.831 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.7017, allocations: 1.386 MB / 0.8324 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008461/0.7026, allocations: 0.6422 MB / 0.833 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006999/0.7033, allocations: 0.4963 MB / 0.8335 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005242/0.7038, allocations: 0.5336 MB / 0.834 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001745/0.704, allocations: 122.4 kB / 0.8341 GB, free: 400 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009656/0.705, allocations: 487.9 kB / 0.8346 GB, free: 376 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.7052, allocations: 311.2 kB / 0.8349 GB, free: 328 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004406/0.7057, allocations: 0.5761 MB / 0.8354 GB, free: 144 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001485/0.7072, allocations: 1.268 MB / 0.8367 GB, free: 36 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.7072, allocations: 0 / 0.8367 GB, free: 36 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.325e-06/0.7072, allocations: 0 / 0.8367 GB, free: 36 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.7072, allocations: 1.031 kB / 0.8367 GB, free: 36 kB / 0.5606 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.003348/0.7106, allocations: 1.484 MB / 0.8381 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.7106, allocations: 12.72 kB / 0.8381 GB, free: 15.22 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/0.7116, allocations: 193 kB / 0.8383 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.7128, allocations: 0.7663 MB / 0.8391 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.094e-05/0.7128, allocations: 70.44 kB / 0.8391 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001211/0.713, allocations: 85.19 kB / 0.8392 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/0.7147, allocations: 0.9813 MB / 0.8402 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.07e-05/0.7148, allocations: 2.719 kB / 0.8402 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.146e-05/0.7149, allocations: 35.69 kB / 0.8402 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/0.7149, allocations: 22.03 kB / 0.8402 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001827/0.7167, allocations: 1.165 MB / 0.8414 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004478/0.7212, allocations: 2.692 MB / 0.844 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/0.7233, allocations: 0.982 MB / 0.845 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005327/0.7238, allocations: 326.6 kB / 0.8453 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.926e-05/0.7239, allocations: 36.12 kB / 0.8453 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009173/0.7249, allocations: 0.539 MB / 0.8458 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.675e-06/0.7249, allocations: 0 / 0.8458 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003237/0.7281, allocations: 1.289 MB / 0.8471 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/0.7283, allocations: 199.2 kB / 0.8473 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008479/0.7291, allocations: 0.6508 MB / 0.8479 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.419e-05/0.7292, allocations: 46.7 kB / 0.848 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003261/0.7295, allocations: 403.8 kB / 0.8483 GB, free: 9.727 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/0.7298, allocations: 289.1 kB / 0.8486 GB, free: 9.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000267/0.73, allocations: 181.6 kB / 0.8488 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.7302, allocations: 387.2 kB / 0.8492 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.7308, allocations: 291.8 kB / 0.8494 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006147/0.7314, allocations: 389.1 kB / 0.8498 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001105/0.7325, allocations: 0.6543 MB / 0.8504 GB, free: 8.293 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.7325, allocations: 3.984 kB / 0.8505 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002072/0.7346, allocations: 0.9107 MB / 0.8513 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.987e-05/0.7346, allocations: 4.781 kB / 0.8513 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.7347, allocations: 6.531 kB / 0.8514 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005932/0.7352, allocations: 79.66 kB / 0.8514 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006941/0.736, allocations: 184 kB / 0.8516 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.7381, allocations: 1.617 MB / 0.8532 GB, free: 6.148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009506/0.739, allocations: 116.6 kB / 0.8533 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/0.7391, allocations: 41.61 kB / 0.8533 GB, free: 6.055 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: 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.0005561/0.7397, allocations: 278.4 kB / 0.8536 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/0.7399, allocations: 89.52 kB / 0.8537 GB, free: 5.793 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002544/0.7424, allocations: 1.191 MB / 0.8548 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.7425, allocations: 10.97 kB / 0.8549 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.7425, allocations: 7.984 kB / 0.8549 GB, free: 5.125 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/0.7425, allocations: 3.984 kB / 0.8549 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003477/0.746, allocations: 2.104 MB / 0.8569 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.746, allocations: 0 / 0.8569 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006166/0.7466, allocations: 176 kB / 0.8571 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004377/0.7471, allocations: 74.41 kB / 0.8572 GB, free: 3.688 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-05/0.7471, allocations: 31.62 kB / 0.8572 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/0.749, allocations: 1.656 MB / 0.8588 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.749, allocations: 0 / 0.8588 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.7511, allocations: 1.083 MB / 0.8599 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004191/0.7516, allocations: 292.2 kB / 0.8601 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001392/0.7517, allocations: 22.28 kB / 0.8602 GB, free: 1.184 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007103/0.7524, allocations: 70.98 kB / 0.8602 GB, free: 1.148 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.7526, allocations: 82.56 kB / 0.8603 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.733e-05/0.7527, allocations: 40.91 kB / 0.8604 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005995/0.7533, allocations: 476.8 kB / 0.8608 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.01e-07/0.7533, allocations: 0 / 0.8608 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009724/0.7543, allocations: 340.8 kB / 0.8611 GB, free: 0.7227 MB / 0.5762 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.001388/0.7557, allocations: 0.6282 MB / 0.8617 GB, free: 444 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002543/0.7582, allocations: 1.131 MB / 0.8629 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.7582, allocations: 0 / 0.8629 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009407/0.7592, allocations: 0.5732 MB / 0.8634 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001271/0.7605, allocations: 298.6 kB / 0.8637 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.7646, allocations: 2.349 MB / 0.866 GB, free: 13.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006093/0.7653, allocations: 1.044 MB / 0.867 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003963/0.7657, allocations: 128.7 kB / 0.8671 GB, free: 13 MB / 0.5919 GB Notification: Performance of SimCode: time 7.92e-07/0.7657, allocations: 0 / 0.8671 GB, free: 13 MB / 0.5919 GB Notification: Performance of Templates: time 0.02556/0.7912, allocations: 19.39 MB / 0.8861 GB, free: 12.41 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)