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.001153/0.001153, allocations: 103.4 kB / 16.27 MB, free: 5.965 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.001187/0.001187, allocations: 189.9 kB / 17.2 MB, free: 5.59 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.366/1.366, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002255/0.002255, allocations: 280.7 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9466/0.9466, allocations: 169.2 MB / 0.4988 GB, free: 4.512 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 92.84 kB / 0.5959 GB, free: 15.15 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1718, allocations: 86.98 MB / 0.6808 GB, free: 8.184 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003758/0.1756, allocations: 1.869 MB / 0.6827 GB, free: 6.297 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002581/0.1782, allocations: 1.577 MB / 0.6842 GB, free: 4.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001355/0.1784, allocations: 8 kB / 0.6842 GB, free: 4.703 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002637/0.1786, allocations: 19.8 kB / 0.6842 GB, free: 4.684 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.1791, allocations: 75.55 kB / 0.6843 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005345/0.1796, allocations: 178.5 kB / 0.6845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003704/0.18, allocations: 269.4 kB / 0.6847 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001586/0.1802, allocations: 41.03 kB / 0.6848 GB, free: 4.133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.1803, allocations: 95.75 kB / 0.6849 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.1807, allocations: 111.6 kB / 0.685 GB, free: 3.93 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.504e-05/0.1807, allocations: 20 kB / 0.685 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.181, allocations: 79.97 kB / 0.6851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.1812, allocations: 87.8 kB / 0.6852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.1813, allocations: 131.2 kB / 0.6853 GB, free: 3.617 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005329/0.1819, allocations: 319 kB / 0.6856 GB, free: 3.305 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1819, allocations: 0 / 0.6856 GB, free: 3.305 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.1819, allocations: 4 kB / 0.6856 GB, free: 3.301 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1819, allocations: 0 / 0.6856 GB, free: 3.301 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.001018/0.1829, allocations: 0.5514 MB / 0.6861 GB, free: 2.703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.183, allocations: 8.031 kB / 0.6861 GB, free: 2.695 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002024/0.1832, allocations: 36.55 kB / 0.6862 GB, free: 2.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003273/0.1835, allocations: 274.7 kB / 0.6864 GB, free: 2.355 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/0.1836, allocations: 16.38 kB / 0.6864 GB, free: 2.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.1836, allocations: 20.12 kB / 0.6865 GB, free: 2.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004074/0.184, allocations: 244.9 kB / 0.6867 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.184, allocations: 3.938 kB / 0.6867 GB, free: 2.059 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.1841, allocations: 4 kB / 0.6867 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.1841, allocations: 8 kB / 0.6867 GB, free: 2.047 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008679/0.185, allocations: 0.7412 MB / 0.6874 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.1861, allocations: 0.6409 MB / 0.6881 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000491/0.1866, allocations: 302 kB / 0.6884 GB, free: 316 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001767/0.1868, allocations: 113.4 kB / 0.6885 GB, free: 200 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.1868, allocations: 24.19 kB / 0.6885 GB, free: 176 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2834/0.4702, allocations: 181.2 kB / 0.6887 GB, free: 18.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=35): time 4.849e-06/0.4702, allocations: 0 / 0.6887 GB, free: 18.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=35): time 0.0009307/0.4712, allocations: 375.2 kB / 0.689 GB, free: 18.3 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.4712, allocations: 134 kB / 0.6891 GB, free: 18.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003505/0.4716, allocations: 309.2 kB / 0.6894 GB, free: 18.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.4716, allocations: 34.48 kB / 0.6895 GB, free: 18.01 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.739e-05/0.4717, allocations: 135 kB / 0.6896 GB, free: 17.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.629e-05/0.4718, allocations: 115.2 kB / 0.6897 GB, free: 17.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.572e-05/0.4719, allocations: 65.95 kB / 0.6898 GB, free: 17.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 6.345e-05/0.472, allocations: 339.9 kB / 0.6901 GB, free: 17.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.4721, allocations: 82.12 kB / 0.6902 GB, free: 17.56 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.4723, allocations: 132.5 kB / 0.6903 GB, free: 17.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.4726, allocations: 209.9 kB / 0.6905 GB, free: 17.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4726, allocations: 0.7812 kB / 0.6905 GB, free: 17.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004418/0.4731, allocations: 293.3 kB / 0.6908 GB, free: 17.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.4731, allocations: 9.469 kB / 0.6908 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.4731, allocations: 0.875 kB / 0.6908 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.4731, allocations: 0.875 kB / 0.6908 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.4734, allocations: 63.27 kB / 0.6909 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.053e-05/0.4734, allocations: 1.625 kB / 0.6909 GB, free: 17.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001567/0.4736, allocations: 30.47 kB / 0.6909 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.565e-05/0.4736, allocations: 11.66 kB / 0.6909 GB, free: 17.45 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.0001337/0.4737, allocations: 163.5 kB / 0.691 GB, free: 17.34 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.34e-05/0.4738, allocations: 29.16 kB / 0.6911 GB, free: 17.32 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006605/0.4745, allocations: 387.7 kB / 0.6914 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.4745, allocations: 6.984 kB / 0.6915 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4745, allocations: 1.25 kB / 0.6915 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.4745, allocations: 1.922 kB / 0.6915 GB, free: 17.18 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.4748, allocations: 351.7 kB / 0.6918 GB, free: 16.92 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4749, allocations: 1.156 kB / 0.6918 GB, free: 16.92 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.475, allocations: 58.56 kB / 0.6918 GB, free: 16.92 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.475, allocations: 1.844 kB / 0.6919 GB, free: 16.92 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.348e-05/0.4751, allocations: 14.31 kB / 0.6919 GB, free: 16.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.4751, allocations: 1.75 kB / 0.6919 GB, free: 16.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.4751, allocations: 0.6562 kB / 0.6919 GB, free: 16.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004611/0.4756, allocations: 334.2 kB / 0.6922 GB, free: 16.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.4757, allocations: 151.2 kB / 0.6923 GB, free: 16.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.179e-05/0.4757, allocations: 7.625 kB / 0.6923 GB, free: 16.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000185/0.4759, allocations: 29.7 kB / 0.6924 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.832e-05/0.476, allocations: 21.19 kB / 0.6924 GB, free: 16.61 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.476, allocations: 16.41 kB / 0.6924 GB, free: 16.61 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002015/0.4762, allocations: 237 kB / 0.6926 GB, free: 16.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4763, allocations: 2.469 kB / 0.6926 GB, free: 16.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002983/0.4766, allocations: 65.19 kB / 0.6927 GB, free: 16.47 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.0008696/0.4774, allocations: 407 kB / 0.6931 GB, free: 16.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005524/0.478, allocations: 303 kB / 0.6934 GB, free: 16.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.478, allocations: 5.312 kB / 0.6934 GB, free: 16.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.4782, allocations: 130.9 kB / 0.6935 GB, free: 16.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.4785, allocations: 49.83 kB / 0.6935 GB, free: 16.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008122/0.4793, allocations: 0.564 MB / 0.6941 GB, free: 15.86 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.4796, allocations: 0.7615 MB / 0.6948 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001069/0.4797, allocations: 52.09 kB / 0.6949 GB, free: 15.15 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4797, allocations: 0 / 0.6949 GB, free: 15.15 MB / 494.1 MB Notification: Performance of Templates: time 0.009055/0.4888, allocations: 4.485 MB / 0.6993 GB, free: 14.63 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)