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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009689/0.0009689, allocations: 81.86 kB / 19.87 MB, free: 4.621 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9527/0.9527, allocations: 177.1 MB / 203.7 MB, free: 5.516 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001769/0.001769, allocations: 241.4 kB / 260.5 MB, free: 12.67 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6798/0.6798, allocations: 138.4 MB / 455.5 MB, free: 1.449 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.677e-06/3.677e-06, allocations: 7.922 kB / 0.5556 GB, free: 268 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.042e-05/2.41e-05, allocations: 6.312 kB / 0.5556 GB, free: 260 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003046/0.00307, allocations: 1.931 MB / 0.5575 GB, free: 14.3 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001781/0.004851, allocations: 1.835 MB / 0.5593 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.454e-05/0.004926, allocations: 0 / 0.5593 GB, free: 12.46 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002078/0.005134, allocations: 31.72 kB / 0.5593 GB, free: 12.43 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003545/0.005488, allocations: 135.2 kB / 0.5595 GB, free: 12.3 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003179/0.005806, allocations: 167.5 kB / 0.5596 GB, free: 12.13 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002435/0.00605, allocations: 297.2 kB / 0.5599 GB, free: 11.84 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.006144, allocations: 29.28 kB / 0.5599 GB, free: 11.82 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02426/0.03041, allocations: 10.14 MB / 0.5698 GB, free: 4.336 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.03054, allocations: 79.81 kB / 0.5699 GB, free: 4.258 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.27e-05/0.03057, allocations: 20 kB / 0.5699 GB, free: 4.238 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.03073, allocations: 67.92 kB / 0.57 GB, free: 4.172 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 7.261e-05/0.0308, allocations: 87.73 kB / 0.5701 GB, free: 4.086 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 6.925e-05/0.03087, allocations: 79.75 kB / 0.5702 GB, free: 4.008 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.0312, allocations: 270.9 kB / 0.5704 GB, free: 3.742 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.0312, allocations: 0 / 0.5704 GB, free: 3.742 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0312, allocations: 0 / 0.5704 GB, free: 3.742 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.03121, allocations: 0 / 0.5704 GB, free: 3.742 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0006398/0.03185, allocations: 0.5975 MB / 0.571 GB, free: 3.105 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.03188, allocations: 12.75 kB / 0.571 GB, free: 3.094 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001284/0.03201, allocations: 64.61 kB / 0.5711 GB, free: 3.031 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.03225, allocations: 254.1 kB / 0.5713 GB, free: 2.758 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.03227, allocations: 16.38 kB / 0.5713 GB, free: 2.742 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.03229, allocations: 20.38 kB / 0.5713 GB, free: 2.723 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.03252, allocations: 296.6 kB / 0.5716 GB, free: 2.387 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.03253, allocations: 3.938 kB / 0.5716 GB, free: 2.383 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.03254, allocations: 8 kB / 0.5716 GB, free: 2.375 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.293e-06/0.03255, allocations: 7.938 kB / 0.5716 GB, free: 2.367 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004463/0.033, allocations: 0.5654 MB / 0.5722 GB, free: 1.801 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005512/0.03355, allocations: 0.496 MB / 0.5727 GB, free: 1.273 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001932/0.03374, allocations: 171 kB / 0.5728 GB, free: 1.098 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.429e-05/0.0338, allocations: 48.22 kB / 0.5729 GB, free: 1.047 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.291e-05/0.03384, allocations: 36.12 kB / 0.5729 GB, free: 1.012 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001707/0.03401, allocations: 192.4 kB / 0.5731 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of pre-optimization done (n=35): time 1.854e-06/0.03401, allocations: 0 / 0.5731 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of matching and sorting (n=35): time 0.0002938/0.0343, allocations: 245 kB / 0.5733 GB, free: 0.5508 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.03434, allocations: 106.8 kB / 0.5734 GB, free: 432 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002604/0.0346, allocations: 284.2 kB / 0.5737 GB, free: 128 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.03463, allocations: 29.7 kB / 0.5737 GB, free: 92 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.03471, allocations: 183.4 kB / 0.5739 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.03477, allocations: 122.9 kB / 0.574 GB, free: 15.79 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/0.03484, allocations: 75.31 kB / 0.5741 GB, free: 15.7 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000113/0.03495, allocations: 0.5156 MB / 0.5746 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.271e-05/0.03499, allocations: 31.97 kB / 0.5746 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.905e-05/0.03508, allocations: 143.5 kB / 0.5748 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001134/0.0352, allocations: 112 kB / 0.5749 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.0352, allocations: 0 / 0.5749 GB, free: 14.87 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0001899/0.03539, allocations: 201.2 kB / 0.5751 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.0354, allocations: 11.94 kB / 0.5751 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.0354, allocations: 0 / 0.5751 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.03541, allocations: 3.938 kB / 0.5751 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.03554, allocations: 67.91 kB / 0.5752 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.725e-06/0.03555, allocations: 4 kB / 0.5752 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.03561, allocations: 27.83 kB / 0.5752 GB, free: 14.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.03563, allocations: 11.94 kB / 0.5752 GB, free: 14.54 MB / 0.4948 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 (conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.501e-05/0.03571, allocations: 176.5 kB / 0.5754 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.03575, allocations: 39.81 kB / 0.5754 GB, free: 14.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.03604, allocations: 285 kB / 0.5757 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.355e-06/0.03604, allocations: 4 kB / 0.5757 GB, free: 14.03 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.03605, allocations: 4 kB / 0.5757 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.03605, allocations: 4 kB / 0.5757 GB, free: 14.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001509/0.0362, allocations: 208.9 kB / 0.5759 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.0362, allocations: 0 / 0.5759 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.597e-05/0.0363, allocations: 59.91 kB / 0.5759 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.0363, allocations: 3.984 kB / 0.576 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.03631, allocations: 11.98 kB / 0.576 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.03631, allocations: 0 / 0.576 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.03632, allocations: 0 / 0.576 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002119/0.03653, allocations: 261.1 kB / 0.5762 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.695e-05/0.03659, allocations: 67.69 kB / 0.5763 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.03662, allocations: 11.98 kB / 0.5763 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.513e-05/0.03668, allocations: 15.98 kB / 0.5763 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.504e-05/0.03672, allocations: 27.95 kB / 0.5763 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.03674, allocations: 8 kB / 0.5763 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.297e-05/0.03681, allocations: 193.1 kB / 0.5765 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5e-08/0.03681, allocations: 0 / 0.5765 GB, free: 13.12 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0001778/0.03699, allocations: 55.94 kB / 0.5766 GB, free: 13.07 MB / 0.4948 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006329/0.03762, allocations: 357.1 kB / 0.5769 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001769/0.0378, allocations: 143.8 kB / 0.5771 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.0378, allocations: 3.938 kB / 0.5771 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 7.946e-05/0.03788, allocations: 91.55 kB / 0.5771 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.03832, allocations: 68.09 kB / 0.5772 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007137/0.03903, allocations: 476.8 kB / 0.5777 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.428e-05/0.03909, allocations: 98.11 kB / 0.5778 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001289/0.03922, allocations: 82.95 kB / 0.5778 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.03939, allocations: 166.1 kB / 0.578 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of SimCode: time 7.82e-07/0.03939, allocations: 0 / 0.578 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of Templates: time 0.005182/0.04457, allocations: 3.669 MB / 0.5816 GB, free: 7.949 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.makefile [Timeout 660] (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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.562700225971639]