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.001066/0.001066, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001104, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002102/0.002102, allocations: 282.8 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9188/0.9188, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 97.33 kB / 0.5952 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1376, allocations: 86.99 MB / 0.6802 GB, free: 0.6523 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005466/0.1431, allocations: 4.492 MB / 0.6846 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4115/0.5547, allocations: 150.7 MB / 0.8317 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006616/0.5554, allocations: 16.31 kB / 0.8317 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004401/0.5558, allocations: 178.7 kB / 0.8319 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001282/0.5572, allocations: 0.5191 MB / 0.8324 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.5589, allocations: 0.8778 MB / 0.8333 GB, free: 0.8359 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.5601, allocations: 1.378 MB / 0.8346 GB, free: 0.6172 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007632/0.5608, allocations: 0.6461 MB / 0.8352 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005137/0.5614, allocations: 0.4943 MB / 0.8357 GB, free: 392 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004707/0.5618, allocations: 0.5296 MB / 0.8362 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001726/0.562, allocations: 122 kB / 0.8364 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008366/0.5629, allocations: 492.8 kB / 0.8368 GB, free: 248 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.5631, allocations: 307.2 kB / 0.8371 GB, free: 200 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004035/0.5635, allocations: 0.5774 MB / 0.8377 GB, free: 16 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.565, allocations: 1.652 MB / 0.8393 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.565, allocations: 0 / 0.8393 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.062e-06/0.565, allocations: 0 / 0.8393 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.424e-05/0.565, allocations: 0 / 0.8393 GB, free: 15.77 MB / 0.5762 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.002509/0.5675, allocations: 1.482 MB / 0.8407 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.5676, allocations: 12.52 kB / 0.8408 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009206/0.5685, allocations: 189.6 kB / 0.8409 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009859/0.5695, allocations: 0.7657 MB / 0.8417 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.453e-05/0.5696, allocations: 70.8 kB / 0.8418 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.5697, allocations: 88.62 kB / 0.8418 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.5712, allocations: 0.9719 MB / 0.8428 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.5713, allocations: 3.938 kB / 0.8428 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.543e-05/0.5713, allocations: 40.44 kB / 0.8428 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/0.5714, allocations: 24.16 kB / 0.8429 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001787/0.5732, allocations: 1.159 MB / 0.844 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.5772, allocations: 2.706 MB / 0.8466 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002039/0.5792, allocations: 0.9756 MB / 0.8476 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005634/0.5798, allocations: 328.6 kB / 0.8479 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.191e-05/0.5799, allocations: 31.22 kB / 0.8479 GB, free: 10.83 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009299/0.5808, allocations: 0.541 MB / 0.8485 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 2.605e-06/0.5808, allocations: 0 / 0.8485 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003218/0.5841, allocations: 1.29 MB / 0.8497 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/0.5842, allocations: 199.4 kB / 0.8499 GB, free: 9.562 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007224/0.5849, allocations: 0.6515 MB / 0.8505 GB, free: 9.188 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.652e-05/0.585, allocations: 42.64 kB / 0.8506 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003007/0.5853, allocations: 400.5 kB / 0.851 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002092/0.5855, allocations: 288.4 kB / 0.8512 GB, free: 8.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002536/0.5858, allocations: 182.7 kB / 0.8514 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.5859, allocations: 387.6 kB / 0.8518 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/0.5865, allocations: 289.4 kB / 0.8521 GB, free: 7.93 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006562/0.5872, allocations: 391.7 kB / 0.8524 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.5883, allocations: 0.6575 MB / 0.8531 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5883, allocations: 0 / 0.8531 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002022/0.5904, allocations: 0.915 MB / 0.854 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.5904, allocations: 9.094 kB / 0.854 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.802e-06/0.5904, allocations: 0 / 0.854 GB, free: 6.891 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005954/0.591, allocations: 86.17 kB / 0.8541 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007016/0.5917, allocations: 178.5 kB / 0.8542 GB, free: 6.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001978/0.5937, allocations: 1.623 MB / 0.8558 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008166/0.5945, allocations: 117 kB / 0.8559 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.204e-05/0.5946, allocations: 40.84 kB / 0.856 GB, free: 5.117 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.0004043/0.595, allocations: 277.9 kB / 0.8562 GB, free: 4.902 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.5952, allocations: 87 kB / 0.8563 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002555/0.5978, allocations: 1.185 MB / 0.8575 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.5978, allocations: 9.594 kB / 0.8575 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.5978, allocations: 0 / 0.8575 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/0.5978, allocations: 3.984 kB / 0.8575 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.6011, allocations: 2.114 MB / 0.8595 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6011, allocations: 0 / 0.8595 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00062/0.6017, allocations: 168.4 kB / 0.8597 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/0.6022, allocations: 78.14 kB / 0.8598 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.6023, allocations: 26.2 kB / 0.8598 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.6041, allocations: 1.662 MB / 0.8614 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.6041, allocations: 3.938 kB / 0.8614 GB, free: 1.121 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.6061, allocations: 1.083 MB / 0.8625 GB, free: 0.5234 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.6065, allocations: 292.4 kB / 0.8628 GB, free: 276 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001297/0.6067, allocations: 20.59 kB / 0.8628 GB, free: 260 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007044/0.6074, allocations: 72.05 kB / 0.8629 GB, free: 224 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/0.6075, allocations: 82.95 kB / 0.8629 GB, free: 180 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.6076, allocations: 41.03 kB / 0.863 GB, free: 164 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005354/0.6081, allocations: 476 kB / 0.8634 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6082, allocations: 3.938 kB / 0.8634 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000853/0.609, allocations: 340.7 kB / 0.8638 GB, free: 15.79 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: 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.001266/0.6103, allocations: 0.6277 MB / 0.8644 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002388/0.6127, allocations: 1.138 MB / 0.8655 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6127, allocations: 4.062 kB / 0.8655 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009283/0.6136, allocations: 0.5639 MB / 0.866 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.6148, allocations: 304.4 kB / 0.8663 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003611/0.6184, allocations: 1.879 MB / 0.8682 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.619, allocations: 1.044 MB / 0.8692 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0007819/0.6198, allocations: 274.7 kB / 0.8694 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002519/0.62, allocations: 119 kB / 0.8696 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of SimCode: time 2.043e-06/0.62, allocations: 0 / 0.8696 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.02352/0.6436, allocations: 15.75 MB / 0.8849 GB, free: 14.85 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)