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.7562/0.7562, allocations: 143.4 MB / 159.2 MB, free: 4.836 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 183.7 kB / 191.9 MB, free: 5.691 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.457/1.457, allocations: 222.9 MB / 447.3 MB, free: 5.859 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.001345/0.001345, allocations: 107.7 kB / 0.517 GB, free: 3.684 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002128/0.002128, allocations: 294.2 kB / 0.5973 GB, free: 49.35 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001547/0.001547, allocations: 87.86 kB / 0.6886 GB, free: 3.805 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5097/0.5113, allocations: 81.29 MB / 0.768 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.00358/0.5149, allocations: 1.9 MB / 0.7698 GB, free: 25.73 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002511/0.5174, allocations: 1.561 MB / 0.7713 GB, free: 24.16 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001052/0.5176, allocations: 0 / 0.7713 GB, free: 24.16 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002856/0.5179, allocations: 27.84 kB / 0.7714 GB, free: 24.14 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003523/0.5183, allocations: 59.75 kB / 0.7714 GB, free: 24.08 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005505/0.5188, allocations: 152 kB / 0.7716 GB, free: 23.93 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003092/0.5192, allocations: 261.4 kB / 0.7718 GB, free: 23.68 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.5193, allocations: 33.09 kB / 0.7718 GB, free: 23.65 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.5194, allocations: 79.81 kB / 0.7719 GB, free: 23.57 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.5197, allocations: 99.69 kB / 0.772 GB, free: 23.47 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.5198, allocations: 15.94 kB / 0.772 GB, free: 23.46 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.52, allocations: 71.98 kB / 0.7721 GB, free: 23.39 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 9.539e-05/0.5201, allocations: 79.73 kB / 0.7722 GB, free: 23.31 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.5202, allocations: 111.3 kB / 0.7723 GB, free: 23.2 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003405/0.5206, allocations: 303 kB / 0.7726 GB, free: 22.9 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.5206, allocations: 0 / 0.7726 GB, free: 22.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.5206, allocations: 0 / 0.7726 GB, free: 22.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.5206, allocations: 0 / 0.7726 GB, free: 22.9 MB / 458.7 MB 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.0007867/0.5214, allocations: 0.554 MB / 0.7731 GB, free: 22.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5215, allocations: 11.97 kB / 0.7731 GB, free: 22.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001777/0.5216, allocations: 40.5 kB / 0.7732 GB, free: 22.25 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.5219, allocations: 274.7 kB / 0.7734 GB, free: 21.94 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.5219, allocations: 20.16 kB / 0.7734 GB, free: 21.92 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.522, allocations: 20.12 kB / 0.7735 GB, free: 21.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.5224, allocations: 229 kB / 0.7737 GB, free: 21.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5224, allocations: 0 / 0.7737 GB, free: 21.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.881e-05/0.5224, allocations: 4 kB / 0.7737 GB, free: 21.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.5224, allocations: 4 kB / 0.7737 GB, free: 21.65 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/0.5232, allocations: 0.7563 MB / 0.7744 GB, free: 20.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/0.5243, allocations: 0.6293 MB / 0.775 GB, free: 20.21 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004747/0.5248, allocations: 311 kB / 0.7753 GB, free: 19.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.525, allocations: 109.4 kB / 0.7754 GB, free: 19.79 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.525, allocations: 16.25 kB / 0.7755 GB, free: 19.77 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003538/0.5254, allocations: 183.4 kB / 0.7756 GB, free: 19.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=35): time 2.034e-06/0.5254, allocations: 0 / 0.7756 GB, free: 19.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=35): time 0.0006584/0.5261, allocations: 385.4 kB / 0.776 GB, free: 19.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.157e-05/0.5261, allocations: 136.5 kB / 0.7761 GB, free: 19.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002371/0.5263, allocations: 309 kB / 0.7764 GB, free: 18.72 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.407e-05/0.5264, allocations: 29.7 kB / 0.7764 GB, free: 18.69 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.967e-05/0.5265, allocations: 132.7 kB / 0.7766 GB, free: 18.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.133e-05/0.5265, allocations: 122.3 kB / 0.7767 GB, free: 18.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.341e-05/0.5266, allocations: 69.55 kB / 0.7768 GB, free: 18.36 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 5.7e-05/0.5267, allocations: 334.8 kB / 0.7771 GB, free: 18.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/0.5268, allocations: 79.95 kB / 0.7772 GB, free: 17.94 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.527, allocations: 127.4 kB / 0.7773 GB, free: 17.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003082/0.5273, allocations: 218.3 kB / 0.7775 GB, free: 17.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5274, allocations: 3.938 kB / 0.7775 GB, free: 17.59 MB / 458.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004585/0.5278, allocations: 273.2 kB / 0.7777 GB, free: 17.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.5278, allocations: 4 kB / 0.7778 GB, free: 17.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.5279, allocations: 4 kB / 0.7778 GB, free: 17.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.5279, allocations: 7.875 kB / 0.7778 GB, free: 17.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.5281, allocations: 67.89 kB / 0.7778 GB, free: 17.23 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5281, allocations: 0 / 0.7778 GB, free: 17.23 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001699/0.5283, allocations: 31.75 kB / 0.7779 GB, free: 17.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.5284, allocations: 11.98 kB / 0.7779 GB, free: 17.19 MB / 458.7 MB 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.000134/0.5285, allocations: 163.1 kB / 0.778 GB, free: 17.02 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.412e-05/0.5286, allocations: 23.72 kB / 0.778 GB, free: 17 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005561/0.5291, allocations: 392.8 kB / 0.7784 GB, free: 16.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.5291, allocations: 3.938 kB / 0.7784 GB, free: 16.6 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/0.5291, allocations: 8 kB / 0.7784 GB, free: 16.59 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.5292, allocations: 3.984 kB / 0.7784 GB, free: 16.59 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.5294, allocations: 337.3 kB / 0.7788 GB, free: 16.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5294, allocations: 7.922 kB / 0.7788 GB, free: 16.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/0.5296, allocations: 63.91 kB / 0.7788 GB, free: 16.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.5296, allocations: 0 / 0.7788 GB, free: 16.14 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.889e-05/0.5296, allocations: 11.98 kB / 0.7788 GB, free: 16.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.5296, allocations: 7.938 kB / 0.7788 GB, free: 16.12 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5296, allocations: 0 / 0.7788 GB, free: 16.12 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006572/0.5303, allocations: 1.023 MB / 0.7798 GB, free: 15.04 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.5304, allocations: 148.6 kB / 0.78 GB, free: 14.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.653e-05/0.5304, allocations: 8 kB / 0.78 GB, free: 14.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001666/0.5306, allocations: 19.98 kB / 0.78 GB, free: 14.85 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.07e-05/0.5307, allocations: 27.95 kB / 0.78 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.5307, allocations: 12 kB / 0.7801 GB, free: 14.81 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001406/0.5308, allocations: 240.4 kB / 0.7803 GB, free: 14.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5309, allocations: 0 / 0.7803 GB, free: 14.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003735/0.5312, allocations: 64 kB / 0.7803 GB, free: 14.51 MB / 458.7 MB 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.000833/0.5321, allocations: 410 kB / 0.7807 GB, free: 14.25 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0003319/0.5324, allocations: 239.9 kB / 0.781 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5324, allocations: 0 / 0.781 GB, free: 14.02 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001598/0.5326, allocations: 131.8 kB / 0.7811 GB, free: 13.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.5329, allocations: 49.22 kB / 0.7811 GB, free: 13.85 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008159/0.5337, allocations: 0.8378 MB / 0.782 GB, free: 12.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.5339, allocations: 0.777 MB / 0.7827 GB, free: 12.17 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0002949/0.5342, allocations: 146.8 kB / 0.7829 GB, free: 12.02 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.296e-05/0.5343, allocations: 43.42 kB / 0.7829 GB, free: 11.98 MB / 458.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5343, allocations: 3.938 kB / 0.7829 GB, free: 11.98 MB / 458.7 MB Notification: Performance of Templates: time 0.005923/0.5402, allocations: 3.355 MB / 0.7862 GB, free: 8.684 MB / 458.7 MB 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)