Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.253/2.253, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 195.4 kB / 499.1 MB, free: 4.676 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.536/1.536, allocations: 222.9 MB / 0.7948 GB, free: 15.82 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 115.7 kB / 0.9329 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001103/0.001103, allocations: 52.31 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.377, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.006079/0.3832, allocations: 4.057 MB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1621/0.5453, allocations: 148.1 MB / 1.367 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000942/0.5463, allocations: 15.94 kB / 1.367 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005609/0.5469, allocations: 139 kB / 1.367 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001574/0.5485, allocations: 385.9 kB / 1.367 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001959/0.5505, allocations: 0.6801 MB / 1.368 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.5518, allocations: 1.078 MB / 1.369 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009049/0.5527, allocations: 0.5823 MB / 1.37 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006195/0.5533, allocations: 362.5 kB / 1.37 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005037/0.5538, allocations: 409.9 kB / 1.37 GB, free: 8.852 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001035/0.554, allocations: 52 kB / 1.37 GB, free: 8.801 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001051/0.555, allocations: 391.7 kB / 1.371 GB, free: 8.418 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002207/0.5553, allocations: 207.2 kB / 1.371 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004324/0.5557, allocations: 441.4 kB / 1.371 GB, free: 7.781 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001498/0.5572, allocations: 1.375 MB / 1.373 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.5572, allocations: 0 / 1.373 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.22e-07/0.5572, allocations: 0 / 1.373 GB, free: 6.402 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.013e-05/0.5572, allocations: 4 kB / 1.373 GB, free: 6.398 MB / 0.8698 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.00224/0.5595, allocations: 1.303 MB / 1.374 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/0.5596, allocations: 11.98 kB / 1.374 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008733/0.5604, allocations: 175.6 kB / 1.374 GB, free: 4.852 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.5615, allocations: 0.6956 MB / 1.375 GB, free: 4.113 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.719e-05/0.5616, allocations: 58 kB / 1.375 GB, free: 4.055 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.507e-05/0.5617, allocations: 75.94 kB / 1.375 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001371/0.5631, allocations: 0.8442 MB / 1.376 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/0.5631, allocations: 3.938 kB / 1.376 GB, free: 3.094 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.061e-05/0.5632, allocations: 32 kB / 1.376 GB, free: 3.062 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.069e-05/0.5632, allocations: 20 kB / 1.376 GB, free: 3.043 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00159/0.5648, allocations: 1.042 MB / 1.377 GB, free: 1.996 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003623/0.5684, allocations: 2.34 MB / 1.379 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.5697, allocations: 0.7792 MB / 1.38 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004454/0.5702, allocations: 270.4 kB / 1.38 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 7.962e-05/0.5703, allocations: 28.52 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008203/0.5711, allocations: 413.8 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.276e-06/0.5711, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002879/0.574, allocations: 1.058 MB / 1.382 GB, free: 12.98 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001076/0.5741, allocations: 188.5 kB / 1.382 GB, free: 12.76 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007377/0.5749, allocations: 0.5822 MB / 1.382 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.017e-05/0.5749, allocations: 37.7 kB / 1.382 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002897/0.5752, allocations: 368.3 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.5754, allocations: 228.7 kB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.5756, allocations: 146.5 kB / 1.383 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5758, allocations: 378.8 kB / 1.383 GB, free: 11 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004318/0.5762, allocations: 229.9 kB / 1.384 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005316/0.5768, allocations: 322.7 kB / 1.384 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009273/0.5777, allocations: 0.5312 MB / 1.384 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5777, allocations: 0 / 1.384 GB, free: 9.898 MB / 0.8855 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001675/0.5794, allocations: 0.7549 MB / 1.385 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.5794, allocations: 4 kB / 1.385 GB, free: 9.129 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.5795, allocations: 4 kB / 1.385 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005889/0.5801, allocations: 76.88 kB / 1.385 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.5806, allocations: 143.8 kB / 1.385 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/0.5828, allocations: 1.532 MB / 1.387 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.5835, allocations: 71.39 kB / 1.387 GB, free: 7.168 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-05/0.5836, allocations: 32.05 kB / 1.387 GB, free: 7.137 MB / 0.8855 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.0005488/0.5841, allocations: 260.7 kB / 1.387 GB, free: 6.875 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.5843, allocations: 71.16 kB / 1.387 GB, free: 6.805 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.5864, allocations: 0.9586 MB / 1.388 GB, free: 5.832 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/0.5865, allocations: 8 kB / 1.388 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.946e-06/0.5865, allocations: 0 / 1.388 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.5865, allocations: 3.984 kB / 1.388 GB, free: 5.82 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002938/0.5894, allocations: 1.79 MB / 1.39 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5894, allocations: 0 / 1.39 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005025/0.5899, allocations: 143.8 kB / 1.39 GB, free: 3.832 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005/0.5905, allocations: 76.78 kB / 1.39 GB, free: 3.754 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.732e-05/0.5905, allocations: 19.98 kB / 1.39 GB, free: 3.734 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001743/0.5923, allocations: 1.555 MB / 1.392 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.5923, allocations: 0 / 1.392 GB, free: 2.043 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/0.595, allocations: 1.877 MB / 1.394 GB, free: 108 kB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003771/0.5954, allocations: 244 kB / 1.394 GB, free: 15.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.062e-05/0.5955, allocations: 19.98 kB / 1.394 GB, free: 15.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005035/0.596, allocations: 55.95 kB / 1.394 GB, free: 15.77 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.5962, allocations: 56.91 kB / 1.394 GB, free: 15.71 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.079e-05/0.5962, allocations: 31.98 kB / 1.394 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004926/0.5967, allocations: 419.1 kB / 1.394 GB, free: 15.28 MB / 0.9011 GB Notification: Performance of sort global known variables: time 2.1e-07/0.5968, allocations: 4 kB / 1.394 GB, free: 15.27 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0009799/0.5977, allocations: 295.2 kB / 1.395 GB, free: 14.98 MB / 0.9011 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.001399/0.5991, allocations: 0.5943 MB / 1.395 GB, free: 14.57 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001521/0.6007, allocations: 0.7318 MB / 1.396 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.6007, allocations: 0 / 1.396 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008241/0.6015, allocations: 484.2 kB / 1.396 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.6027, allocations: 251.8 kB / 1.397 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00417/0.6069, allocations: 2.408 MB / 1.399 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005646/0.6075, allocations: 1.012 MB / 1.4 GB, free: 9.617 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0008166/0.6083, allocations: 249.9 kB / 1.4 GB, free: 9.371 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.6085, allocations: 95.39 kB / 1.4 GB, free: 9.277 MB / 0.9011 GB Notification: Performance of SimCode: time 2.675e-06/0.6085, allocations: 3.938 kB / 1.4 GB, free: 9.273 MB / 0.9011 GB Notification: Performance of Templates: time 0.02466/0.6332, allocations: 13.31 MB / 1.413 GB, free: 12.1 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)