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.007784/0.007784, allocations: 100.5 kB / 15.73 MB, free: 5.582 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.001638/0.001638, allocations: 195.9 kB / 16.67 MB, free: 5.523 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.537/1.537, allocations: 205.1 MB / 222.5 MB, free: 12.25 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.4808/0.4808, allocations: 95.47 MB / 365.4 MB, free: 12.17 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.00157/0.00157, allocations: 75.89 kB / 0.5036 GB, free: 11.84 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3887/0.3903, allocations: 69.1 MB / 0.5711 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckCeilingHeight): time 0.002921/0.3932, allocations: 1.566 MB / 0.5726 GB, free: 2.566 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001932/0.3952, allocations: 1.279 MB / 0.5739 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.037e-05/0.3953, allocations: 0 / 0.5739 GB, free: 1.281 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002331/0.3955, allocations: 23.83 kB / 0.5739 GB, free: 1.258 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.0002189/0.3958, allocations: 43.78 kB / 0.5739 GB, free: 1.215 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003819/0.3962, allocations: 147 kB / 0.5741 GB, free: 1.074 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002634/0.3964, allocations: 209.7 kB / 0.5743 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3965, allocations: 19.38 kB / 0.5743 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.364e-05/0.3966, allocations: 67.89 kB / 0.5744 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.3968, allocations: 79.72 kB / 0.5744 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.953e-05/0.3968, allocations: 16 kB / 0.5745 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002515/0.3971, allocations: 163.8 kB / 0.5746 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000111/0.3972, allocations: 67.83 kB / 0.5747 GB, free: 480 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.433e-05/0.3973, allocations: 95.39 kB / 0.5748 GB, free: 384 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.3977, allocations: 303.1 kB / 0.5751 GB, free: 80 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3977, allocations: 4 kB / 0.5751 GB, free: 76 kB / 430.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.3977, allocations: 4 kB / 0.5751 GB, free: 72 kB / 430.1 MB Notification: Performance of Transformations before backend: time 1.047e-05/0.3977, allocations: 0 / 0.5751 GB, free: 72 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.0008554/0.3986, allocations: 0.5377 MB / 0.5756 GB, free: 15.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3986, allocations: 15.98 kB / 0.5756 GB, free: 15.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.65e-05/0.3987, allocations: 24.66 kB / 0.5756 GB, free: 15.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.399, allocations: 259.4 kB / 0.5759 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.138e-05/0.3991, allocations: 19.98 kB / 0.5759 GB, free: 15.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.3991, allocations: 12 kB / 0.5759 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.3994, allocations: 194.9 kB / 0.5761 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.3995, allocations: 4 kB / 0.5761 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.761e-05/0.3995, allocations: 4 kB / 0.5761 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.047e-06/0.3995, allocations: 4 kB / 0.5761 GB, free: 14.9 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008527/0.4004, allocations: 0.7256 MB / 0.5768 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007675/0.4012, allocations: 0.5396 MB / 0.5773 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004745/0.4016, allocations: 304.6 kB / 0.5776 GB, free: 13.28 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.4018, allocations: 101.4 kB / 0.5777 GB, free: 13.18 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005581/0.4024, allocations: 0.6573 MB / 0.5784 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003619/0.4027, allocations: 164.9 kB / 0.5785 GB, free: 12.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.4027, allocations: 4 kB / 0.5785 GB, free: 12.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006406/0.4034, allocations: 365.6 kB / 0.5789 GB, free: 11.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.4035, allocations: 85.05 kB / 0.579 GB, free: 11.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.4038, allocations: 287.7 kB / 0.5792 GB, free: 11.44 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.304e-05/0.4038, allocations: 33.7 kB / 0.5793 GB, free: 11.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.4039, allocations: 116.8 kB / 0.5794 GB, free: 11.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.388e-05/0.404, allocations: 118.3 kB / 0.5795 GB, free: 11.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.067e-05/0.4041, allocations: 61.69 kB / 0.5796 GB, free: 11.09 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4042, allocations: 338.8 kB / 0.5799 GB, free: 10.75 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.4044, allocations: 79.95 kB / 0.58 GB, free: 10.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001559/0.4045, allocations: 109.8 kB / 0.5801 GB, free: 10.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.4048, allocations: 234.9 kB / 0.5803 GB, free: 10.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.113e-06/0.4049, allocations: 0 / 0.5803 GB, free: 10.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004505/0.4053, allocations: 306.7 kB / 0.5806 GB, free: 10.01 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.458e-05/0.4054, allocations: 33.64 kB / 0.5806 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.4054, allocations: 4 kB / 0.5806 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.4054, allocations: 7.969 kB / 0.5806 GB, free: 9.961 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002053/0.4056, allocations: 59.91 kB / 0.5807 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.4056, allocations: 7.984 kB / 0.5807 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.436e-05/0.4057, allocations: 15.84 kB / 0.5807 GB, free: 9.879 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.548e-05/0.4057, allocations: 11.98 kB / 0.5807 GB, free: 9.867 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.0001535/0.4059, allocations: 162.4 kB / 0.5809 GB, free: 9.699 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.703e-05/0.406, allocations: 31.59 kB / 0.5809 GB, free: 9.668 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005265/0.4065, allocations: 312 kB / 0.5812 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.4065, allocations: 4 kB / 0.5812 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.4065, allocations: 0 / 0.5812 GB, free: 9.355 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.4065, allocations: 3.984 kB / 0.5812 GB, free: 9.352 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002941/0.4068, allocations: 313.3 kB / 0.5815 GB, free: 8.996 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.4068, allocations: 3.984 kB / 0.5815 GB, free: 8.992 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.407, allocations: 63.91 kB / 0.5816 GB, free: 8.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.407, allocations: 7.938 kB / 0.5816 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.859e-05/0.407, allocations: 12 kB / 0.5816 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/0.4071, allocations: 0 / 0.5816 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.4071, allocations: 4 kB / 0.5816 GB, free: 8.906 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000467/0.4075, allocations: 317.9 kB / 0.5819 GB, free: 8.578 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.4077, allocations: 140.7 kB / 0.582 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.4077, allocations: 11.94 kB / 0.582 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.888e-05/0.4078, allocations: 11.98 kB / 0.582 GB, free: 8.398 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.232e-05/0.4079, allocations: 23.97 kB / 0.5821 GB, free: 8.375 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.4079, allocations: 12 kB / 0.5821 GB, free: 8.363 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001924/0.4081, allocations: 232.1 kB / 0.5823 GB, free: 8.137 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4081, allocations: 0 / 0.5823 GB, free: 8.137 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002836/0.4084, allocations: 60 kB / 0.5824 GB, free: 8.078 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.0009277/0.4093, allocations: 409.3 kB / 0.5828 GB, free: 7.812 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004178/0.4098, allocations: 275.4 kB / 0.583 GB, free: 7.531 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4098, allocations: 0 / 0.583 GB, free: 7.531 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001884/0.41, allocations: 131.8 kB / 0.5831 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002507/0.4102, allocations: 35.16 kB / 0.5832 GB, free: 7.371 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007884/0.411, allocations: 496.4 kB / 0.5836 GB, free: 6.863 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.4114, allocations: 0.7574 MB / 0.5844 GB, free: 6.074 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002904/0.4117, allocations: 142.9 kB / 0.5845 GB, free: 5.934 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.631e-05/0.4117, allocations: 39.42 kB / 0.5846 GB, free: 5.895 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4117, allocations: 0 / 0.5846 GB, free: 5.895 MB / 446.1 MB Notification: Performance of Templates: time 0.006231/0.418, allocations: 2.723 MB / 0.5872 GB, free: 3.188 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)