Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.574/1.574, allocations: 297.8 MB / 313.7 MB, free: 116 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009064/0.0009064, allocations: 180.5 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 223.2 MB / 0.6626 GB, free: 4.348 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008246/0.0008247, allocations: 91.61 kB / 0.7808 GB, free: 43.64 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 8 kB / 0.9088 GB, free: 0.6914 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5746/0.575, allocations: 120.4 MB / 1.026 GB, free: 56.5 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.916/3.491, allocations: 1.723 GB / 2.749 GB, free: 64.95 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002359/3.492, allocations: 97.06 kB / 2.749 GB, free: 64.85 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.1153/3.607, allocations: 59.53 MB / 2.807 GB, free: 5.168 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.643e-06/3.607, allocations: 0 / 2.807 GB, free: 5.168 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 6.496e-05/3.607, allocations: 27.94 kB / 2.807 GB, free: 5.141 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 201 * Number of variables: 201 Notification: Performance of Generate backend data structure: time 0.00187/3.609, allocations: 1.171 MB / 2.809 GB, free: 3.91 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/3.609, allocations: 8.031 kB / 2.809 GB, free: 3.902 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007577/3.61, allocations: 191.5 kB / 2.809 GB, free: 3.715 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007743/3.611, allocations: 0.6356 MB / 2.809 GB, free: 3.039 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.675e-05/3.611, allocations: 58.38 kB / 2.809 GB, free: 2.984 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.999e-05/3.611, allocations: 76.38 kB / 2.81 GB, free: 2.91 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/3.612, allocations: 0.8682 MB / 2.81 GB, free: 2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/3.612, allocations: 4.188 kB / 2.81 GB, free: 1.996 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/3.612, allocations: 35.94 kB / 2.81 GB, free: 1.961 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/3.612, allocations: 24 kB / 2.81 GB, free: 1.938 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001288/3.613, allocations: 1.069 MB / 2.811 GB, free: 0.8672 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4026/4.016, allocations: 2.388 MB / 2.814 GB, free: 293.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/4.017, allocations: 0.8048 MB / 2.815 GB, free: 293.4 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004571/4.018, allocations: 276.7 kB / 2.815 GB, free: 293.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 8.549e-05/4.018, allocations: 35.14 kB / 2.815 GB, free: 293.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007063/4.018, allocations: 434.9 kB / 2.815 GB, free: 293.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=72): time 2.896e-06/4.018, allocations: 2.672 kB / 2.815 GB, free: 293.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=72): time 0.002723/4.021, allocations: 1.092 MB / 2.816 GB, free: 293.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/4.021, allocations: 241.6 kB / 2.817 GB, free: 292.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008148/4.022, allocations: 0.6536 MB / 2.817 GB, free: 292.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 5.314e-05/4.022, allocations: 46.03 kB / 2.817 GB, free: 292.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/4.022, allocations: 373.5 kB / 2.818 GB, free: 292.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/4.023, allocations: 235.1 kB / 2.818 GB, free: 292.5 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.982e-05/4.023, allocations: 13.97 kB / 2.818 GB, free: 292.5 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001029/4.023, allocations: 383.4 kB / 2.818 GB, free: 292.2 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/4.023, allocations: 215.7 kB / 2.818 GB, free: 292.2 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004911/4.024, allocations: 329.9 kB / 2.819 GB, free: 292.1 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008751/4.024, allocations: 0.5231 MB / 2.819 GB, free: 292.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/4.024, allocations: 2.812 kB / 2.819 GB, free: 292.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001509/4.026, allocations: 0.7224 MB / 2.82 GB, free: 292 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/4.026, allocations: 5.156 kB / 2.82 GB, free: 292 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/4.026, allocations: 0.75 kB / 2.82 GB, free: 292 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005898/4.027, allocations: 83.19 kB / 2.82 GB, free: 292 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005361/4.027, allocations: 136.7 kB / 2.82 GB, free: 292 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001548/4.029, allocations: 1.524 MB / 2.822 GB, free: 290.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004742/4.029, allocations: 75.36 kB / 2.822 GB, free: 290.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.313e-05/4.029, allocations: 27.67 kB / 2.822 GB, free: 290.7 MB / 0.9792 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.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 (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.0003192/4.03, allocations: 254.8 kB / 2.822 GB, free: 290.6 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/4.03, allocations: 75.94 kB / 2.822 GB, free: 290.5 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001962/4.032, allocations: 1.015 MB / 2.823 GB, free: 290.4 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/4.032, allocations: 8.5 kB / 2.823 GB, free: 290.4 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/4.032, allocations: 7.25 kB / 2.823 GB, free: 290.4 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/4.032, allocations: 9.281 kB / 2.823 GB, free: 290.4 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00258/4.034, allocations: 1.898 MB / 2.825 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/4.034, allocations: 3.625 kB / 2.825 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005177/4.035, allocations: 144.9 kB / 2.825 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/4.035, allocations: 89.33 kB / 2.825 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.47e-05/4.035, allocations: 22.56 kB / 2.825 GB, free: 290.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/4.037, allocations: 1.542 MB / 2.827 GB, free: 288.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/4.037, allocations: 2.094 kB / 2.827 GB, free: 288.8 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/4.038, allocations: 0.9207 MB / 2.828 GB, free: 288.6 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002871/4.038, allocations: 291 kB / 2.828 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/4.039, allocations: 20.62 kB / 2.828 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004915/4.039, allocations: 63.44 kB / 2.828 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/4.039, allocations: 66 kB / 2.828 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/4.039, allocations: 30.38 kB / 2.828 GB, free: 288.4 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0005165/4.04, allocations: 485.2 kB / 2.829 GB, free: 288.3 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.5e-07/4.04, allocations: 0.9844 kB / 2.829 GB, free: 288.3 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001041/4.041, allocations: 353.5 kB / 2.829 GB, free: 288.3 MB / 0.9792 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 (86): * Single equations (assignments): 83 * 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.001703/4.043, allocations: 1.064 MB / 2.83 GB, free: 288.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001307/4.044, allocations: 0.7237 MB / 2.831 GB, free: 288 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/4.044, allocations: 3.844 kB / 2.831 GB, free: 288 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007008/4.045, allocations: 0.4894 MB / 2.831 GB, free: 287.9 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/4.046, allocations: 252.3 kB / 2.831 GB, free: 287.9 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003212/4.049, allocations: 2.073 MB / 2.833 GB, free: 287 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/4.049, allocations: 1.006 MB / 2.834 GB, free: 286.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0007331/4.05, allocations: 254.5 kB / 2.835 GB, free: 286.3 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002147/4.05, allocations: 93.41 kB / 2.835 GB, free: 286.3 MB / 0.9792 GB Notification: Performance of SimCode: time 2.3e-07/4.05, allocations: 0 / 2.835 GB, free: 286.3 MB / 0.9792 GB Notification: Performance of Templates: time 0.02648/4.077, allocations: 20.48 MB / 2.855 GB, free: 284.9 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)