Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007923/0.007923, allocations: 98.11 kB / 15.73 MB, free: 6.055 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.001576/0.001576, allocations: 193.5 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.536/1.536, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4755/0.4755, allocations: 95.49 MB / 365.4 MB, free: 12.15 MB / 318.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002198/0.002198, allocations: 68.47 kB / 0.5036 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4689/0.4711, allocations: 69.09 MB / 0.5711 GB, free: 4.129 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight): time 0.004132/0.4754, allocations: 1.57 MB / 0.5726 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002274/0.4777, allocations: 1.272 MB / 0.5739 GB, free: 1.27 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.4778, allocations: 4 kB / 0.5739 GB, free: 1.266 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002838/0.4782, allocations: 27.84 kB / 0.5739 GB, free: 1.238 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0003099/0.4785, allocations: 47.77 kB / 0.574 GB, free: 1.191 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005499/0.479, allocations: 141.5 kB / 0.5741 GB, free: 1.055 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003275/0.4794, allocations: 205.7 kB / 0.5743 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.4795, allocations: 19.98 kB / 0.5743 GB, free: 0.8359 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001691/0.4797, allocations: 67.89 kB / 0.5744 GB, free: 0.7695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002734/0.48, allocations: 83.66 kB / 0.5744 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.131e-05/0.4801, allocations: 16 kB / 0.5745 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004054/0.4805, allocations: 155.9 kB / 0.5746 GB, free: 0.5195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.4806, allocations: 71.81 kB / 0.5747 GB, free: 460 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001184/0.4807, allocations: 95.39 kB / 0.5748 GB, free: 364 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.4814, allocations: 303.5 kB / 0.5751 GB, free: 68 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4814, allocations: 0 / 0.5751 GB, free: 68 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4814, allocations: 0 / 0.5751 GB, free: 68 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.4814, allocations: 0 / 0.5751 GB, free: 68 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001081/0.4825, allocations: 0.5661 MB / 0.5756 GB, free: 15.44 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.4825, allocations: 11.98 kB / 0.5756 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.4827, allocations: 24.8 kB / 0.5756 GB, free: 15.41 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004144/0.4831, allocations: 263.5 kB / 0.5759 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.4831, allocations: 8 kB / 0.5759 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.4831, allocations: 16 kB / 0.5759 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.4836, allocations: 198.9 kB / 0.5761 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.4836, allocations: 3.984 kB / 0.5761 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.629e-05/0.4836, allocations: 8 kB / 0.5761 GB, free: 14.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.4836, allocations: 4 kB / 0.5761 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000894/0.4845, allocations: 0.7256 MB / 0.5768 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008599/0.4854, allocations: 0.5397 MB / 0.5774 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004943/0.4859, allocations: 296.7 kB / 0.5776 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.4861, allocations: 105.4 kB / 0.5777 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006984/0.4868, allocations: 0.6495 MB / 0.5784 GB, free: 12.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003953/0.4872, allocations: 172.9 kB / 0.5785 GB, free: 12.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 4.068e-06/0.4872, allocations: 0 / 0.5785 GB, free: 12.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.000727/0.488, allocations: 365.7 kB / 0.5789 GB, free: 11.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/0.4881, allocations: 89.05 kB / 0.579 GB, free: 11.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003386/0.4884, allocations: 291.7 kB / 0.5793 GB, free: 11.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.4884, allocations: 29.7 kB / 0.5793 GB, free: 11.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.735e-05/0.4885, allocations: 120.7 kB / 0.5794 GB, free: 11.24 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001145/0.4887, allocations: 119 kB / 0.5795 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.4888, allocations: 61.7 kB / 0.5796 GB, free: 11.05 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002737/0.4891, allocations: 330.8 kB / 0.5799 GB, free: 10.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002475/0.4893, allocations: 79.95 kB / 0.58 GB, free: 10.64 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001773/0.4895, allocations: 117.8 kB / 0.5801 GB, free: 10.52 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.49, allocations: 234.9 kB / 0.5803 GB, free: 10.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.49, allocations: 0 / 0.5803 GB, free: 10.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005185/0.4905, allocations: 306.8 kB / 0.5806 GB, free: 9.973 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.909e-05/0.4906, allocations: 41.62 kB / 0.5806 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4906, allocations: 0 / 0.5806 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.335e-05/0.4906, allocations: 7.984 kB / 0.5806 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.4908, allocations: 59.84 kB / 0.5807 GB, free: 9.859 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4908, allocations: 3.938 kB / 0.5807 GB, free: 9.855 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001138/0.491, allocations: 23.92 kB / 0.5807 GB, free: 9.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.491, allocations: 12 kB / 0.5807 GB, free: 9.82 MB / 446.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.tStart,$PRE.conTim.tStart,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0001847/0.4912, allocations: 162.4 kB / 0.5809 GB, free: 9.652 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.365e-05/0.4913, allocations: 27.75 kB / 0.5809 GB, free: 9.625 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005461/0.4918, allocations: 312.1 kB / 0.5812 GB, free: 9.316 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.4918, allocations: 4 kB / 0.5812 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.4918, allocations: 0 / 0.5812 GB, free: 9.312 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.4919, allocations: 3.938 kB / 0.5812 GB, free: 9.309 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003427/0.4922, allocations: 317.4 kB / 0.5815 GB, free: 8.949 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.4922, allocations: 3.984 kB / 0.5815 GB, free: 8.945 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.4924, allocations: 47.98 kB / 0.5816 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.4924, allocations: 7.938 kB / 0.5816 GB, free: 8.891 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.225e-05/0.4924, allocations: 11.98 kB / 0.5816 GB, free: 8.879 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.4924, allocations: 4 kB / 0.5816 GB, free: 8.875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.4925, allocations: 11.92 kB / 0.5816 GB, free: 8.863 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005091/0.493, allocations: 318.1 kB / 0.5819 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.4931, allocations: 140.8 kB / 0.582 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.44e-05/0.4932, allocations: 11.94 kB / 0.5821 GB, free: 8.367 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.4932, allocations: 7.984 kB / 0.5821 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.929e-05/0.4933, allocations: 23.97 kB / 0.5821 GB, free: 8.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.928e-05/0.4933, allocations: 12 kB / 0.5821 GB, free: 8.324 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.4935, allocations: 228.1 kB / 0.5823 GB, free: 8.102 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.4936, allocations: 4 kB / 0.5823 GB, free: 8.098 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003155/0.4939, allocations: 67.86 kB / 0.5824 GB, free: 8.031 MB / 446.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.tStart) * Number of discrete states: 1 (conTim.tStart) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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.001042/0.4949, allocations: 417.1 kB / 0.5828 GB, free: 7.762 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004822/0.4954, allocations: 271.4 kB / 0.583 GB, free: 7.484 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.4954, allocations: 0 / 0.583 GB, free: 7.484 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001995/0.4956, allocations: 131.8 kB / 0.5832 GB, free: 7.355 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.4959, allocations: 38.83 kB / 0.5832 GB, free: 7.324 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009247/0.4969, allocations: 499.7 kB / 0.5837 GB, free: 6.812 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003862/0.4973, allocations: 0.7613 MB / 0.5844 GB, free: 6.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.4976, allocations: 142.9 kB / 0.5846 GB, free: 5.879 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.679e-05/0.4977, allocations: 39.42 kB / 0.5846 GB, free: 5.84 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4977, allocations: 0 / 0.5846 GB, free: 5.84 MB / 446.1 MB Notification: Performance of Templates: time 0.009828/0.5076, allocations: 2.72 MB / 0.5873 GB, free: 3.133 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight.pipe 2>&1)