Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7664/0.7664, allocations: 140.1 MB / 156 MB, free: 5.148 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 188 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.809/1.809, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009439/0.0009443, allocations: 92.53 kB / 0.4945 GB, free: 8.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001801/0.001802, allocations: 271.4 kB / 0.5728 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004785, allocations: 16 kB / 0.662 GB, free: 6.793 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.435/0.4355, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.233/4.669, allocations: 2.042 GB / 2.781 GB, free: 167.5 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002816/4.669, allocations: 99.94 kB / 2.781 GB, free: 167.4 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.1187/4.788, allocations: 59.18 MB / 2.839 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.355e-06/4.788, allocations: 0 / 2.839 GB, free: 107.9 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 8.869e-05/4.788, allocations: 24 kB / 2.839 GB, free: 107.9 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.002182/4.79, allocations: 1.132 MB / 2.84 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/4.79, allocations: 12.03 kB / 2.84 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000867/4.791, allocations: 191.5 kB / 2.84 GB, free: 106.5 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009565/4.792, allocations: 0.6278 MB / 2.841 GB, free: 105.9 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.687e-05/4.792, allocations: 54.38 kB / 2.841 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001008/4.792, allocations: 76.38 kB / 2.841 GB, free: 105.7 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/4.793, allocations: 0.8525 MB / 2.842 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/4.793, allocations: 192 / 2.842 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.591e-05/4.793, allocations: 39.92 kB / 2.842 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.449e-05/4.793, allocations: 20 kB / 2.842 GB, free: 104.8 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/4.795, allocations: 1.061 MB / 2.843 GB, free: 103.7 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003453/4.798, allocations: 2.379 MB / 2.845 GB, free: 101.3 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001088/4.799, allocations: 0.797 MB / 2.846 GB, free: 100.4 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/4.8, allocations: 278.4 kB / 2.846 GB, free: 100.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.771e-05/4.8, allocations: 36.58 kB / 2.846 GB, free: 100.1 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006034/4.801, allocations: 427.2 kB / 2.847 GB, free: 99.7 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=72): time 2.264e-06/4.801, allocations: 0 / 2.847 GB, free: 99.7 MB / 0.6667 GB Notification: Performance of matching and sorting (n=72): time 0.002491/4.803, allocations: 1.092 MB / 2.848 GB, free: 98.58 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/4.803, allocations: 240 kB / 2.848 GB, free: 98.29 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007223/4.804, allocations: 0.6407 MB / 2.849 GB, free: 97.64 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.919e-05/4.804, allocations: 37.7 kB / 2.849 GB, free: 97.6 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/4.804, allocations: 364.3 kB / 2.849 GB, free: 97.23 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001368/4.804, allocations: 244.5 kB / 2.849 GB, free: 96.99 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/4.804, allocations: 8 kB / 2.849 GB, free: 96.98 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 8.774e-05/4.804, allocations: 382.7 kB / 2.85 GB, free: 96.6 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003607/4.805, allocations: 221.2 kB / 2.85 GB, free: 96.38 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004131/4.805, allocations: 339.7 kB / 2.85 GB, free: 96.02 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007893/4.806, allocations: 0.5152 MB / 2.851 GB, free: 95.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/4.806, allocations: 7.938 kB / 2.851 GB, free: 95.49 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001414/4.808, allocations: 0.7275 MB / 2.852 GB, free: 94.75 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/4.808, allocations: 4 kB / 2.852 GB, free: 94.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/4.808, allocations: 0 / 2.852 GB, free: 94.75 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005455/4.808, allocations: 80.83 kB / 2.852 GB, free: 94.67 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005113/4.809, allocations: 143.7 kB / 2.852 GB, free: 94.53 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/4.81, allocations: 1.506 MB / 2.853 GB, free: 92.88 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005188/4.811, allocations: 79.39 kB / 2.853 GB, free: 92.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-05/4.811, allocations: 27.98 kB / 2.853 GB, free: 92.77 MB / 0.6667 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.0003572/4.811, allocations: 253.7 kB / 2.854 GB, free: 92.51 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/4.811, allocations: 79 kB / 2.854 GB, free: 92.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001979/4.813, allocations: 1.009 MB / 2.855 GB, free: 91.41 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/4.813, allocations: 8 kB / 2.855 GB, free: 91.41 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/4.813, allocations: 7.984 kB / 2.855 GB, free: 91.4 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/4.813, allocations: 3.984 kB / 2.855 GB, free: 91.39 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002636/4.816, allocations: 1.892 MB / 2.856 GB, free: 89.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/4.816, allocations: 0 / 2.856 GB, free: 89.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/4.816, allocations: 155.8 kB / 2.857 GB, free: 89.29 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/4.817, allocations: 80.78 kB / 2.857 GB, free: 89.21 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/4.817, allocations: 23.98 kB / 2.857 GB, free: 89.18 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/4.818, allocations: 1.551 MB / 2.858 GB, free: 87.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/4.818, allocations: 4.031 kB / 2.858 GB, free: 87.49 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/4.82, allocations: 0.9219 MB / 2.859 GB, free: 86.55 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003515/4.82, allocations: 275.8 kB / 2.859 GB, free: 86.26 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/4.82, allocations: 19.94 kB / 2.859 GB, free: 86.24 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/4.821, allocations: 67.89 kB / 2.86 GB, free: 86.18 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000125/4.821, allocations: 60.91 kB / 2.86 GB, free: 86.11 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.323e-05/4.821, allocations: 35.98 kB / 2.86 GB, free: 86.08 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005268/4.822, allocations: 471 kB / 2.86 GB, free: 85.62 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.21e-07/4.822, allocations: 0 / 2.86 GB, free: 85.62 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001005/4.823, allocations: 335.1 kB / 2.86 GB, free: 85.3 MB / 0.6667 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.001873/4.825, allocations: 1.022 MB / 2.861 GB, free: 84.38 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001342/4.826, allocations: 0.724 MB / 2.862 GB, free: 83.65 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/4.826, allocations: 0 / 2.862 GB, free: 83.65 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007508/4.827, allocations: 496.3 kB / 2.863 GB, free: 83.15 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/4.828, allocations: 255.5 kB / 2.863 GB, free: 82.91 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/4.831, allocations: 2.065 MB / 2.865 GB, free: 80.8 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004893/4.832, allocations: 0.9996 MB / 2.866 GB, free: 79.78 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.000831/4.833, allocations: 249.9 kB / 2.866 GB, free: 79.53 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/4.833, allocations: 103.4 kB / 2.866 GB, free: 79.43 MB / 0.6667 GB Notification: Performance of SimCode: time 7.41e-07/4.833, allocations: 0 / 2.866 GB, free: 79.43 MB / 0.6667 GB Notification: Performance of Templates: time 0.02751/4.861, allocations: 20.15 MB / 2.886 GB, free: 59.36 MB / 0.6667 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.ZenithAngle.pipe 2>&1)