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.8727/0.8727, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001041/0.001042, allocations: 181.3 kB / 187.3 MB, free: 11.89 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.361/1.361, allocations: 221.3 MB / 441.4 MB, free: 4.602 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.0009938/0.0009938, allocations: 92.36 kB / 0.5124 GB, free: 24.19 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002532/0.002532, allocations: 272.4 kB / 0.5939 GB, free: 7.953 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.849e-05/3.851e-05, allocations: 8 kB / 0.6834 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4683/0.4684, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1236/0.5921, allocations: 109 MB / 0.8707 GB, free: 15.56 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/0.5924, allocations: 88.62 kB / 0.8708 GB, free: 15.48 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.002407/0.5948, allocations: 0.8566 MB / 0.8716 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5948, allocations: 0 / 0.8716 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.5949, allocations: 0 / 0.8716 GB, free: 14.63 MB / 0.5417 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.0002876/0.5952, allocations: 323.9 kB / 0.8719 GB, free: 14.27 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.5952, allocations: 12.03 kB / 0.8719 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.859e-05/0.5952, allocations: 0.875 kB / 0.8719 GB, free: 14.26 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.542e-05/0.5953, allocations: 159.1 kB / 0.8721 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.6e-05/0.5954, allocations: 8.672 kB / 0.8721 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.5954, allocations: 4 kB / 0.8721 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.5955, allocations: 41.56 kB / 0.8721 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.5955, allocations: 0 / 0.8721 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.5955, allocations: 0 / 0.8721 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.5955, allocations: 0 / 0.8721 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.9e-05/0.5956, allocations: 15.98 kB / 0.8722 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.5959, allocations: 244.9 kB / 0.8724 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.5961, allocations: 43.72 kB / 0.8724 GB, free: 13.65 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.065e-05/0.5961, allocations: 16.92 kB / 0.8724 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/0.5961, allocations: 0.8125 kB / 0.8724 GB, free: 13.63 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.5962, allocations: 31.06 kB / 0.8725 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.5962, allocations: 3.594 kB / 0.8725 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3): time 0.0001559/0.5963, allocations: 45.78 kB / 0.8725 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.5964, allocations: 55.34 kB / 0.8726 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.955e-05/0.5964, allocations: 89 kB / 0.8727 GB, free: 13.38 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/0.5964, allocations: 25.7 kB / 0.8727 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.212e-05/0.5965, allocations: 80.14 kB / 0.8728 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.998e-05/0.5965, allocations: 15.73 kB / 0.8728 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-06/0.5965, allocations: 0 / 0.8728 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.613e-05/0.5966, allocations: 318.5 kB / 0.8731 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.83e-05/0.5966, allocations: 8 kB / 0.8731 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.023e-05/0.5966, allocations: 0 / 0.8731 GB, free: 12.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/0.5967, allocations: 15.94 kB / 0.8731 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.5967, allocations: 0 / 0.8731 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.702e-05/0.5968, allocations: 49.81 kB / 0.8731 GB, free: 12.86 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.5968, allocations: 8 kB / 0.8732 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5968, allocations: 0 / 0.8732 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.5968, allocations: 3.031 kB / 0.8732 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.673e-05/0.5969, allocations: 7.938 kB / 0.8732 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.5969, allocations: 7.875 kB / 0.8732 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.294e-05/0.5969, allocations: 0 / 0.8732 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.5969, allocations: 0 / 0.8732 GB, free: 12.84 MB / 0.5417 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 6.385e-05/0.597, allocations: 112.9 kB / 0.8733 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.253e-05/0.597, allocations: 0 / 0.8733 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/0.5972, allocations: 69.19 kB / 0.8733 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.5972, allocations: 0 / 0.8733 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5972, allocations: 3.984 kB / 0.8734 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.5972, allocations: 0 / 0.8734 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.5974, allocations: 165.6 kB / 0.8735 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.5974, allocations: 3.953 kB / 0.8735 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.25e-05/0.5975, allocations: 8 kB / 0.8735 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.5975, allocations: 3.938 kB / 0.8735 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.5975, allocations: 4 kB / 0.8735 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5975, allocations: 4.062 kB / 0.8735 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5975, allocations: 4 kB / 0.8735 GB, free: 12.4 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.5976, allocations: 155.5 kB / 0.8737 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.254e-05/0.5977, allocations: 85.06 kB / 0.8738 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/0.5977, allocations: 0 / 0.8738 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.237e-05/0.5978, allocations: 0 / 0.8738 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.778e-05/0.5978, allocations: 4 kB / 0.8738 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.651e-06/0.5978, allocations: 4 kB / 0.8738 GB, free: 12.12 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.759e-05/0.5978, allocations: 79.28 kB / 0.8739 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.9e-07/0.5978, allocations: 0 / 0.8739 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001946/0.598, allocations: 4 kB / 0.8739 GB, free: 12.04 MB / 0.5417 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.000116/0.5982, allocations: 107.2 kB / 0.874 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.005e-05/0.5983, allocations: 20 kB / 0.874 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5983, allocations: 0 / 0.874 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.861e-05/0.5983, allocations: 16 kB / 0.874 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001174/0.5984, allocations: 4.562 kB / 0.874 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.5987, allocations: 91.09 kB / 0.8741 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.5989, allocations: 0.677 MB / 0.8747 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.5989, allocations: 4 kB / 0.8747 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.599, allocations: 11.42 kB / 0.8748 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.599, allocations: 4 kB / 0.8748 GB, free: 11.06 MB / 0.5417 GB Notification: Performance of Templates: time 0.00206/0.601, allocations: 346.1 kB / 0.8751 GB, free: 10.75 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)