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.001412/0.001413, allocations: 107.6 kB / 16.27 MB, free: 6.414 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.001316/0.001316, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002687/0.002688, allocations: 291.7 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.26/1.26, allocations: 178.5 MB / 0.5079 GB, free: 12.98 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003019/0.003019, allocations: 91.84 kB / 0.6071 GB, free: 9.285 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2089, allocations: 89.13 MB / 0.6942 GB, free: 72 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarAzimuth): time 0.007595/0.2165, allocations: 5.001 MB / 0.699 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.5594/0.776, allocations: 150.7 MB / 0.8462 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.7774, allocations: 16.16 kB / 0.8463 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001043/0.7785, allocations: 208.4 kB / 0.8465 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002891/0.7815, allocations: 0.561 MB / 0.847 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003063/0.7845, allocations: 0.8752 MB / 0.8479 GB, free: 6.891 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002626/0.7872, allocations: 1.458 MB / 0.8493 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.7886, allocations: 0.5961 MB / 0.8499 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001198/0.7898, allocations: 0.5153 MB / 0.8504 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001116/0.791, allocations: 0.5345 MB / 0.8509 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004409/0.7914, allocations: 120.9 kB / 0.851 GB, free: 5.289 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.7929, allocations: 493.6 kB / 0.8515 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005615/0.7935, allocations: 314.6 kB / 0.8518 GB, free: 4.977 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001295/0.7948, allocations: 0.5928 MB / 0.8524 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003134/0.798, allocations: 1.671 MB / 0.854 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.798, allocations: 1.562 kB / 0.854 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.864e-06/0.798, allocations: 0 / 0.854 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.323e-05/0.7981, allocations: 0 / 0.854 GB, free: 3.559 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.00431/0.8024, allocations: 1.502 MB / 0.8555 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.8024, allocations: 13.34 kB / 0.8555 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.8037, allocations: 183.2 kB / 0.8556 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.805, allocations: 0.7675 MB / 0.8564 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.805, allocations: 67.09 kB / 0.8565 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001208/0.8052, allocations: 94.5 kB / 0.8565 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.8069, allocations: 0.9778 MB / 0.8575 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.807, allocations: 3.984 kB / 0.8575 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.411e-05/0.8071, allocations: 35.84 kB / 0.8575 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.752e-05/0.8071, allocations: 23.69 kB / 0.8576 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.8089, allocations: 1.155 MB / 0.8587 GB, free: 404 kB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00481/0.8137, allocations: 2.914 MB / 0.8615 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.8159, allocations: 0.9848 MB / 0.8625 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/0.8166, allocations: 330.7 kB / 0.8628 GB, free: 13.1 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.928e-05/0.8167, allocations: 32.61 kB / 0.8628 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001057/0.8177, allocations: 0.5374 MB / 0.8634 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=88): time 2.575e-06/0.8177, allocations: 0 / 0.8634 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88): time 0.003604/0.8213, allocations: 1.295 MB / 0.8646 GB, free: 11.2 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.8215, allocations: 192.9 kB / 0.8648 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009361/0.8224, allocations: 0.6567 MB / 0.8655 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.34e-05/0.8225, allocations: 41.7 kB / 0.8655 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.8229, allocations: 404.4 kB / 0.8659 GB, free: 9.852 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000272/0.8232, allocations: 283.9 kB / 0.8662 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/0.8235, allocations: 186.4 kB / 0.8663 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002228/0.8238, allocations: 390.8 kB / 0.8667 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.8244, allocations: 285.8 kB / 0.867 GB, free: 8.711 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007375/0.8251, allocations: 395 kB / 0.8674 GB, free: 8.312 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/0.8264, allocations: 0.6559 MB / 0.868 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8265, allocations: 3.75 kB / 0.868 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.002321/0.8288, allocations: 0.9112 MB / 0.8689 GB, free: 6.727 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.8288, allocations: 4.938 kB / 0.8689 GB, free: 6.723 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.8288, allocations: 3.984 kB / 0.8689 GB, free: 6.719 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006003/0.8294, allocations: 85.59 kB / 0.869 GB, free: 6.633 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007545/0.8302, allocations: 179.7 kB / 0.8691 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002335/0.8326, allocations: 1.627 MB / 0.8707 GB, free: 4.688 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000972/0.8335, allocations: 107.1 kB / 0.8708 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.326e-05/0.8336, allocations: 43.97 kB / 0.8709 GB, free: 4.539 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.0005692/0.8342, allocations: 281.3 kB / 0.8711 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002231/0.8344, allocations: 86.95 kB / 0.8712 GB, free: 4.172 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/0.8373, allocations: 1.192 MB / 0.8724 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.8373, allocations: 13.38 kB / 0.8724 GB, free: 2.957 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8373, allocations: 3.984 kB / 0.8724 GB, free: 2.953 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.8374, allocations: 3.984 kB / 0.8724 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004058/0.8414, allocations: 2.098 MB / 0.8745 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.8414, allocations: 0 / 0.8745 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006651/0.8421, allocations: 159.8 kB / 0.8746 GB, free: 0.6328 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004753/0.8426, allocations: 80.72 kB / 0.8747 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.726e-05/0.8427, allocations: 31.97 kB / 0.8747 GB, free: 0.5195 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002291/0.845, allocations: 1.66 MB / 0.8763 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.845, allocations: 0 / 0.8763 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002472/0.8475, allocations: 1.086 MB / 0.8774 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005137/0.848, allocations: 296.7 kB / 0.8777 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001515/0.8482, allocations: 16 kB / 0.8777 GB, free: 13.29 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.8489, allocations: 71.92 kB / 0.8778 GB, free: 13.22 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001792/0.8491, allocations: 84.88 kB / 0.8779 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/0.8492, allocations: 43.97 kB / 0.8779 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007055/0.8499, allocations: 471 kB / 0.8783 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8499, allocations: 0 / 0.8783 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001155/0.8511, allocations: 351.2 kB / 0.8787 GB, free: 12.3 MB / 0.6387 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.001999/0.8531, allocations: 0.6305 MB / 0.8793 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002955/0.8561, allocations: 1.136 MB / 0.8804 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.8561, allocations: 4.188 kB / 0.8804 GB, free: 10.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00109/0.8572, allocations: 0.5588 MB / 0.881 GB, free: 10.14 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.8587, allocations: 310 kB / 0.8812 GB, free: 9.859 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.8622, allocations: 1.803 MB / 0.883 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007492/0.863, allocations: 1.044 MB / 0.884 GB, free: 6.957 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003698/0.8634, allocations: 131.4 kB / 0.8842 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of SimCode: time 9.62e-07/0.8634, allocations: 4 kB / 0.8842 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of Templates: time 0.03002/0.8934, allocations: 19.54 MB / 0.9032 GB, free: 3.375 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)