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.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004877/0.004877, allocations: 103.2 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 191.2 kB / 16.67 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 279.1 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9633/0.9633, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 99.83 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1447, allocations: 86.98 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002857/0.1476, allocations: 1.879 MB / 0.7682 GB, free: 6.539 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1496, allocations: 1.577 MB / 0.7698 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.811e-05/0.1497, allocations: 4 kB / 0.7698 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001939/0.1499, allocations: 31.77 kB / 0.7698 GB, free: 4.918 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002585/0.1502, allocations: 71.56 kB / 0.7699 GB, free: 4.848 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003841/0.1506, allocations: 178.9 kB / 0.77 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002829/0.1508, allocations: 285.3 kB / 0.7703 GB, free: 4.398 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.151, allocations: 32.86 kB / 0.7704 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.1511, allocations: 91.81 kB / 0.7704 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002139/0.1513, allocations: 111.7 kB / 0.7705 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.1514, allocations: 20 kB / 0.7706 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001519/0.1515, allocations: 83.97 kB / 0.7706 GB, free: 4.066 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.129e-05/0.1516, allocations: 91.69 kB / 0.7707 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.1517, allocations: 119.3 kB / 0.7708 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.1521, allocations: 330.8 kB / 0.7712 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1521, allocations: 0 / 0.7712 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.152e-06/0.1521, allocations: 0 / 0.7712 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.104e-06/0.1521, allocations: 4 kB / 0.7712 GB, free: 3.531 MB / 0.5606 GB 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.0006943/0.1528, allocations: 0.5539 MB / 0.7717 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.846e-05/0.1528, allocations: 12.03 kB / 0.7717 GB, free: 2.914 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.153, allocations: 32.56 kB / 0.7717 GB, free: 2.883 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002561/0.1532, allocations: 274.7 kB / 0.772 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.717e-05/0.1533, allocations: 12.38 kB / 0.772 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.823e-05/0.1533, allocations: 24.12 kB / 0.772 GB, free: 2.543 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.1537, allocations: 236.9 kB / 0.7723 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.1537, allocations: 0 / 0.7723 GB, free: 2.293 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.802e-05/0.1537, allocations: 11.94 kB / 0.7723 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/0.1537, allocations: 11.94 kB / 0.7723 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008027/0.1545, allocations: 0.749 MB / 0.773 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008968/0.1554, allocations: 0.6331 MB / 0.7736 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004562/0.1559, allocations: 317.9 kB / 0.7739 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001523/0.1561, allocations: 105.4 kB / 0.774 GB, free: 420 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.179e-05/0.1561, allocations: 24.25 kB / 0.7741 GB, free: 396 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002846/0.1564, allocations: 173.2 kB / 0.7742 GB, free: 212 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 3.387e-06/0.1564, allocations: 3.984 kB / 0.7742 GB, free: 208 kB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.275/0.4314, allocations: 380.5 kB / 0.7746 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.4315, allocations: 133.6 kB / 0.7747 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.4318, allocations: 308 kB / 0.775 GB, free: 15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.4318, allocations: 34.39 kB / 0.7751 GB, free: 14.97 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.499e-05/0.4319, allocations: 134.8 kB / 0.7752 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.514e-05/0.432, allocations: 118.1 kB / 0.7753 GB, free: 14.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.279e-05/0.4321, allocations: 65.77 kB / 0.7754 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.58e-05/0.4321, allocations: 341.9 kB / 0.7757 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001453/0.4323, allocations: 82.3 kB / 0.7758 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.4325, allocations: 126.3 kB / 0.7759 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003071/0.4328, allocations: 220.7 kB / 0.7761 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.4328, allocations: 0 / 0.7761 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004117/0.4332, allocations: 278 kB / 0.7764 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.4333, allocations: 9.797 kB / 0.7764 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.4333, allocations: 2.438 kB / 0.7764 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.4333, allocations: 1.281 kB / 0.7764 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002277/0.4335, allocations: 63.12 kB / 0.7764 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.4335, allocations: 2.219 kB / 0.7764 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/0.4337, allocations: 29.89 kB / 0.7765 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.4337, allocations: 14.08 kB / 0.7765 GB, free: 14.41 MB / 0.5606 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 0.0001245/0.4339, allocations: 166.8 kB / 0.7766 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.162e-05/0.4339, allocations: 30.81 kB / 0.7767 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006441/0.4346, allocations: 379.2 kB / 0.777 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.4346, allocations: 4.312 kB / 0.777 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4346, allocations: 2.688 kB / 0.777 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.4346, allocations: 2.297 kB / 0.777 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002837/0.4349, allocations: 347.9 kB / 0.7774 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.4349, allocations: 2.312 kB / 0.7774 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001771/0.4351, allocations: 65.3 kB / 0.7774 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4351, allocations: 4.562 kB / 0.7774 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.964e-05/0.4351, allocations: 10.56 kB / 0.7774 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.4351, allocations: 2.188 kB / 0.7775 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.4351, allocations: 2.438 kB / 0.7775 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.4356, allocations: 323.5 kB / 0.7778 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001025/0.4357, allocations: 151.4 kB / 0.7779 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.103e-05/0.4357, allocations: 7.5 kB / 0.7779 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.4359, allocations: 25.75 kB / 0.7779 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.436, allocations: 26.72 kB / 0.778 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.72e-05/0.436, allocations: 16.8 kB / 0.778 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001734/0.4362, allocations: 238.4 kB / 0.7782 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4362, allocations: 0 / 0.7782 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000296/0.4365, allocations: 64.36 kB / 0.7783 GB, free: 13.6 MB / 0.5606 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.0008045/0.4373, allocations: 406 kB / 0.7787 GB, free: 13.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.4377, allocations: 231.2 kB / 0.7789 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4377, allocations: 3.812 kB / 0.7789 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.4379, allocations: 131.5 kB / 0.779 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.4382, allocations: 42.22 kB / 0.779 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007135/0.4389, allocations: 0.5228 MB / 0.7796 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000177/0.4391, allocations: 0.7647 MB / 0.7803 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003199/0.4394, allocations: 146.2 kB / 0.7804 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.359e-05/0.4395, allocations: 43.14 kB / 0.7805 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.4395, allocations: 0 / 0.7805 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.00711/0.4466, allocations: 3.455 MB / 0.7839 GB, free: 12.05 MB / 0.5606 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)