Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.702/2.702, allocations: 287.3 MB / 302.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 197.6 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.25/2.25, allocations: 205.4 MB / 0.6295 GB, free: 10.65 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 94.22 kB / 0.7428 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006383/0.0006385, allocations: 15.88 kB / 0.8656 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2122/0.2129, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle): time 0.005082/0.218, allocations: 3.409 MB / 0.9815 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9792/1.197, allocations: 127.2 MB / 1.106 GB, free: 1.668 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001012/1.198, allocations: 18.72 kB / 1.106 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005998/1.199, allocations: 73.31 kB / 1.106 GB, free: 1.625 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002941/1.202, allocations: 410.7 kB / 1.106 GB, free: 1.59 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003797/1.206, allocations: 0.5837 MB / 1.107 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002672/1.208, allocations: 0.7121 MB / 1.107 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001453/1.21, allocations: 434.4 kB / 1.108 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001131/1.211, allocations: 289.6 kB / 1.108 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009097/1.212, allocations: 278.9 kB / 1.108 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002373/1.212, allocations: 20.78 kB / 1.108 GB, free: 1.312 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001593/1.214, allocations: 248.3 kB / 1.109 GB, free: 1.309 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004212/1.214, allocations: 154.6 kB / 1.109 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003716/1.215, allocations: 171.8 kB / 1.109 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003167/1.218, allocations: 0.9976 MB / 1.11 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/1.218, allocations: 0 / 1.11 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.667e-06/1.218, allocations: 0.9688 kB / 1.11 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.036e-05/1.218, allocations: 0 / 1.11 GB, free: 1.137 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 191 * Number of variables: 191 Notification: Performance of Generate backend data structure: time 0.005052/1.223, allocations: 1.095 MB / 1.111 GB, free: 16.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.184e-05/1.223, allocations: 14.72 kB / 1.111 GB, free: 16.43 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002575/1.226, allocations: 188.7 kB / 1.111 GB, free: 16.37 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/1.229, allocations: 0.663 MB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/1.229, allocations: 58.25 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/1.229, allocations: 73.09 kB / 1.112 GB, free: 16.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003119/1.232, allocations: 0.8178 MB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.526e-05/1.232, allocations: 4.344 kB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00014/1.233, allocations: 31.72 kB / 1.113 GB, free: 15.92 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/1.233, allocations: 26.27 kB / 1.113 GB, free: 15.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003086/1.236, allocations: 1.042 MB / 1.114 GB, free: 15.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006279/1.242, allocations: 2.33 MB / 1.116 GB, free: 15.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/1.244, allocations: 0.7831 MB / 1.117 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/1.244, allocations: 28.59 kB / 1.117 GB, free: 14.97 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00112/1.245, allocations: 409.1 kB / 1.117 GB, free: 14.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=70): time 3.837e-06/1.246, allocations: 3.938 kB / 1.117 GB, free: 14.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=70): time 0.005271/1.251, allocations: 1.062 MB / 1.118 GB, free: 14.69 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/1.251, allocations: 189 kB / 1.119 GB, free: 14.47 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001841/1.253, allocations: 0.5525 MB / 1.119 GB, free: 14.35 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003237/1.253, allocations: 37.08 kB / 1.119 GB, free: 14.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007962/1.254, allocations: 368.1 kB / 1.119 GB, free: 14.14 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006306/1.255, allocations: 230.8 kB / 1.12 GB, free: 14 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.652e-05/1.255, allocations: 16.03 kB / 1.12 GB, free: 13.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0003535/1.255, allocations: 374.4 kB / 1.12 GB, free: 13.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001318/1.257, allocations: 212 kB / 1.12 GB, free: 13.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001949/1.259, allocations: 314.5 kB / 1.121 GB, free: 13.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/1.26, allocations: 249.6 kB / 1.121 GB, free: 13.59 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/1.26, allocations: 6.156 kB / 1.121 GB, free: 13.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.004303/1.265, allocations: 0.7003 MB / 1.121 GB, free: 13.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.835e-05/1.265, allocations: 5.375 kB / 1.121 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/1.265, allocations: 1.094 kB / 1.121 GB, free: 13.48 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001006/1.266, allocations: 88.16 kB / 1.122 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/1.268, allocations: 132.9 kB / 1.122 GB, free: 13.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004734/1.272, allocations: 1.536 MB / 1.123 GB, free: 12.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001761/1.274, allocations: 74.34 kB / 1.123 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002608/1.274, allocations: 31.52 kB / 1.123 GB, free: 12.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001131/1.276, allocations: 246.4 kB / 1.124 GB, free: 12 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003975/1.276, allocations: 75.91 kB / 1.124 GB, free: 11.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005748/1.282, allocations: 0.9712 MB / 1.125 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/1.282, allocations: 11.58 kB / 1.125 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/1.282, allocations: 5.094 kB / 1.125 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.204e-05/1.282, allocations: 4.312 kB / 1.125 GB, free: 11.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008414/1.29, allocations: 1.788 MB / 1.126 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.065e-05/1.291, allocations: 0 / 1.126 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00181/1.292, allocations: 142.7 kB / 1.126 GB, free: 11.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/1.294, allocations: 82.2 kB / 1.127 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002654/1.294, allocations: 20.69 kB / 1.127 GB, free: 11.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004507/1.299, allocations: 1.558 MB / 1.128 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/1.299, allocations: 2.156 kB / 1.128 GB, free: 10.12 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005084/1.304, allocations: 0.8837 MB / 1.129 GB, free: 9.906 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/1.305, allocations: 265.7 kB / 1.129 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/1.305, allocations: 16.78 kB / 1.129 GB, free: 9.758 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/1.307, allocations: 67.06 kB / 1.129 GB, free: 9.754 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003968/1.308, allocations: 61.77 kB / 1.129 GB, free: 9.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001793/1.308, allocations: 31.69 kB / 1.129 GB, free: 9.75 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001424/1.309, allocations: 403.6 kB / 1.13 GB, free: 9.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.102e-06/1.309, allocations: 0 / 1.13 GB, free: 9.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002311/1.312, allocations: 257 kB / 1.13 GB, free: 9.617 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.003111/1.315, allocations: 0.5568 MB / 1.131 GB, free: 9.391 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003825/1.319, allocations: 0.7057 MB / 1.131 GB, free: 9.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/1.319, allocations: 0 / 1.131 GB, free: 9.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002155/1.321, allocations: 484.7 kB / 1.132 GB, free: 9.109 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002839/1.324, allocations: 240.3 kB / 1.132 GB, free: 9.051 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009734/1.334, allocations: 1.97 MB / 1.134 GB, free: 7.961 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008923/1.335, allocations: 1.012 MB / 1.135 GB, free: 7.125 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001611/1.336, allocations: 247.7 kB / 1.135 GB, free: 7.004 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004668/1.337, allocations: 90.89 kB / 1.135 GB, free: 6.984 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.337, allocations: 0 / 1.135 GB, free: 6.984 MB / 0.698 GB Notification: Performance of Templates: time 0.04021/1.377, allocations: 12.17 MB / 1.147 GB, free: 0.8789 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.makefile (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.sim & ./Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.SolarHourAngle.pipe 2>&1)