Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.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.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7455/0.7455, allocations: 141.7 MB / 154.3 MB, free: 15.48 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.0009758/0.0009759, allocations: 181.2 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.449/1.449, allocations: 221.3 MB / 441.4 MB, free: 4.578 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.0008494/0.0008496, allocations: 93.3 kB / 0.5124 GB, free: 24.15 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00179/0.00179, allocations: 289.5 kB / 0.594 GB, free: 7.934 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.814e-05/3.815e-05, allocations: 4 kB / 0.6834 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4046, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.5414, allocations: 113.4 MB / 0.875 GB, free: 11.16 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/0.5417, allocations: 88.59 kB / 0.8751 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02442/0.5662, allocations: 8.966 MB / 0.8838 GB, free: 2.109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5662, allocations: 7.938 kB / 0.8838 GB, free: 2.102 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.761e-05/0.5662, allocations: 4 kB / 0.8838 GB, free: 2.098 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: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.0006342/0.5669, allocations: 0.4947 MB / 0.8843 GB, free: 1.559 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.5669, allocations: 8.031 kB / 0.8843 GB, free: 1.551 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.5671, allocations: 31.72 kB / 0.8844 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003679/0.5675, allocations: 281.6 kB / 0.8846 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.628e-05/0.5675, allocations: 19.73 kB / 0.8846 GB, free: 1.188 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.171e-05/0.5675, allocations: 12 kB / 0.8847 GB, free: 1.176 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004102/0.568, allocations: 224.9 kB / 0.8849 GB, free: 0.9375 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.568, allocations: 4 kB / 0.8849 GB, free: 0.9336 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.568, allocations: 8 kB / 0.8849 GB, free: 0.9258 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.568, allocations: 4 kB / 0.8849 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008965/0.5689, allocations: 0.741 MB / 0.8856 GB, free: 184 kB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009966/0.5699, allocations: 0.6058 MB / 0.8862 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.5704, allocations: 294 kB / 0.8865 GB, free: 15.22 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000172/0.5706, allocations: 113.4 kB / 0.8866 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-05/0.5707, allocations: 24.23 kB / 0.8866 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.571, allocations: 179.4 kB / 0.8868 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=35): time 2.324e-06/0.571, allocations: 0 / 0.8868 GB, free: 14.9 MB / 0.5573 GB Notification: Performance of matching and sorting (n=35): time 0.0005231/0.5715, allocations: 277 kB / 0.8871 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.513e-05/0.5716, allocations: 140.5 kB / 0.8872 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003214/0.5719, allocations: 261 kB / 0.8874 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.974e-05/0.572, allocations: 37.7 kB / 0.8875 GB, free: 14.15 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.098e-05/0.5721, allocations: 132.8 kB / 0.8876 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/0.5722, allocations: 114.4 kB / 0.8877 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.209e-05/0.5722, allocations: 4 kB / 0.8877 GB, free: 13.9 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.5723, allocations: 338.8 kB / 0.888 GB, free: 13.56 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.5725, allocations: 75.98 kB / 0.8881 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.5727, allocations: 127.5 kB / 0.8882 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.5729, allocations: 107.8 kB / 0.8883 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5729, allocations: 0 / 0.8883 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004487/0.5733, allocations: 269.6 kB / 0.8886 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.5733, allocations: 9.406 kB / 0.8886 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5734, allocations: 0 / 0.8886 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5734, allocations: 0 / 0.8886 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002335/0.5736, allocations: 71.83 kB / 0.8887 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.248e-06/0.5736, allocations: 5.797 kB / 0.8887 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001541/0.5738, allocations: 35.64 kB / 0.8887 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.144e-05/0.5738, allocations: 15.98 kB / 0.8887 GB, free: 12.84 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.conTim.tNext,conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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 0.0001072/0.5739, allocations: 120.9 kB / 0.8888 GB, free: 12.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.524e-05/0.574, allocations: 23.72 kB / 0.8889 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007063/0.5747, allocations: 396.2 kB / 0.8892 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.5747, allocations: 4 kB / 0.8892 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5747, allocations: 4 kB / 0.8892 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.213e-06/0.5747, allocations: 3.984 kB / 0.8892 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.5751, allocations: 353.2 kB / 0.8896 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.5751, allocations: 0 / 0.8896 GB, free: 11.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.5753, allocations: 63.91 kB / 0.8896 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.5753, allocations: 0 / 0.8896 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.068e-05/0.5753, allocations: 8 kB / 0.8897 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.5753, allocations: 4 kB / 0.8897 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.5753, allocations: 3.984 kB / 0.8897 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004639/0.5758, allocations: 314.3 kB / 0.89 GB, free: 11.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.576, allocations: 164.6 kB / 0.8901 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.5761, allocations: 8 kB / 0.8901 GB, free: 11.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.5762, allocations: 27.97 kB / 0.8901 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.5763, allocations: 23.97 kB / 0.8902 GB, free: 11.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.888e-05/0.5763, allocations: 19.98 kB / 0.8902 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002114/0.5766, allocations: 221.3 kB / 0.8904 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5766, allocations: 0 / 0.8904 GB, free: 11.03 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003132/0.5769, allocations: 75.94 kB / 0.8905 GB, free: 10.95 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,conTim.tNext) * Number of discrete states: 1 (conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009084/0.5778, allocations: 381.8 kB / 0.8908 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.5782, allocations: 227.9 kB / 0.8911 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5782, allocations: 0 / 0.8911 GB, free: 10.47 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.5784, allocations: 123.8 kB / 0.8912 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002375/0.5787, allocations: 48.31 kB / 0.8912 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006809/0.5793, allocations: 411.3 kB / 0.8916 GB, free: 9.887 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.5797, allocations: 0.7808 MB / 0.8924 GB, free: 9.078 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003421/0.5801, allocations: 144.6 kB / 0.8925 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.5802, allocations: 51.41 kB / 0.8926 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of SimCode: time 3.7e-07/0.5802, allocations: 0 / 0.8926 GB, free: 8.902 MB / 0.5573 GB Notification: Performance of Templates: time 0.007021/0.5872, allocations: 3.35 MB / 0.8958 GB, free: 5.609 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)