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.006777/0.006777, allocations: 108.7 kB / 15.71 MB, free: 5.984 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.001644/0.001644, allocations: 186 kB / 16.64 MB, free: 5.918 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.32/1.32, allocations: 222.9 MB / 240.3 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002121/0.002121, allocations: 294 kB / 290.8 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9136/0.9136, allocations: 169.3 MB / 0.4983 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001642/0.001642, allocations: 91.84 kB / 0.6814 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3887, allocations: 86.98 MB / 0.7663 GB, free: 3.836 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.002824/0.3915, allocations: 1.876 MB / 0.7682 GB, free: 1.953 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001962/0.3935, allocations: 1.585 MB / 0.7697 GB, free: 368 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.94e-05/0.3936, allocations: 4 kB / 0.7697 GB, free: 364 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001914/0.3938, allocations: 31.78 kB / 0.7698 GB, free: 332 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002365/0.394, allocations: 71.55 kB / 0.7698 GB, free: 260 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.3944, allocations: 166.8 kB / 0.77 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002931/0.3947, allocations: 285.4 kB / 0.7703 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.3948, allocations: 32.88 kB / 0.7703 GB, free: 15.79 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 9.161e-05/0.3949, allocations: 95.8 kB / 0.7704 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001986/0.3951, allocations: 107.6 kB / 0.7705 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.3952, allocations: 20 kB / 0.7705 GB, free: 15.57 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.3953, allocations: 87.92 kB / 0.7706 GB, free: 15.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.3954, allocations: 83.8 kB / 0.7707 GB, free: 15.4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001147/0.3956, allocations: 127.2 kB / 0.7708 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003422/0.3959, allocations: 325.6 kB / 0.7711 GB, free: 14.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3959, allocations: 0 / 0.7711 GB, free: 14.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.354e-06/0.3959, allocations: 0 / 0.7711 GB, free: 14.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3959, allocations: 0 / 0.7711 GB, free: 14.96 MB / 0.545 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.0008034/0.3968, allocations: 0.5656 MB / 0.7717 GB, free: 14.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.3968, allocations: 12.03 kB / 0.7717 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.397, allocations: 32.59 kB / 0.7717 GB, free: 14.3 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002941/0.3973, allocations: 278.7 kB / 0.772 GB, free: 13.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.3973, allocations: 12.38 kB / 0.772 GB, free: 13.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.3973, allocations: 24.06 kB / 0.772 GB, free: 13.95 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003779/0.3977, allocations: 240.9 kB / 0.7722 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.3977, allocations: 0 / 0.7722 GB, free: 13.7 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.3978, allocations: 11.98 kB / 0.7722 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3978, allocations: 4 kB / 0.7722 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/0.3986, allocations: 0.7567 MB / 0.773 GB, free: 12.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009627/0.3996, allocations: 0.6292 MB / 0.7736 GB, free: 12.24 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004549/0.4001, allocations: 305.9 kB / 0.7739 GB, free: 11.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.4002, allocations: 113.4 kB / 0.774 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.721e-05/0.4003, allocations: 16.25 kB / 0.774 GB, free: 11.81 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002872/0.4006, allocations: 183.4 kB / 0.7742 GB, free: 11.62 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 1.503e-06/0.4006, allocations: 0 / 0.7742 GB, free: 11.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.0006379/0.4012, allocations: 378.8 kB / 0.7745 GB, free: 11.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.4013, allocations: 136.5 kB / 0.7747 GB, free: 11.08 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002859/0.4016, allocations: 305 kB / 0.775 GB, free: 10.78 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.109e-05/0.4016, allocations: 33.7 kB / 0.775 GB, free: 10.74 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.848e-05/0.4017, allocations: 140.5 kB / 0.7751 GB, free: 10.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.4018, allocations: 122.3 kB / 0.7753 GB, free: 10.48 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.497e-05/0.4019, allocations: 61.69 kB / 0.7753 GB, free: 10.41 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.4021, allocations: 346.8 kB / 0.7756 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.4022, allocations: 83.81 kB / 0.7757 GB, free: 9.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001842/0.4024, allocations: 125.8 kB / 0.7758 GB, free: 9.848 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.4027, allocations: 217 kB / 0.776 GB, free: 9.633 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4027, allocations: 0 / 0.776 GB, free: 9.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004164/0.4031, allocations: 285.2 kB / 0.7763 GB, free: 9.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.4032, allocations: 4 kB / 0.7763 GB, free: 9.344 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4032, allocations: 3.938 kB / 0.7763 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.055e-05/0.4032, allocations: 0 / 0.7763 GB, free: 9.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002072/0.4034, allocations: 63.91 kB / 0.7764 GB, free: 9.277 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.4034, allocations: 4 kB / 0.7764 GB, free: 9.273 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001429/0.4036, allocations: 23.83 kB / 0.7764 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.261e-05/0.4036, allocations: 8 kB / 0.7764 GB, free: 9.242 MB / 0.545 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.0001489/0.4037, allocations: 172.1 kB / 0.7766 GB, free: 9.066 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.289e-05/0.4038, allocations: 31.62 kB / 0.7766 GB, free: 9.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006389/0.4044, allocations: 388.7 kB / 0.777 GB, free: 8.645 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4045, allocations: 7.938 kB / 0.777 GB, free: 8.637 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4045, allocations: 7.938 kB / 0.777 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4045, allocations: 0 / 0.777 GB, free: 8.629 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002959/0.4048, allocations: 349.2 kB / 0.7773 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4048, allocations: 0 / 0.7773 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001673/0.405, allocations: 55.97 kB / 0.7774 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.405, allocations: 0 / 0.7774 GB, free: 8.184 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.405, allocations: 15.88 kB / 0.7774 GB, free: 8.168 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.405, allocations: 7.984 kB / 0.7774 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.405, allocations: 0 / 0.7774 GB, free: 8.16 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004338/0.4054, allocations: 321.6 kB / 0.7777 GB, free: 7.828 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.4056, allocations: 144.7 kB / 0.7779 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.915e-05/0.4056, allocations: 11.92 kB / 0.7779 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.4058, allocations: 19.98 kB / 0.7779 GB, free: 7.637 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.4059, allocations: 23.97 kB / 0.7779 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.4059, allocations: 19.98 kB / 0.7779 GB, free: 7.594 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000192/0.4061, allocations: 240.4 kB / 0.7782 GB, free: 7.359 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4061, allocations: 0 / 0.7782 GB, free: 7.359 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002838/0.4064, allocations: 63.94 kB / 0.7782 GB, free: 7.297 MB / 0.545 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.0008322/0.4072, allocations: 408.2 kB / 0.7786 GB, free: 7.039 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000374/0.4076, allocations: 232.1 kB / 0.7788 GB, free: 6.812 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.4076, allocations: 4 kB / 0.7788 GB, free: 6.809 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001819/0.4078, allocations: 135.7 kB / 0.779 GB, free: 6.676 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.4081, allocations: 52.14 kB / 0.779 GB, free: 6.629 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007318/0.4088, allocations: 0.5173 MB / 0.7795 GB, free: 6.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.4091, allocations: 0.7691 MB / 0.7803 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003035/0.4095, allocations: 150.8 kB / 0.7804 GB, free: 5.141 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.276e-05/0.4095, allocations: 39.42 kB / 0.7804 GB, free: 5.102 MB / 0.545 GB Notification: Performance of SimCode: time 2.3e-07/0.4095, allocations: 0 / 0.7804 GB, free: 5.102 MB / 0.545 GB Notification: Performance of Templates: time 0.006341/0.4159, allocations: 3.386 MB / 0.7838 GB, free: 1.781 MB / 0.545 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)