Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9845/0.9845, allocations: 143.4 MB / 158.3 MB, free: 5.793 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.001159/0.001159, allocations: 177.1 kB / 191.5 MB, free: 5.75 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.619/1.619, allocations: 223.2 MB / 447.7 MB, free: 4.691 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.001033/0.001033, allocations: 88.31 kB / 0.5188 GB, free: 1.055 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001819/0.001819, allocations: 279.2 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004911/0.0004911, allocations: 15.34 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2177/0.2182, allocations: 82.79 MB / 0.7737 GB, free: 13.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.414/4.633, allocations: 1.693 GB / 2.466 GB, free: 61.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/4.633, allocations: 93.2 kB / 2.466 GB, free: 61.24 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.6218/5.255, allocations: 94.68 MB / 2.559 GB, free: 231.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.707e-06/5.255, allocations: 0 / 2.559 GB, free: 231.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001434/5.255, allocations: 30.19 kB / 2.559 GB, free: 231.9 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: 364 * Number of variables: 364 Notification: Performance of Generate backend data structure: time 0.004406/5.259, allocations: 1.528 MB / 2.56 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/5.26, allocations: 8.969 kB / 2.56 GB, free: 231.2 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001309/5.261, allocations: 247.8 kB / 2.561 GB, free: 231.1 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/5.262, allocations: 0.7786 MB / 2.561 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/5.263, allocations: 108 kB / 2.562 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001913/5.263, allocations: 140.6 kB / 2.562 GB, free: 230.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/5.265, allocations: 1.413 MB / 2.563 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/5.265, allocations: 2.922 kB / 2.563 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/5.266, allocations: 60.53 kB / 2.563 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-05/5.266, allocations: 34.41 kB / 2.563 GB, free: 230.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/5.268, allocations: 1.517 MB / 2.565 GB, free: 230.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006161/5.274, allocations: 3.832 MB / 2.568 GB, free: 229.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/5.276, allocations: 0.9683 MB / 2.569 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 9.76e-05/5.276, allocations: 52.81 kB / 2.569 GB, free: 229.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008895/5.277, allocations: 0.5754 MB / 2.57 GB, free: 229.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=104): time 3.196e-06/5.277, allocations: 0 / 2.57 GB, free: 229.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=104): time 0.00357/5.281, allocations: 1.492 MB / 2.571 GB, free: 229.4 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/5.281, allocations: 245.1 kB / 2.572 GB, free: 229.1 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/5.282, allocations: 0.7324 MB / 2.572 GB, free: 229 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.095e-05/5.282, allocations: 50.73 kB / 2.572 GB, free: 229 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/5.282, allocations: 0.5567 MB / 2.573 GB, free: 228.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/5.282, allocations: 339.8 kB / 2.573 GB, free: 228.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/5.283, allocations: 18.59 kB / 2.573 GB, free: 228.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.488e-05/5.283, allocations: 347.8 kB / 2.574 GB, free: 228.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/5.283, allocations: 339.8 kB / 2.574 GB, free: 228.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007161/5.284, allocations: 473.7 kB / 2.574 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007746/5.285, allocations: 411.1 kB / 2.575 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.125e-06/5.285, allocations: 3.938 kB / 2.575 GB, free: 228.1 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002261/5.287, allocations: 1.067 MB / 2.576 GB, free: 228 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/5.287, allocations: 8.062 kB / 2.576 GB, free: 228 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.846e-06/5.287, allocations: 0 / 2.576 GB, free: 228 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006477/5.288, allocations: 86.19 kB / 2.576 GB, free: 228 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009042/5.289, allocations: 214.4 kB / 2.576 GB, free: 228 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/5.29, allocations: 1.55 MB / 2.578 GB, free: 226.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/5.291, allocations: 119.4 kB / 2.578 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.253e-05/5.292, allocations: 40.27 kB / 2.578 GB, free: 226.6 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 (116): * Single equations (assignments): 115 * 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.0007272/5.292, allocations: 307.7 kB / 2.578 GB, free: 226.5 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001848/5.292, allocations: 104 kB / 2.578 GB, free: 226.4 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/5.295, allocations: 1.413 MB / 2.58 GB, free: 226.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/5.295, allocations: 11.66 kB / 2.58 GB, free: 226.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/5.295, allocations: 0 / 2.58 GB, free: 226.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.311e-05/5.295, allocations: 10.36 kB / 2.58 GB, free: 226.3 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/5.299, allocations: 2.614 MB / 2.582 GB, free: 225.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.935e-06/5.299, allocations: 3.516 kB / 2.582 GB, free: 225.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007642/5.3, allocations: 200.4 kB / 2.582 GB, free: 225.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005064/5.301, allocations: 84.12 kB / 2.582 GB, free: 225.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.992e-05/5.301, allocations: 34.75 kB / 2.582 GB, free: 225.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/5.302, allocations: 1.577 MB / 2.584 GB, free: 224.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/5.302, allocations: 0 / 2.584 GB, free: 224.6 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/5.304, allocations: 1.173 MB / 2.585 GB, free: 224.4 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006202/5.305, allocations: 373.4 kB / 2.585 GB, free: 224.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/5.305, allocations: 21.06 kB / 2.585 GB, free: 224.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007101/5.306, allocations: 72.45 kB / 2.586 GB, free: 224.2 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/5.306, allocations: 71.2 kB / 2.586 GB, free: 224.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-05/5.306, allocations: 43.09 kB / 2.586 GB, free: 224.2 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008516/5.307, allocations: 0.6213 MB / 2.586 GB, free: 224.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.01e-07/5.307, allocations: 0 / 2.586 GB, free: 224.1 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001459/5.309, allocations: 475.9 kB / 2.587 GB, free: 224 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 (115): * Single equations (assignments): 112 * 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.001995/5.311, allocations: 1.067 MB / 2.588 GB, free: 223.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001923/5.312, allocations: 1 MB / 2.589 GB, free: 223.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/5.312, allocations: 3.625 kB / 2.589 GB, free: 223.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000935/5.313, allocations: 0.6082 MB / 2.589 GB, free: 223.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/5.315, allocations: 267 kB / 2.59 GB, free: 223.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004876/5.32, allocations: 2.965 MB / 2.592 GB, free: 222.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005629/5.32, allocations: 1.194 MB / 2.594 GB, free: 221.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00109/5.321, allocations: 305.9 kB / 2.594 GB, free: 221.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003241/5.322, allocations: 131.1 kB / 2.594 GB, free: 221.4 MB / 0.7136 GB Notification: Performance of SimCode: time 9.32e-07/5.322, allocations: 0 / 2.594 GB, free: 221.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.0501/5.372, allocations: 23.97 MB / 2.617 GB, free: 206.9 MB / 0.7136 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)