Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7627/0.7627, allocations: 127.4 MB / 134.9 MB, free: 3.5 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 168.9 kB / 164.6 MB, free: 11.61 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.944/1.944, allocations: 205.2 MB / 399.5 MB, free: 13.5 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001047/0.001047, allocations: 102.4 kB / 476.7 MB, free: 1.434 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.179e-05/2.165e-05, allocations: 3.031 kB / 0.5466 GB, free: 95.47 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1906, allocations: 76.76 MB / 0.6215 GB, free: 43.05 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.149/5.34, allocations: 2.146 GB / 2.768 GB, free: 188.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002628/5.34, allocations: 102.1 kB / 2.768 GB, free: 188.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1109/5.451, allocations: 53.33 MB / 2.82 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.403e-06/5.451, allocations: 0 / 2.82 GB, free: 176.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.051e-05/5.451, allocations: 23.38 kB / 2.82 GB, free: 176.6 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.001594/5.453, allocations: 1.003 MB / 2.821 GB, free: 175.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/5.453, allocations: 7.75 kB / 2.821 GB, free: 175.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/5.454, allocations: 299.8 kB / 2.821 GB, free: 175.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000714/5.455, allocations: 0.5254 MB / 2.822 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/5.455, allocations: 29.55 kB / 2.822 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.059e-05/5.455, allocations: 45.92 kB / 2.822 GB, free: 175.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001181/5.456, allocations: 0.9993 MB / 2.823 GB, free: 175.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009506/5.457, allocations: 0.6857 MB / 2.823 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/5.457, allocations: 0 / 2.823 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/5.457, allocations: 7.891 kB / 2.823 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/5.457, allocations: 19.59 kB / 2.824 GB, free: 174.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/5.461, allocations: 2.222 MB / 2.826 GB, free: 173.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008151/5.461, allocations: 0.7362 MB / 2.826 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002834/5.462, allocations: 260.6 kB / 2.827 GB, free: 173.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005519/5.462, allocations: 467.4 kB / 2.827 GB, free: 172.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005341/5.463, allocations: 410.4 kB / 2.827 GB, free: 172.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 2.074e-06/5.463, allocations: 3.938 kB / 2.827 GB, free: 172.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.004342/5.467, allocations: 1.025 MB / 2.828 GB, free: 172.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/5.467, allocations: 166.8 kB / 2.829 GB, free: 172.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/5.468, allocations: 441.3 kB / 2.829 GB, free: 172.1 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.572e-05/5.468, allocations: 32.58 kB / 2.829 GB, free: 172 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/5.468, allocations: 325.9 kB / 2.829 GB, free: 171.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/5.468, allocations: 226.6 kB / 2.83 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-05/5.468, allocations: 0 / 2.83 GB, free: 171.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.68e-05/5.468, allocations: 372.5 kB / 2.83 GB, free: 171.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/5.468, allocations: 188.2 kB / 2.83 GB, free: 171.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002756/5.469, allocations: 280.1 kB / 2.83 GB, free: 171.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003195/5.472, allocations: 0.603 MB / 2.831 GB, free: 171 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/5.472, allocations: 0 / 2.831 GB, free: 171 MB / 0.6511 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.004192/5.476, allocations: 1.018 MB / 2.832 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/5.476, allocations: 7.812 kB / 2.832 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/5.476, allocations: 3.984 kB / 2.832 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/5.477, allocations: 78.69 kB / 2.832 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/5.478, allocations: 156.4 kB / 2.832 GB, free: 170.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001443/5.479, allocations: 1.446 MB / 2.834 GB, free: 169.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006033/5.48, allocations: 66.97 kB / 2.834 GB, free: 169.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.538e-05/5.48, allocations: 31.14 kB / 2.834 GB, free: 169.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001516/5.48, allocations: 112.7 kB / 2.834 GB, free: 169.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.543e-05/5.48, allocations: 66.75 kB / 2.834 GB, free: 169.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004767/5.485, allocations: 1.286 MB / 2.835 GB, free: 168.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.316e-06/5.485, allocations: 15.31 kB / 2.835 GB, free: 168.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.195e-06/5.485, allocations: 0 / 2.835 GB, free: 168.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.037e-06/5.485, allocations: 3.984 kB / 2.835 GB, free: 168.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005383/5.49, allocations: 2.024 MB / 2.837 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/5.49, allocations: 4 kB / 2.837 GB, free: 167.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006885/5.491, allocations: 158.1 kB / 2.837 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004497/5.491, allocations: 81.75 kB / 2.837 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.635e-05/5.491, allocations: 14.77 kB / 2.837 GB, free: 167.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/5.493, allocations: 1.479 MB / 2.839 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/5.493, allocations: 7.938 kB / 2.839 GB, free: 166.5 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004345/5.497, allocations: 1.185 MB / 2.84 GB, free: 166 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003647/5.497, allocations: 275.4 kB / 2.84 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.479e-05/5.498, allocations: 7.938 kB / 2.84 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005727/5.498, allocations: 58.66 kB / 2.84 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.138e-05/5.498, allocations: 58.95 kB / 2.84 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.423e-05/5.498, allocations: 27.17 kB / 2.84 GB, free: 165.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003724/5.499, allocations: 355.5 kB / 2.841 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/5.499, allocations: 0 / 2.841 GB, free: 165.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001016/5.5, allocations: 321.3 kB / 2.841 GB, free: 165.6 MB / 0.6511 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.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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.001511/5.501, allocations: 1.047 MB / 2.842 GB, free: 165 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001009/5.502, allocations: 0.647 MB / 2.843 GB, free: 164.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/5.502, allocations: 0 / 2.843 GB, free: 164.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005928/5.503, allocations: 450.8 kB / 2.843 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008271/5.504, allocations: 175.3 kB / 2.843 GB, free: 164.7 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002755/5.506, allocations: 1.219 MB / 2.845 GB, free: 163.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003378/5.507, allocations: 0.9902 MB / 2.845 GB, free: 162.9 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0008915/5.508, allocations: 240.9 kB / 2.846 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/5.508, allocations: 94.12 kB / 2.846 GB, free: 162.6 MB / 0.6511 GB Notification: Performance of SimCode: time 7.61e-07/5.508, allocations: 4 kB / 2.846 GB, free: 162.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.02017/5.528, allocations: 14.33 MB / 2.86 GB, free: 148.3 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)