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.0016/0.0016, allocations: 110.5 kB / 16.41 MB, free: 6.516 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.001697/0.001697, allocations: 181.2 kB / 17.34 MB, free: 5.738 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.522/1.522, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002488/0.002488, allocations: 294.5 kB / 291.5 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 1.034/1.034, allocations: 169.2 MB / 0.499 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 99.83 kB / 0.6821 GB, free: 6.977 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4693/0.4721, allocations: 86.98 MB / 0.7671 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature): time 0.003539/0.4756, allocations: 1.873 MB / 0.7689 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002613/0.4783, allocations: 1.585 MB / 0.7704 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.829e-05/0.4784, allocations: 0 / 0.7704 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002623/0.4786, allocations: 27.78 kB / 0.7705 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.479, allocations: 79.55 kB / 0.7705 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.4794, allocations: 168.2 kB / 0.7707 GB, free: 356 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0003682/0.4798, allocations: 289.3 kB / 0.771 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.4799, allocations: 28.52 kB / 0.771 GB, free: 44 kB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001342/0.4801, allocations: 103.8 kB / 0.7711 GB, free: 15.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002575/0.4803, allocations: 103.6 kB / 0.7712 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.581e-05/0.4804, allocations: 23.98 kB / 0.7712 GB, free: 15.82 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.4805, allocations: 83.97 kB / 0.7713 GB, free: 15.73 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.4807, allocations: 91.73 kB / 0.7714 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001343/0.4808, allocations: 119.3 kB / 0.7715 GB, free: 15.53 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004418/0.4812, allocations: 325 kB / 0.7718 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.4812, allocations: 3.938 kB / 0.7718 GB, free: 15.21 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4812, allocations: 4 kB / 0.7718 GB, free: 15.2 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.4812, allocations: 0 / 0.7718 GB, free: 15.2 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.0009349/0.4822, allocations: 0.5652 MB / 0.7724 GB, free: 14.59 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.4822, allocations: 8.031 kB / 0.7724 GB, free: 14.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001706/0.4824, allocations: 36.75 kB / 0.7724 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.4827, allocations: 278.8 kB / 0.7727 GB, free: 14.23 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.4828, allocations: 16.38 kB / 0.7727 GB, free: 14.22 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.286e-05/0.4828, allocations: 24.12 kB / 0.7727 GB, free: 14.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004253/0.4832, allocations: 240.9 kB / 0.773 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.4832, allocations: 0 / 0.773 GB, free: 13.94 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.4833, allocations: 8 kB / 0.773 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.4833, allocations: 4 kB / 0.773 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000979/0.4843, allocations: 0.7567 MB / 0.7737 GB, free: 13.17 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001171/0.4854, allocations: 0.6294 MB / 0.7743 GB, free: 12.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005576/0.486, allocations: 285.9 kB / 0.7746 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.4862, allocations: 101.4 kB / 0.7747 GB, free: 12.1 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.68e-05/0.4862, allocations: 16.25 kB / 0.7747 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004506/0.4867, allocations: 195.4 kB / 0.7749 GB, free: 11.88 MB / 0.545 GB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.4867, allocations: 3.938 kB / 0.7749 GB, free: 11.88 MB / 0.545 GB Notification: Performance of matching and sorting (n=35): time 0.0007445/0.4874, allocations: 370.9 kB / 0.7753 GB, free: 11.51 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.4875, allocations: 140.5 kB / 0.7754 GB, free: 11.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003467/0.4879, allocations: 309 kB / 0.7757 GB, free: 11.04 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.533e-05/0.4879, allocations: 29.7 kB / 0.7757 GB, free: 11 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.488, allocations: 140.6 kB / 0.7758 GB, free: 10.86 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000133/0.4881, allocations: 126.9 kB / 0.776 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.4882, allocations: 65.69 kB / 0.776 GB, free: 10.67 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.4884, allocations: 342.8 kB / 0.7764 GB, free: 10.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.4886, allocations: 83.81 kB / 0.7764 GB, free: 10.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.4888, allocations: 125.8 kB / 0.7766 GB, free: 10.11 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.4891, allocations: 221 kB / 0.7768 GB, free: 9.891 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4891, allocations: 0 / 0.7768 GB, free: 9.891 MB / 0.545 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004793/0.4896, allocations: 277.3 kB / 0.777 GB, free: 9.613 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.4896, allocations: 7.938 kB / 0.777 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4897, allocations: 7.938 kB / 0.777 GB, free: 9.598 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.793e-05/0.4897, allocations: 4 kB / 0.777 GB, free: 9.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.4899, allocations: 63.91 kB / 0.7771 GB, free: 9.531 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.4899, allocations: 3.984 kB / 0.7771 GB, free: 9.527 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.4901, allocations: 23.89 kB / 0.7771 GB, free: 9.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.951e-05/0.4901, allocations: 15.98 kB / 0.7772 GB, free: 9.488 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.0001921/0.4903, allocations: 164.1 kB / 0.7773 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.033e-05/0.4904, allocations: 27.81 kB / 0.7773 GB, free: 9.293 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007284/0.4911, allocations: 396.7 kB / 0.7777 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4911, allocations: 0 / 0.7777 GB, free: 8.895 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4911, allocations: 12 kB / 0.7777 GB, free: 8.883 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.4911, allocations: 3.984 kB / 0.7777 GB, free: 8.879 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003901/0.4915, allocations: 345.3 kB / 0.7781 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4915, allocations: 0 / 0.7781 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.4917, allocations: 55.91 kB / 0.7781 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.582e-06/0.4917, allocations: 4 kB / 0.7781 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.4917, allocations: 15.92 kB / 0.7781 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4917, allocations: 0 / 0.7781 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.4917, allocations: 0 / 0.7781 GB, free: 8.418 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005084/0.4922, allocations: 325.9 kB / 0.7784 GB, free: 8.082 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.4924, allocations: 144.8 kB / 0.7786 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.329e-05/0.4925, allocations: 11.94 kB / 0.7786 GB, free: 7.91 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001891/0.4926, allocations: 31.91 kB / 0.7786 GB, free: 7.879 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.4927, allocations: 19.97 kB / 0.7786 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.009e-05/0.4927, allocations: 15.98 kB / 0.7787 GB, free: 7.844 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0002296/0.493, allocations: 236.5 kB / 0.7789 GB, free: 7.613 MB / 0.545 GB Notification: Performance of sort global known variables: time 7.1e-08/0.493, allocations: 0 / 0.7789 GB, free: 7.613 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003189/0.4933, allocations: 71.92 kB / 0.7789 GB, free: 7.543 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.00142/0.4947, allocations: 409.2 kB / 0.7793 GB, free: 7.285 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000454/0.4952, allocations: 224.1 kB / 0.7796 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4952, allocations: 0 / 0.7796 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002052/0.4954, allocations: 127.7 kB / 0.7797 GB, free: 6.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.4957, allocations: 42.42 kB / 0.7797 GB, free: 6.906 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009354/0.4966, allocations: 0.5289 MB / 0.7802 GB, free: 6.344 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004589/0.4971, allocations: 0.7769 MB / 0.781 GB, free: 5.543 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003427/0.4974, allocations: 134.9 kB / 0.7811 GB, free: 5.414 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.4975, allocations: 47.41 kB / 0.7812 GB, free: 5.367 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.4975, allocations: 0 / 0.7812 GB, free: 5.367 MB / 0.545 GB Notification: Performance of Templates: time 0.008314/0.5058, allocations: 3.455 MB / 0.7845 GB, free: 1.973 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckTemperature.pipe 2>&1)