Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01209/0.01209, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001885/0.001885, allocations: 192.2 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.614/1.614, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.4797/0.4797, allocations: 95.46 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.001808/0.001808, allocations: 67.91 kB / 0.5036 GB, free: 11.86 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.4398, allocations: 69.1 MB / 0.5711 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed): time 0.002736/0.4425, allocations: 1.562 MB / 0.5726 GB, free: 2.582 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.4444, allocations: 1.279 MB / 0.5739 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.395e-05/0.4445, allocations: 0 / 0.5739 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002321/0.4447, allocations: 19.86 kB / 0.5739 GB, free: 1.277 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.0002145/0.4449, allocations: 47.77 kB / 0.5739 GB, free: 1.23 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003839/0.4453, allocations: 151.3 kB / 0.5741 GB, free: 1.086 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002944/0.4456, allocations: 213.7 kB / 0.5743 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.4458, allocations: 19.36 kB / 0.5743 GB, free: 0.8633 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.1e-05/0.4459, allocations: 59.89 kB / 0.5744 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001638/0.446, allocations: 79.78 kB / 0.5744 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.5e-05/0.4461, allocations: 20 kB / 0.5745 GB, free: 0.707 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.4463, allocations: 159.8 kB / 0.5746 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.4464, allocations: 75.81 kB / 0.5747 GB, free: 488 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 9.539e-05/0.4465, allocations: 87.41 kB / 0.5748 GB, free: 400 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.4469, allocations: 303.1 kB / 0.5751 GB, free: 96 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4469, allocations: 0 / 0.5751 GB, free: 96 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4469, allocations: 0 / 0.5751 GB, free: 96 kB / 430.1 MB Notification: Performance of Transformations before backend: time 7.234e-06/0.4469, allocations: 0 / 0.5751 GB, free: 96 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.000783/0.4477, allocations: 0.5494 MB / 0.5756 GB, free: 15.49 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.4478, allocations: 15.98 kB / 0.5756 GB, free: 15.48 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.617e-05/0.4478, allocations: 24.66 kB / 0.5756 GB, free: 15.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.4481, allocations: 259.4 kB / 0.5759 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.4481, allocations: 12 kB / 0.5759 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.4482, allocations: 12 kB / 0.5759 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.4485, allocations: 198.9 kB / 0.5761 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.4485, allocations: 0 / 0.5761 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.775e-05/0.4485, allocations: 4 kB / 0.5761 GB, free: 14.93 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4485, allocations: 8 kB / 0.5761 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008484/0.4494, allocations: 0.7334 MB / 0.5768 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007456/0.4502, allocations: 0.5396 MB / 0.5773 GB, free: 13.59 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004333/0.4506, allocations: 288.7 kB / 0.5776 GB, free: 13.3 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.4508, allocations: 105.4 kB / 0.5777 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005395/0.4513, allocations: 0.6573 MB / 0.5784 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/0.4517, allocations: 172.9 kB / 0.5785 GB, free: 12.21 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.523e-06/0.4517, allocations: 0 / 0.5785 GB, free: 12.21 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.0006412/0.4523, allocations: 365.6 kB / 0.5789 GB, free: 11.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/0.4524, allocations: 85.05 kB / 0.579 GB, free: 11.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002722/0.4527, allocations: 295.6 kB / 0.5792 GB, free: 11.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.4527, allocations: 37.7 kB / 0.5793 GB, free: 11.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.817e-05/0.4528, allocations: 112.8 kB / 0.5794 GB, free: 11.29 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.896e-05/0.4529, allocations: 118.3 kB / 0.5795 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.925e-05/0.453, allocations: 61.69 kB / 0.5796 GB, free: 11.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.4532, allocations: 334.8 kB / 0.5799 GB, free: 10.77 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001342/0.4533, allocations: 75.95 kB / 0.5799 GB, free: 10.69 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001692/0.4535, allocations: 117.8 kB / 0.5801 GB, free: 10.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003387/0.4538, allocations: 242.9 kB / 0.5803 GB, free: 10.32 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4538, allocations: 0 / 0.5803 GB, free: 10.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004582/0.4543, allocations: 302.8 kB / 0.5806 GB, free: 10.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.689e-05/0.4544, allocations: 33.64 kB / 0.5806 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4544, allocations: 0 / 0.5806 GB, free: 9.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4544, allocations: 4 kB / 0.5806 GB, free: 9.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.4546, allocations: 55.91 kB / 0.5807 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.4546, allocations: 3.984 kB / 0.5807 GB, free: 9.914 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.4547, allocations: 27.83 kB / 0.5807 GB, free: 9.887 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.4548, allocations: 8 kB / 0.5807 GB, free: 9.879 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.0001658/0.4549, allocations: 166.4 kB / 0.5809 GB, free: 9.707 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.982e-05/0.455, allocations: 35.58 kB / 0.5809 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005223/0.4555, allocations: 308 kB / 0.5812 GB, free: 9.367 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.4555, allocations: 4 kB / 0.5812 GB, free: 9.363 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.4555, allocations: 4 kB / 0.5812 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.4555, allocations: 0 / 0.5812 GB, free: 9.359 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.4559, allocations: 313.3 kB / 0.5815 GB, free: 9.004 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4559, allocations: 3.984 kB / 0.5815 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.456, allocations: 59.91 kB / 0.5816 GB, free: 8.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.453e-06/0.4561, allocations: 7.938 kB / 0.5816 GB, free: 8.934 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.4561, allocations: 11.98 kB / 0.5816 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4561, allocations: 0 / 0.5816 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4561, allocations: 0 / 0.5816 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004749/0.4566, allocations: 321.9 kB / 0.5819 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.4567, allocations: 140.6 kB / 0.582 GB, free: 8.434 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.4568, allocations: 15.94 kB / 0.582 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.15e-05/0.4568, allocations: 8 kB / 0.582 GB, free: 8.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.406e-05/0.4569, allocations: 23.95 kB / 0.5821 GB, free: 8.387 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.028e-05/0.4569, allocations: 12 kB / 0.5821 GB, free: 8.375 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.4571, allocations: 228.1 kB / 0.5823 GB, free: 8.152 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4571, allocations: 0 / 0.5823 GB, free: 8.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002973/0.4574, allocations: 63.98 kB / 0.5824 GB, free: 8.09 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.0009011/0.4584, allocations: 415.9 kB / 0.5828 GB, free: 7.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004482/0.4588, allocations: 275.4 kB / 0.583 GB, free: 7.539 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4588, allocations: 0 / 0.583 GB, free: 7.539 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000208/0.459, allocations: 131.8 kB / 0.5831 GB, free: 7.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.4594, allocations: 35.16 kB / 0.5832 GB, free: 7.379 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/0.4602, allocations: 0.4887 MB / 0.5837 GB, free: 6.867 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.4607, allocations: 0.7535 MB / 0.5844 GB, free: 6.082 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003002/0.461, allocations: 138.9 kB / 0.5845 GB, free: 5.945 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.398e-05/0.4611, allocations: 43.41 kB / 0.5846 GB, free: 5.902 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.4611, allocations: 0 / 0.5846 GB, free: 5.902 MB / 446.1 MB Notification: Performance of Templates: time 0.007581/0.4687, allocations: 2.72 MB / 0.5872 GB, free: 3.199 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)