Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 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.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8539/0.8539, allocations: 143.4 MB / 158.3 MB, free: 5.785 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 184 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.625/1.625, allocations: 223.2 MB / 447.7 MB, free: 4.816 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 100.2 kB / 0.5188 GB, free: 1.172 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001807/0.001807, allocations: 262.7 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004676/0.0004676, allocations: 13.75 kB / 0.6929 GB, free: 59.68 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2188/0.2193, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.317/4.536, allocations: 1.691 GB / 2.465 GB, free: 110.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/4.536, allocations: 91.83 kB / 2.465 GB, free: 110 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1397/4.676, allocations: 63.74 MB / 2.527 GB, free: 46.07 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.325e-06/4.676, allocations: 4 kB / 2.527 GB, free: 46.07 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001363/4.676, allocations: 27.94 kB / 2.527 GB, free: 46.04 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 198 * Number of variables: 198 Notification: Performance of Generate backend data structure: time 0.003468/4.68, allocations: 1.164 MB / 2.528 GB, free: 44.83 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/4.68, allocations: 12.83 kB / 2.528 GB, free: 44.82 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/4.681, allocations: 178.6 kB / 2.528 GB, free: 44.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/4.683, allocations: 0.6114 MB / 2.529 GB, free: 43.99 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.499e-05/4.683, allocations: 58 kB / 2.529 GB, free: 43.93 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003111/4.683, allocations: 79.98 kB / 2.529 GB, free: 43.85 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/4.686, allocations: 0.852 MB / 2.53 GB, free: 42.96 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.211e-05/4.686, allocations: 0 / 2.53 GB, free: 42.96 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/4.686, allocations: 36 kB / 2.53 GB, free: 42.93 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/4.686, allocations: 20 kB / 2.53 GB, free: 42.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/4.688, allocations: 1.065 MB / 2.531 GB, free: 41.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004184/4.692, allocations: 2.438 MB / 2.533 GB, free: 39.33 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/4.693, allocations: 0.8048 MB / 2.534 GB, free: 38.5 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.815e-05/4.693, allocations: 32.52 kB / 2.534 GB, free: 38.46 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006752/4.694, allocations: 425.8 kB / 2.535 GB, free: 38.03 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=70): time 2.995e-06/4.694, allocations: 0 / 2.535 GB, free: 38.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=70): time 0.002859/4.697, allocations: 1.087 MB / 2.536 GB, free: 36.92 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.473e-05/4.697, allocations: 243.8 kB / 2.536 GB, free: 36.62 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008479/4.698, allocations: 0.5775 MB / 2.536 GB, free: 36.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.513e-05/4.698, allocations: 41.7 kB / 2.536 GB, free: 36 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/4.698, allocations: 368.3 kB / 2.537 GB, free: 35.63 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001585/4.698, allocations: 232.6 kB / 2.537 GB, free: 35.4 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.201e-05/4.698, allocations: 16 kB / 2.537 GB, free: 35.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001256/4.699, allocations: 378.8 kB / 2.537 GB, free: 35 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003864/4.699, allocations: 217.2 kB / 2.538 GB, free: 34.79 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004678/4.699, allocations: 323.7 kB / 2.538 GB, free: 34.45 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/4.7, allocations: 263.1 kB / 2.538 GB, free: 34.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/4.7, allocations: 0 / 2.538 GB, free: 34.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001575/4.701, allocations: 0.7159 MB / 2.539 GB, free: 33.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/4.701, allocations: 4 kB / 2.539 GB, free: 33.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/4.702, allocations: 3.953 kB / 2.539 GB, free: 33.46 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006125/4.702, allocations: 88.77 kB / 2.539 GB, free: 33.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005266/4.703, allocations: 127.9 kB / 2.539 GB, free: 33.24 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/4.705, allocations: 1.557 MB / 2.541 GB, free: 31.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006321/4.705, allocations: 71.41 kB / 2.541 GB, free: 31.48 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.473e-05/4.705, allocations: 27.98 kB / 2.541 GB, free: 31.45 MB / 0.7136 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 (72): * Single equations (assignments): 71 * 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.0004522/4.706, allocations: 253.7 kB / 2.541 GB, free: 31.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001684/4.706, allocations: 75.06 kB / 2.541 GB, free: 31.12 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/4.708, allocations: 0.9821 MB / 2.542 GB, free: 30.12 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/4.708, allocations: 8 kB / 2.542 GB, free: 30.11 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/4.708, allocations: 0 / 2.542 GB, free: 30.11 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/4.708, allocations: 8.016 kB / 2.542 GB, free: 30.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003037/4.711, allocations: 1.904 MB / 2.544 GB, free: 28.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/4.711, allocations: 3.984 kB / 2.544 GB, free: 28.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005344/4.712, allocations: 143.8 kB / 2.544 GB, free: 27.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005161/4.712, allocations: 88.8 kB / 2.544 GB, free: 27.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/4.712, allocations: 23.94 kB / 2.544 GB, free: 27.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001566/4.714, allocations: 1.567 MB / 2.546 GB, free: 26.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/4.714, allocations: 4.062 kB / 2.546 GB, free: 26.17 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001625/4.715, allocations: 0.9102 MB / 2.547 GB, free: 25.24 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004423/4.716, allocations: 279.8 kB / 2.547 GB, free: 24.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/4.716, allocations: 16 kB / 2.547 GB, free: 24.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006084/4.717, allocations: 67.95 kB / 2.547 GB, free: 24.86 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/4.717, allocations: 56.91 kB / 2.547 GB, free: 24.81 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/4.717, allocations: 27.98 kB / 2.547 GB, free: 24.78 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006143/4.718, allocations: 479 kB / 2.547 GB, free: 24.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.1e-07/4.718, allocations: 0 / 2.547 GB, free: 24.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001258/4.719, allocations: 355.2 kB / 2.548 GB, free: 23.97 MB / 0.7136 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.002391/4.721, allocations: 1.062 MB / 2.549 GB, free: 23.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001437/4.723, allocations: 0.7126 MB / 2.549 GB, free: 22.37 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/4.723, allocations: 8.125 kB / 2.549 GB, free: 22.36 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0007647/4.723, allocations: 488.3 kB / 2.55 GB, free: 21.87 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001083/4.725, allocations: 243.6 kB / 2.55 GB, free: 21.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/4.729, allocations: 2.033 MB / 2.552 GB, free: 19.58 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005218/4.729, allocations: 1.018 MB / 2.553 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0008514/4.73, allocations: 249.9 kB / 2.553 GB, free: 18.29 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/4.73, allocations: 91.39 kB / 2.553 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of SimCode: time 1.032e-06/4.73, allocations: 0 / 2.553 GB, free: 18.2 MB / 0.7136 GB Notification: Performance of Templates: time 0.3823/5.113, allocations: 20.16 MB / 2.573 GB, free: 232 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.ZenithAngle.pipe 2>&1)