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.004396/0.004396, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001023/0.001023, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.319/1.319, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00208/0.00208, allocations: 282.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.9532/0.9532, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 91.86 kB / 0.6815 GB, free: 15.47 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.149, allocations: 86.97 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002903/0.1519, allocations: 1.885 MB / 0.7682 GB, free: 6.523 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001979/0.1539, allocations: 1.573 MB / 0.7698 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.838e-05/0.154, allocations: 0 / 0.7698 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001969/0.1542, allocations: 31.73 kB / 0.7698 GB, free: 4.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.1545, allocations: 75.59 kB / 0.7699 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003924/0.1549, allocations: 177.6 kB / 0.77 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003017/0.1552, allocations: 281.4 kB / 0.7703 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1553, allocations: 40.8 kB / 0.7704 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 9.528e-05/0.1554, allocations: 91.81 kB / 0.7704 GB, free: 4.262 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002064/0.1556, allocations: 99.7 kB / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.1557, allocations: 23.94 kB / 0.7706 GB, free: 4.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.1558, allocations: 91.89 kB / 0.7706 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.15e-05/0.1559, allocations: 83.8 kB / 0.7707 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.1561, allocations: 123.3 kB / 0.7708 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003711/0.1564, allocations: 330.6 kB / 0.7712 GB, free: 3.523 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1565, allocations: 4 kB / 0.7712 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1565, allocations: 0 / 0.7712 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1565, allocations: 0 / 0.7712 GB, free: 3.52 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.0007336/0.1572, allocations: 0.5613 MB / 0.7717 GB, free: 2.906 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.1572, allocations: 12.03 kB / 0.7717 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.1574, allocations: 36.73 kB / 0.7718 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.1577, allocations: 278.8 kB / 0.772 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.404e-05/0.1577, allocations: 12.38 kB / 0.772 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.129e-05/0.1577, allocations: 24.12 kB / 0.7721 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.1581, allocations: 244.8 kB / 0.7723 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.1581, allocations: 0 / 0.7723 GB, free: 2.258 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.696e-05/0.1582, allocations: 12 kB / 0.7723 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1582, allocations: 4 kB / 0.7723 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.159, allocations: 0.749 MB / 0.773 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00102/0.1601, allocations: 0.6332 MB / 0.7737 GB, free: 0.8047 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000479/0.1605, allocations: 309.9 kB / 0.774 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.1607, allocations: 105.4 kB / 0.7741 GB, free: 400 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.1608, allocations: 20.25 kB / 0.7741 GB, free: 380 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003549/0.1612, allocations: 189.2 kB / 0.7743 GB, free: 180 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 1.713e-06/0.1612, allocations: 0 / 0.7743 GB, free: 180 kB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.3064/0.4676, allocations: 377.2 kB / 0.7746 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.4677, allocations: 133.1 kB / 0.7747 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003088/0.468, allocations: 311.8 kB / 0.775 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.468, allocations: 31.52 kB / 0.7751 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.487e-05/0.4681, allocations: 132.1 kB / 0.7752 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.32e-05/0.4682, allocations: 120.1 kB / 0.7753 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4683, allocations: 69.47 kB / 0.7754 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.659e-05/0.4684, allocations: 335.6 kB / 0.7757 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.4685, allocations: 85.22 kB / 0.7758 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001864/0.4687, allocations: 127.8 kB / 0.7759 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.469, allocations: 217.3 kB / 0.7761 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.469, allocations: 0 / 0.7761 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004149/0.4694, allocations: 286.3 kB / 0.7764 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.4695, allocations: 12.69 kB / 0.7764 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4695, allocations: 1.453 kB / 0.7764 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.4695, allocations: 1.031 kB / 0.7764 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.4697, allocations: 60.31 kB / 0.7765 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.4698, allocations: 1.094 kB / 0.7765 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001518/0.4699, allocations: 26.86 kB / 0.7765 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.458e-05/0.4699, allocations: 13.98 kB / 0.7765 GB, free: 14.36 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.0001217/0.4701, allocations: 163.6 kB / 0.7766 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.4701, allocations: 34.3 kB / 0.7767 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006522/0.4708, allocations: 383.6 kB / 0.777 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.4708, allocations: 4.422 kB / 0.7771 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4708, allocations: 3.344 kB / 0.7771 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.4708, allocations: 3.875 kB / 0.7771 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002869/0.4711, allocations: 348.6 kB / 0.7774 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4711, allocations: 5.297 kB / 0.7774 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.4713, allocations: 60.81 kB / 0.7775 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.4713, allocations: 4.438 kB / 0.7775 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.4713, allocations: 11.83 kB / 0.7775 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4714, allocations: 2.438 kB / 0.7775 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4714, allocations: 0.7812 kB / 0.7775 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.4718, allocations: 325.4 kB / 0.7778 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.4719, allocations: 154.3 kB / 0.7779 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.821e-05/0.472, allocations: 6.531 kB / 0.7779 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001788/0.4721, allocations: 26.61 kB / 0.778 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.4722, allocations: 29.61 kB / 0.778 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.4723, allocations: 17.34 kB / 0.778 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001822/0.4724, allocations: 236.8 kB / 0.7782 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4725, allocations: 0 / 0.7782 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002969/0.4728, allocations: 61.3 kB / 0.7783 GB, free: 13.55 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.0008611/0.4736, allocations: 417 kB / 0.7787 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.000407/0.474, allocations: 230.4 kB / 0.7789 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.474, allocations: 0 / 0.7789 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001984/0.4743, allocations: 131.2 kB / 0.779 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.4745, allocations: 46.59 kB / 0.7791 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007583/0.4753, allocations: 0.5357 MB / 0.7796 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002042/0.4755, allocations: 0.772 MB / 0.7804 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003206/0.4759, allocations: 149.1 kB / 0.7805 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.136e-05/0.4759, allocations: 43.38 kB / 0.7805 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4759, allocations: 0 / 0.7805 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of Templates: time 0.006698/0.4827, allocations: 3.442 MB / 0.7839 GB, free: 12 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)