Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8346/0.8346, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001015/0.001015, allocations: 179.6 kB / 182.2 MB, free: 9.477 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.411/1.411, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0008882/0.0008882, allocations: 92.11 kB / 0.5074 GB, free: 10.19 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001721/0.001721, allocations: 278.7 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.537e-05/1.524e-05, allocations: 8 kB / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.395/0.3951, allocations: 82.77 MB / 0.7574 GB, free: 32.05 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1703/0.5654, allocations: 108.3 MB / 0.8631 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.5657, allocations: 87.75 kB / 0.8632 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002903/0.5686, allocations: 0.8429 MB / 0.8641 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5687, allocations: 0 / 0.8641 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.5687, allocations: 0 / 0.8641 GB, free: 2.668 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003493/0.569, allocations: 323.4 kB / 0.8644 GB, free: 2.309 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5691, allocations: 12.03 kB / 0.8644 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.139e-05/0.5691, allocations: 0 / 0.8644 GB, free: 2.297 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.5692, allocations: 167 kB / 0.8645 GB, free: 2.094 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.5693, allocations: 3.953 kB / 0.8645 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.5693, allocations: 0 / 0.8645 GB, free: 2.09 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.961e-05/0.5694, allocations: 12 kB / 0.8645 GB, free: 2.078 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.043e-05/0.5695, allocations: 37.69 kB / 0.8646 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.5695, allocations: 0 / 0.8646 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.5695, allocations: 3.984 kB / 0.8646 GB, free: 2.031 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5695, allocations: 15.88 kB / 0.8646 GB, free: 2.016 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003125/0.5698, allocations: 221.5 kB / 0.8648 GB, free: 1.762 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.57, allocations: 38.61 kB / 0.8649 GB, free: 1.715 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.255e-05/0.5701, allocations: 8.922 kB / 0.8649 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.601e-05/0.5701, allocations: 0 / 0.8649 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.5701, allocations: 42.56 kB / 0.8649 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.5702, allocations: 0 / 0.8649 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3): time 0.0001604/0.5703, allocations: 41.72 kB / 0.8649 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.5704, allocations: 51.41 kB / 0.865 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.852e-05/0.5704, allocations: 89 kB / 0.8651 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.5704, allocations: 25.7 kB / 0.8651 GB, free: 1.418 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.5705, allocations: 88.05 kB / 0.8652 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.15e-05/0.5705, allocations: 11.83 kB / 0.8652 GB, free: 1.316 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.808e-06/0.5705, allocations: 4 kB / 0.8652 GB, free: 1.312 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.5707, allocations: 310.8 kB / 0.8655 GB, free: 1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.219e-05/0.5707, allocations: 8 kB / 0.8655 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.5707, allocations: 4 kB / 0.8655 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.14e-05/0.5708, allocations: 3.984 kB / 0.8655 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.5708, allocations: 0 / 0.8655 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001083/0.5709, allocations: 49.64 kB / 0.8656 GB, free: 0.9297 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.5709, allocations: 4 kB / 0.8656 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.5709, allocations: 0 / 0.8656 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.571, allocations: 8 kB / 0.8656 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.07e-05/0.571, allocations: 7.938 kB / 0.8656 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.571, allocations: 0 / 0.8656 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.5711, allocations: 0 / 0.8656 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.5711, allocations: 3.938 kB / 0.8656 GB, free: 0.9062 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.5712, allocations: 109 kB / 0.8657 GB, free: 0.793 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.878e-05/0.5712, allocations: 7.953 kB / 0.8657 GB, free: 0.7852 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.5714, allocations: 57.81 kB / 0.8657 GB, free: 0.7188 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5714, allocations: 4 kB / 0.8657 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5714, allocations: 0 / 0.8657 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.5714, allocations: 7.984 kB / 0.8658 GB, free: 0.707 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001851/0.5716, allocations: 138.1 kB / 0.8659 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5716, allocations: 0 / 0.8659 GB, free: 0.5352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.402e-05/0.5717, allocations: 11.94 kB / 0.8659 GB, free: 0.5234 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.5717, allocations: 3.938 kB / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.5718, allocations: 3.953 kB / 0.8659 GB, free: 0.5156 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.199e-06/0.5718, allocations: 8.062 kB / 0.8659 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5718, allocations: 3.75 kB / 0.8659 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001539/0.5719, allocations: 151.5 kB / 0.8661 GB, free: 352 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.585e-05/0.572, allocations: 81.11 kB / 0.8661 GB, free: 252 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.572, allocations: 3.984 kB / 0.8661 GB, free: 248 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.691e-05/0.5721, allocations: 3.953 kB / 0.8661 GB, free: 244 kB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.439e-05/0.5722, allocations: 4 kB / 0.8662 GB, free: 240 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.5722, allocations: 0 / 0.8662 GB, free: 240 kB / 0.5261 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.5722, allocations: 75.28 kB / 0.8662 GB, free: 164 kB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5722, allocations: 0 / 0.8662 GB, free: 164 kB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003837/0.5726, allocations: 8 kB / 0.8662 GB, free: 156 kB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001168/0.5727, allocations: 99.25 kB / 0.8663 GB, free: 48 kB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.05e-05/0.5728, allocations: 28.11 kB / 0.8664 GB, free: 20 kB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5728, allocations: 0 / 0.8664 GB, free: 20 kB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.218e-05/0.5729, allocations: 16 kB / 0.8664 GB, free: 4 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.5731, allocations: 0 / 0.8664 GB, free: 4 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.5734, allocations: 67.94 kB / 0.8664 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.5738, allocations: 0.6807 MB / 0.8671 GB, free: 15.21 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.785e-05/0.5739, allocations: 8.078 kB / 0.8671 GB, free: 15.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.5739, allocations: 7.438 kB / 0.8671 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.5739, allocations: 3.938 kB / 0.8671 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of Templates: time 0.002465/0.5764, allocations: 343.5 kB / 0.8674 GB, free: 14.88 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)