Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7507/0.7507, allocations: 143.4 MB / 159.2 MB, free: 4.934 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001334/0.001334, allocations: 196.4 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 447.3 MB, free: 5.875 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 103.8 kB / 0.517 GB, free: 3.727 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002248/0.002248, allocations: 282 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 79.88 kB / 0.6885 GB, free: 3.852 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3142, allocations: 81.3 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.004693/0.3189, allocations: 4.055 MB / 0.7719 GB, free: 23.6 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.4687/0.7876, allocations: 148.1 MB / 0.9165 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007206/0.7884, allocations: 16.84 kB / 0.9166 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0006227/0.789, allocations: 128.1 kB / 0.9167 GB, free: 15.99 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.001689/0.7907, allocations: 392.1 kB / 0.917 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002368/0.7931, allocations: 0.6827 MB / 0.9177 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.001712/0.7949, allocations: 1.089 MB / 0.9188 GB, free: 15.96 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.796, allocations: 0.582 MB / 0.9193 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006148/0.7966, allocations: 364.6 kB / 0.9197 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005526/0.7972, allocations: 407.5 kB / 0.9201 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001438/0.7974, allocations: 50.19 kB / 0.9201 GB, free: 15.85 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001057/0.7984, allocations: 389.5 kB / 0.9205 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002865/0.7987, allocations: 215.5 kB / 0.9207 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.7993, allocations: 438.7 kB / 0.9211 GB, free: 15.84 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001997/0.8013, allocations: 1.369 MB / 0.9225 GB, free: 15.75 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.8014, allocations: 4.594 kB / 0.9225 GB, free: 15.75 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8014, allocations: 0.5 kB / 0.9225 GB, free: 15.75 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.8014, allocations: 0 / 0.9225 GB, free: 15.75 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 0.003067/0.8045, allocations: 1.305 MB / 0.9237 GB, free: 15.02 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.8045, allocations: 9.094 kB / 0.9237 GB, free: 15.02 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001372/0.8059, allocations: 177.8 kB / 0.9239 GB, free: 14.96 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.8073, allocations: 0.6956 MB / 0.9246 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.8074, allocations: 57.91 kB / 0.9247 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.8075, allocations: 74.28 kB / 0.9247 GB, free: 14.67 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.8096, allocations: 0.8386 MB / 0.9255 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.712e-05/0.8097, allocations: 2 kB / 0.9255 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.8098, allocations: 36.41 kB / 0.9256 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/0.8098, allocations: 17.69 kB / 0.9256 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002502/0.8124, allocations: 1.049 MB / 0.9266 GB, free: 14.51 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005071/0.8174, allocations: 2.322 MB / 0.9289 GB, free: 13.75 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001848/0.8193, allocations: 0.7729 MB / 0.9296 GB, free: 13.62 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006695/0.82, allocations: 270.2 kB / 0.9299 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.8201, allocations: 33.84 kB / 0.9299 GB, free: 13.61 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/0.8212, allocations: 413.4 kB / 0.9303 GB, free: 13.54 MB / 0.573 GB Notification: Performance of pre-optimization done (n=70): time 3.286e-06/0.8212, allocations: 1.094 kB / 0.9303 GB, free: 13.54 MB / 0.573 GB Notification: Performance of matching and sorting (n=70): time 0.004183/0.8254, allocations: 1.051 MB / 0.9314 GB, free: 13.34 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.8256, allocations: 191.5 kB / 0.9315 GB, free: 13.12 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.8266, allocations: 0.5832 MB / 0.9321 GB, free: 12.98 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.906e-05/0.8267, allocations: 36.64 kB / 0.9321 GB, free: 12.95 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003598/0.8271, allocations: 370.7 kB / 0.9325 GB, free: 12.78 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002621/0.8274, allocations: 232.8 kB / 0.9327 GB, free: 12.63 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003846/0.8278, allocations: 149.4 kB / 0.9329 GB, free: 12.61 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002256/0.828, allocations: 384.5 kB / 0.9332 GB, free: 12.29 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007998/0.8288, allocations: 226 kB / 0.9334 GB, free: 12.29 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009807/0.8298, allocations: 322.1 kB / 0.9337 GB, free: 12.24 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.8315, allocations: 0.534 MB / 0.9343 GB, free: 12.2 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.8315, allocations: 0 / 0.9343 GB, free: 12.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002696/0.8342, allocations: 0.7568 MB / 0.935 GB, free: 12.1 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.8342, allocations: 6.281 kB / 0.935 GB, free: 12.1 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.8343, allocations: 4.938 kB / 0.935 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008501/0.8351, allocations: 76.97 kB / 0.9351 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009162/0.8361, allocations: 145.3 kB / 0.9352 GB, free: 12.08 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/0.8388, allocations: 1.513 MB / 0.9367 GB, free: 10.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000954/0.8398, allocations: 80.77 kB / 0.9368 GB, free: 10.76 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-05/0.8399, allocations: 37.88 kB / 0.9368 GB, free: 10.76 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * 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.0005768/0.8405, allocations: 246.9 kB / 0.9371 GB, free: 10.64 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002188/0.8407, allocations: 75.23 kB / 0.9371 GB, free: 10.61 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003236/0.844, allocations: 0.9628 MB / 0.9381 GB, free: 10.48 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.844, allocations: 8.438 kB / 0.9381 GB, free: 10.48 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.844, allocations: 0 / 0.9381 GB, free: 10.48 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.8441, allocations: 4.875 kB / 0.9381 GB, free: 10.48 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004161/0.8482, allocations: 1.786 MB / 0.9398 GB, free: 10.12 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.8483, allocations: 0 / 0.9398 GB, free: 10.12 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007855/0.8491, allocations: 144.3 kB / 0.94 GB, free: 10.12 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007538/0.8498, allocations: 78 kB / 0.94 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-05/0.8499, allocations: 27.2 kB / 0.9401 GB, free: 10.11 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002494/0.8524, allocations: 1.539 MB / 0.9416 GB, free: 8.805 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.8524, allocations: 0 / 0.9416 GB, free: 8.805 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/0.8562, allocations: 1.874 MB / 0.9434 GB, free: 7.988 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004744/0.8566, allocations: 251.2 kB / 0.9436 GB, free: 7.844 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/0.8568, allocations: 16.47 kB / 0.9437 GB, free: 7.844 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00074/0.8575, allocations: 51.94 kB / 0.9437 GB, free: 7.844 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.8577, allocations: 62.77 kB / 0.9438 GB, free: 7.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.083e-05/0.8578, allocations: 28.83 kB / 0.9438 GB, free: 7.836 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0006564/0.8585, allocations: 425.2 kB / 0.9442 GB, free: 7.746 MB / 0.573 GB Notification: Performance of sort global known variables: time 2.41e-07/0.8585, allocations: 0 / 0.9442 GB, free: 7.746 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00139/0.8599, allocations: 288.2 kB / 0.9445 GB, free: 7.695 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001726/0.8616, allocations: 0.6119 MB / 0.9451 GB, free: 7.473 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001879/0.8635, allocations: 0.7289 MB / 0.9458 GB, free: 7.34 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8635, allocations: 0 / 0.9458 GB, free: 7.34 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.8646, allocations: 482.6 kB / 0.9462 GB, free: 7.215 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.8663, allocations: 257.6 kB / 0.9465 GB, free: 7.203 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005603/0.8719, allocations: 2.41 MB / 0.9488 GB, free: 6.035 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007402/0.8727, allocations: 1.014 MB / 0.9498 GB, free: 5.312 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.001251/0.8739, allocations: 252.1 kB / 0.9501 GB, free: 5.242 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003254/0.8743, allocations: 97.66 kB / 0.9502 GB, free: 5.23 MB / 0.573 GB Notification: Performance of SimCode: time 8.02e-07/0.8743, allocations: 0 / 0.9502 GB, free: 5.23 MB / 0.573 GB Notification: Performance of Templates: time 0.03173/0.906, allocations: 13.31 MB / 0.9632 GB, free: 15.49 MB / 0.5886 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)