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.001239/0.001239, allocations: 117.1 kB / 16.37 MB, free: 6.012 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.0009717/0.0009717, allocations: 190.9 kB / 17.31 MB, free: 5.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.276/1.276, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002144/0.002144, allocations: 284.9 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.935/0.935, allocations: 169.2 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003084/0.003084, allocations: 91.48 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1509/0.154, allocations: 86.98 MB / 0.6816 GB, free: 7.414 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.005817/0.1598, allocations: 4.485 MB / 0.686 GB, free: 2.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.371/0.5308, allocations: 150.7 MB / 0.8331 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006568/0.5315, allocations: 15.94 kB / 0.8332 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005738/0.5321, allocations: 177.3 kB / 0.8333 GB, free: 2.883 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.5338, allocations: 0.519 MB / 0.8338 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.5358, allocations: 0.8777 MB / 0.8347 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001412/0.5372, allocations: 1.396 MB / 0.8361 GB, free: 100 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008806/0.5381, allocations: 0.6405 MB / 0.8367 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006569/0.5388, allocations: 0.4982 MB / 0.8372 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.5394, allocations: 0.5289 MB / 0.8377 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001847/0.5396, allocations: 124 kB / 0.8378 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008506/0.5405, allocations: 0.5035 MB / 0.8383 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00028/0.5408, allocations: 311 kB / 0.8386 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005503/0.5413, allocations: 0.5713 MB / 0.8391 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.543, allocations: 1.696 MB / 0.8408 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.543, allocations: 3.75 kB / 0.8408 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.543, allocations: 0 / 0.8408 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.051e-05/0.5431, allocations: 0 / 0.8408 GB, free: 11.21 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.002789/0.5459, allocations: 1.493 MB / 0.8423 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.5459, allocations: 8.031 kB / 0.8423 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009238/0.5468, allocations: 191.3 kB / 0.8425 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.548, allocations: 0.7861 MB / 0.8432 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.598e-05/0.548, allocations: 66 kB / 0.8433 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.5482, allocations: 84 kB / 0.8434 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.5497, allocations: 0.9807 MB / 0.8443 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.5498, allocations: 4 kB / 0.8443 GB, free: 7.465 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.26e-05/0.5498, allocations: 36 kB / 0.8444 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/0.5499, allocations: 24 kB / 0.8444 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.5517, allocations: 1.159 MB / 0.8455 GB, free: 6.246 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004025/0.5557, allocations: 2.668 MB / 0.8481 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.5578, allocations: 0.987 MB / 0.8491 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005618/0.5584, allocations: 326.7 kB / 0.8494 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.512e-05/0.5584, allocations: 36.67 kB / 0.8494 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008685/0.5593, allocations: 0.5335 MB / 0.85 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=88): time 2.074e-06/0.5593, allocations: 0 / 0.85 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=88): time 0.00315/0.5625, allocations: 1.286 MB / 0.8512 GB, free: 288 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.5626, allocations: 196.9 kB / 0.8514 GB, free: 48 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007495/0.5634, allocations: 0.6568 MB / 0.852 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.374e-05/0.5634, allocations: 41.7 kB / 0.8521 GB, free: 15.34 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002734/0.5637, allocations: 404.5 kB / 0.8525 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.5639, allocations: 291.8 kB / 0.8527 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002634/0.5642, allocations: 174.5 kB / 0.8529 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.5643, allocations: 386.8 kB / 0.8533 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.5649, allocations: 293.8 kB / 0.8536 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.5656, allocations: 391 kB / 0.8539 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.5668, allocations: 0.6516 MB / 0.8546 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.5668, allocations: 0 / 0.8546 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00203/0.5688, allocations: 0.9151 MB / 0.8555 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.5688, allocations: 4 kB / 0.8555 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.5689, allocations: 3.938 kB / 0.8555 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005957/0.5695, allocations: 84.83 kB / 0.8556 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.5702, allocations: 179.6 kB / 0.8557 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002051/0.5723, allocations: 1.629 MB / 0.8573 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007318/0.573, allocations: 115.9 kB / 0.8574 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.379e-05/0.5731, allocations: 40.16 kB / 0.8575 GB, free: 9.629 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.0003549/0.5735, allocations: 275.9 kB / 0.8577 GB, free: 9.352 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001549/0.5736, allocations: 86.95 kB / 0.8578 GB, free: 9.266 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002602/0.5762, allocations: 1.193 MB / 0.859 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.5762, allocations: 8 kB / 0.859 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.5763, allocations: 4 kB / 0.859 GB, free: 8.043 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5763, allocations: 3.984 kB / 0.859 GB, free: 8.039 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003324/0.5796, allocations: 2.107 MB / 0.861 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/0.5796, allocations: 0 / 0.861 GB, free: 5.875 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006681/0.5803, allocations: 167.8 kB / 0.8612 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004447/0.5807, allocations: 72.73 kB / 0.8613 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-05/0.5808, allocations: 31.97 kB / 0.8613 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001804/0.5826, allocations: 1.666 MB / 0.8629 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.5826, allocations: 0 / 0.8629 GB, free: 3.793 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.5847, allocations: 1.084 MB / 0.864 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.5851, allocations: 287.6 kB / 0.8643 GB, free: 2.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.5853, allocations: 24 kB / 0.8643 GB, free: 2.363 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/0.586, allocations: 67.92 kB / 0.8644 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.5861, allocations: 84.88 kB / 0.8644 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.678e-05/0.5862, allocations: 39.97 kB / 0.8645 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005262/0.5867, allocations: 474.9 kB / 0.8649 GB, free: 1.715 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5867, allocations: 4 kB / 0.8649 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007816/0.5875, allocations: 347.1 kB / 0.8653 GB, free: 1.371 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.001272/0.5888, allocations: 0.6231 MB / 0.8659 GB, free: 0.918 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.5905, allocations: 0.8976 MB / 0.8667 GB, free: 8 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.5905, allocations: 4.188 kB / 0.8667 GB, free: 4 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009733/0.5915, allocations: 0.5665 MB / 0.8673 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001085/0.5926, allocations: 298.3 kB / 0.8676 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00348/0.596, allocations: 1.842 MB / 0.8694 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005359/0.5966, allocations: 1.055 MB / 0.8704 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0007074/0.5973, allocations: 283 kB / 0.8707 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002749/0.5976, allocations: 111.4 kB / 0.8708 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of SimCode: time 2.81e-07/0.5976, allocations: 0 / 0.8708 GB, free: 11.82 MB / 0.6387 GB Notification: Performance of Templates: time 0.02318/0.6208, allocations: 15.74 MB / 0.8862 GB, free: 12.29 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth.pipe 2>&1)