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.001806/0.001806, allocations: 104 kB / 16.27 MB, free: 5.938 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.002116/0.002116, allocations: 191.7 kB / 17.2 MB, free: 5.578 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.544/1.544, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002365/0.002365, allocations: 290 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.019/1.019, allocations: 169.3 MB / 0.4988 GB, free: 4.48 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001831/0.001831, allocations: 97.48 kB / 0.5959 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2119, allocations: 86.97 MB / 0.6808 GB, free: 8.211 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007777/0.2198, allocations: 4.502 MB / 0.6852 GB, free: 3.68 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5771/0.7969, allocations: 150.7 MB / 0.8324 GB, free: 3.668 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/0.7979, allocations: 19.88 kB / 0.8324 GB, free: 3.648 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008498/0.7988, allocations: 174.3 kB / 0.8326 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002319/0.8012, allocations: 0.5279 MB / 0.8331 GB, free: 2.969 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00258/0.8038, allocations: 0.8705 MB / 0.8339 GB, free: 2.125 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002032/0.8059, allocations: 1.375 MB / 0.8353 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001377/0.8073, allocations: 0.6515 MB / 0.8359 GB, free: 76 kB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.8083, allocations: 0.4945 MB / 0.8364 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001111/0.8095, allocations: 0.5289 MB / 0.8369 GB, free: 15.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004446/0.8099, allocations: 120 kB / 0.837 GB, free: 14.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001527/0.8115, allocations: 491.5 kB / 0.8375 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005026/0.812, allocations: 315 kB / 0.8378 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001042/0.813, allocations: 0.5764 MB / 0.8383 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003181/0.8162, allocations: 1.646 MB / 0.84 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/0.8163, allocations: 0 / 0.84 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8163, allocations: 0 / 0.84 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.073e-05/0.8163, allocations: 0 / 0.84 GB, free: 11.91 MB / 0.6075 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.004552/0.8209, allocations: 1.488 MB / 0.8414 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.821, allocations: 8.031 kB / 0.8414 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.8222, allocations: 195.3 kB / 0.8416 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/0.8236, allocations: 0.7627 MB / 0.8423 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.452e-05/0.8236, allocations: 66 kB / 0.8424 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001113/0.8238, allocations: 88 kB / 0.8425 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00168/0.8255, allocations: 0.9846 MB / 0.8435 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.8255, allocations: 0 / 0.8435 GB, free: 8.191 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.069e-05/0.8256, allocations: 39.75 kB / 0.8435 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.078e-05/0.8256, allocations: 24 kB / 0.8435 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001811/0.8274, allocations: 1.155 MB / 0.8446 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004368/0.8318, allocations: 2.704 MB / 0.8473 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002049/0.8339, allocations: 0.9785 MB / 0.8482 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005728/0.8345, allocations: 330.7 kB / 0.8486 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.813e-05/0.8346, allocations: 36.59 kB / 0.8486 GB, free: 2.84 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009473/0.8355, allocations: 0.5374 MB / 0.8491 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=88): time 2.775e-06/0.8355, allocations: 0 / 0.8491 GB, free: 2.289 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88): time 0.003289/0.8388, allocations: 1.286 MB / 0.8504 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.8389, allocations: 200.8 kB / 0.8506 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008677/0.8398, allocations: 0.6489 MB / 0.8512 GB, free: 88 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.03e-05/0.8399, allocations: 45.69 kB / 0.8512 GB, free: 36 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000357/0.8403, allocations: 400.5 kB / 0.8516 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.8405, allocations: 287.8 kB / 0.8519 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002619/0.8408, allocations: 182.5 kB / 0.8521 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.841, allocations: 390.8 kB / 0.8524 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.8415, allocations: 289.8 kB / 0.8527 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000675/0.8422, allocations: 383.7 kB / 0.8531 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.8434, allocations: 0.6554 MB / 0.8537 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.8434, allocations: 0 / 0.8537 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002204/0.8456, allocations: 0.9112 MB / 0.8546 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.701e-05/0.8457, allocations: 8 kB / 0.8546 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.8457, allocations: 0 / 0.8546 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006276/0.8463, allocations: 84.83 kB / 0.8547 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007786/0.8471, allocations: 184.4 kB / 0.8549 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.8494, allocations: 1.616 MB / 0.8565 GB, free: 10.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000993/0.8504, allocations: 119.2 kB / 0.8566 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.8505, allocations: 39.97 kB / 0.8566 GB, free: 10.33 MB / 0.6231 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.0005619/0.851, allocations: 284.1 kB / 0.8569 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002089/0.8513, allocations: 86.97 kB / 0.857 GB, free: 9.957 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002727/0.854, allocations: 1.187 MB / 0.8581 GB, free: 8.75 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.854, allocations: 12 kB / 0.8581 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.854, allocations: 3.75 kB / 0.8581 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-05/0.8541, allocations: 7.922 kB / 0.8581 GB, free: 8.73 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003628/0.8577, allocations: 2.114 MB / 0.8602 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.8577, allocations: 0 / 0.8602 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/0.8584, allocations: 163.8 kB / 0.8604 GB, free: 6.398 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004563/0.8589, allocations: 76.8 kB / 0.8604 GB, free: 6.32 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.399e-05/0.8589, allocations: 31.97 kB / 0.8605 GB, free: 6.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001972/0.8609, allocations: 1.662 MB / 0.8621 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.8609, allocations: 0 / 0.8621 GB, free: 4.477 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/0.8634, allocations: 1.09 MB / 0.8632 GB, free: 3.367 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004428/0.8639, allocations: 287.6 kB / 0.8634 GB, free: 3.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.864, allocations: 23.98 kB / 0.8635 GB, free: 3.043 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007047/0.8647, allocations: 71.94 kB / 0.8635 GB, free: 2.973 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000172/0.8649, allocations: 76.88 kB / 0.8636 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.061e-05/0.865, allocations: 43.97 kB / 0.8636 GB, free: 2.855 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006761/0.8657, allocations: 475 kB / 0.8641 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8657, allocations: 0 / 0.8641 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001062/0.8668, allocations: 339.2 kB / 0.8644 GB, free: 2.066 MB / 0.6231 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.001448/0.8682, allocations: 0.6315 MB / 0.865 GB, free: 1.609 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002827/0.8711, allocations: 1.132 MB / 0.8661 GB, free: 476 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.8711, allocations: 4.062 kB / 0.8661 GB, free: 472 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.8721, allocations: 0.5626 MB / 0.8667 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/0.8735, allocations: 292.3 kB / 0.867 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/0.8779, allocations: 1.914 MB / 0.8688 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007628/0.8787, allocations: 1.054 MB / 0.8699 GB, free: 12.59 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004058/0.8791, allocations: 127.4 kB / 0.87 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/0.8791, allocations: 0 / 0.87 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of Templates: time 0.03143/0.9105, allocations: 19.39 MB / 0.8889 GB, free: 9.18 MB / 0.6544 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)