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.001481/0.001481, allocations: 104.7 kB / 16.37 MB, free: 6.477 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.001764/0.001764, allocations: 195.8 kB / 17.31 MB, free: 5.824 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002125/0.002125, allocations: 278.8 kB / 291.4 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.014/1.014, allocations: 169.2 MB / 0.4989 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 98.22 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1411, allocations: 86.97 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002975/0.1441, allocations: 1.873 MB / 0.6834 GB, free: 5.57 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.1461, allocations: 1.577 MB / 0.685 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.585e-05/0.1461, allocations: 4 kB / 0.685 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001876/0.1463, allocations: 35.7 kB / 0.685 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002447/0.1466, allocations: 71.62 kB / 0.6851 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.147, allocations: 182.6 kB / 0.6853 GB, free: 3.699 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002908/0.1473, allocations: 273.4 kB / 0.6855 GB, free: 3.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1474, allocations: 44.89 kB / 0.6856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.431e-05/0.1475, allocations: 91.77 kB / 0.6857 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002021/0.1477, allocations: 103.7 kB / 0.6858 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.561e-05/0.1478, allocations: 20 kB / 0.6858 GB, free: 3.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.1479, allocations: 83.91 kB / 0.6859 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.148, allocations: 95.72 kB / 0.6859 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001149/0.1481, allocations: 119.3 kB / 0.6861 GB, free: 2.887 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003349/0.1485, allocations: 322.9 kB / 0.6864 GB, free: 2.57 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.1485, allocations: 4 kB / 0.6864 GB, free: 2.566 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1485, allocations: 3.938 kB / 0.6864 GB, free: 2.562 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.1485, allocations: 0 / 0.6864 GB, free: 2.562 MB / 494.1 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.000717/0.1492, allocations: 0.5578 MB / 0.6869 GB, free: 1.957 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.1493, allocations: 8.031 kB / 0.6869 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1494, allocations: 40.56 kB / 0.687 GB, free: 1.91 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.1497, allocations: 270.7 kB / 0.6872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.1498, allocations: 16.38 kB / 0.6872 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.045e-05/0.1498, allocations: 24.11 kB / 0.6873 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.1502, allocations: 240.9 kB / 0.6875 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1502, allocations: 0 / 0.6875 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.1502, allocations: 8 kB / 0.6875 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.1502, allocations: 4 kB / 0.6875 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008606/0.1511, allocations: 0.7451 MB / 0.6882 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2232/0.3743, allocations: 0.6356 MB / 0.6888 GB, free: 18.14 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005423/0.3749, allocations: 309.3 kB / 0.6891 GB, free: 18.12 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.3751, allocations: 109.8 kB / 0.6892 GB, free: 18.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.758e-05/0.3751, allocations: 19.14 kB / 0.6893 GB, free: 18.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003377/0.3755, allocations: 179.4 kB / 0.6894 GB, free: 18.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 2.294e-06/0.3755, allocations: 1.156 kB / 0.6894 GB, free: 18.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006461/0.3761, allocations: 382.2 kB / 0.6898 GB, free: 18.03 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.3762, allocations: 137.5 kB / 0.6899 GB, free: 17.87 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002586/0.3764, allocations: 307.5 kB / 0.6902 GB, free: 17.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.3765, allocations: 32.7 kB / 0.6903 GB, free: 17.74 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.079e-05/0.3765, allocations: 137.7 kB / 0.6904 GB, free: 17.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.207e-05/0.3766, allocations: 113.7 kB / 0.6905 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.896e-05/0.3767, allocations: 67.28 kB / 0.6906 GB, free: 17.59 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 5.235e-05/0.3768, allocations: 337.8 kB / 0.6909 GB, free: 17.28 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.3769, allocations: 80.56 kB / 0.691 GB, free: 17.28 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001778/0.3771, allocations: 129.1 kB / 0.6911 GB, free: 17.24 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003098/0.3774, allocations: 220.6 kB / 0.6913 GB, free: 17.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3774, allocations: 0 / 0.6913 GB, free: 17.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004079/0.3778, allocations: 286.9 kB / 0.6916 GB, free: 17.04 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3779, allocations: 7.234 kB / 0.6916 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3779, allocations: 0 / 0.6916 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3779, allocations: 5.5 kB / 0.6916 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.3781, allocations: 63.94 kB / 0.6916 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.3781, allocations: 3.531 kB / 0.6916 GB, free: 17.04 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001489/0.3783, allocations: 23.27 kB / 0.6917 GB, free: 17.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.724e-05/0.3783, allocations: 15.45 kB / 0.6917 GB, free: 17.02 MB / 494.1 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.0001217/0.3785, allocations: 165.4 kB / 0.6918 GB, free: 16.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.073e-05/0.3785, allocations: 24.38 kB / 0.6919 GB, free: 16.88 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006318/0.3792, allocations: 389.5 kB / 0.6922 GB, free: 16.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3792, allocations: 3.094 kB / 0.6922 GB, free: 16.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3792, allocations: 0 / 0.6922 GB, free: 16.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.3792, allocations: 2.906 kB / 0.6922 GB, free: 16.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002694/0.3795, allocations: 343.8 kB / 0.6926 GB, free: 16.48 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.3795, allocations: 1.25 kB / 0.6926 GB, free: 16.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001794/0.3797, allocations: 61.41 kB / 0.6926 GB, free: 16.47 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.3797, allocations: 2.281 kB / 0.6926 GB, free: 16.47 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.3797, allocations: 15.16 kB / 0.6926 GB, free: 16.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.3797, allocations: 3.656 kB / 0.6926 GB, free: 16.46 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.3797, allocations: 0.5156 kB / 0.6926 GB, free: 16.46 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.3801, allocations: 331.1 kB / 0.693 GB, free: 16.3 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001256/0.3803, allocations: 148.6 kB / 0.6931 GB, free: 16.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.113e-05/0.3803, allocations: 11.03 kB / 0.6931 GB, free: 16.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.3805, allocations: 26.02 kB / 0.6931 GB, free: 16.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.465e-05/0.3806, allocations: 27.95 kB / 0.6932 GB, free: 16.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.939e-05/0.3806, allocations: 16.11 kB / 0.6932 GB, free: 16.16 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001961/0.3808, allocations: 237 kB / 0.6934 GB, free: 16.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3808, allocations: 0 / 0.6934 GB, free: 16.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.3811, allocations: 64 kB / 0.6935 GB, free: 16.02 MB / 494.1 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.0009138/0.3821, allocations: 411.4 kB / 0.6939 GB, free: 15.88 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003916/0.3825, allocations: 231.9 kB / 0.6941 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3825, allocations: 0.875 kB / 0.6941 GB, free: 15.82 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001914/0.3827, allocations: 131.3 kB / 0.6942 GB, free: 15.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.383, allocations: 38.39 kB / 0.6942 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/0.3837, allocations: 0.5271 MB / 0.6948 GB, free: 15.49 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.3839, allocations: 0.7601 MB / 0.6955 GB, free: 14.79 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003157/0.3842, allocations: 150.8 kB / 0.6956 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.178e-05/0.3843, allocations: 41.95 kB / 0.6957 GB, free: 14.75 MB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3843, allocations: 4.688 kB / 0.6957 GB, free: 14.75 MB / 494.1 MB Notification: Performance of Templates: time 0.007154/0.3915, allocations: 3.407 MB / 0.699 GB, free: 14.45 MB / 494.1 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)