Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.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.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00717/0.00717, allocations: 102.9 kB / 15.73 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.001315/0.001316, allocations: 195.2 kB / 16.67 MB, free: 5.91 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.516/1.516, allocations: 205.1 MB / 222.5 MB, free: 4.5 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6311/0.6311, allocations: 95.48 MB / 365.4 MB, free: 9.77 MB / 302.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.001467/0.001467, allocations: 67.91 kB / 0.5036 GB, free: 13.58 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1457/0.1472, allocations: 69.1 MB / 0.5711 GB, free: 8.422 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection): time 0.003092/0.1503, allocations: 1.694 MB / 0.5728 GB, free: 6.715 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002454/0.1528, allocations: 1.676 MB / 0.5744 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.29e-05/0.1529, allocations: 0 / 0.5744 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002638/0.1532, allocations: 23.8 kB / 0.5744 GB, free: 5.008 MB / 446.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.0002642/0.1534, allocations: 43.77 kB / 0.5745 GB, free: 4.965 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004401/0.1539, allocations: 175.4 kB / 0.5746 GB, free: 4.793 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.1542, allocations: 213.7 kB / 0.5748 GB, free: 4.582 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.1543, allocations: 16.23 kB / 0.5748 GB, free: 4.562 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.1544, allocations: 83.75 kB / 0.5749 GB, free: 4.48 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001363/0.1546, allocations: 83.78 kB / 0.575 GB, free: 4.398 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.952e-05/0.1546, allocations: 16 kB / 0.575 GB, free: 4.383 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003005/0.1549, allocations: 191.8 kB / 0.5752 GB, free: 4.195 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.575e-05/0.155, allocations: 71.81 kB / 0.5753 GB, free: 4.125 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.587e-05/0.1551, allocations: 95.41 kB / 0.5754 GB, free: 4.031 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003814/0.1555, allocations: 331 kB / 0.5757 GB, free: 3.707 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.1555, allocations: 0 / 0.5757 GB, free: 3.707 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.213e-06/0.1555, allocations: 0 / 0.5757 GB, free: 3.707 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.1555, allocations: 0 / 0.5757 GB, free: 3.707 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008131/0.1563, allocations: 0.5665 MB / 0.5762 GB, free: 3.086 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.1564, allocations: 11.98 kB / 0.5762 GB, free: 3.074 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001293/0.1565, allocations: 28.66 kB / 0.5763 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002717/0.1568, allocations: 266.2 kB / 0.5765 GB, free: 2.746 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.591e-05/0.1568, allocations: 12 kB / 0.5765 GB, free: 2.734 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.1569, allocations: 12 kB / 0.5765 GB, free: 2.723 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003264/0.1572, allocations: 203.3 kB / 0.5767 GB, free: 2.512 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.1572, allocations: 8 kB / 0.5767 GB, free: 2.504 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.1572, allocations: 4 kB / 0.5767 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1573, allocations: 4 kB / 0.5768 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008086/0.1581, allocations: 0.7334 MB / 0.5775 GB, free: 1.762 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007619/0.1588, allocations: 0.5588 MB / 0.578 GB, free: 1.152 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004605/0.1593, allocations: 299.5 kB / 0.5783 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.1595, allocations: 109.4 kB / 0.5784 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001056/0.1605, allocations: 1.382 MB / 0.5798 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003398/0.1609, allocations: 175.4 kB / 0.5799 GB, free: 14.86 MB / 462.1 MB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.1609, allocations: 4 kB / 0.5799 GB, free: 14.86 MB / 462.1 MB Notification: Performance of matching and sorting (n=35): time 0.0006228/0.1615, allocations: 368.9 kB / 0.5803 GB, free: 14.49 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.1616, allocations: 81.11 kB / 0.5804 GB, free: 14.39 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.1619, allocations: 295.1 kB / 0.5806 GB, free: 14.09 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.752e-05/0.1619, allocations: 33.7 kB / 0.5807 GB, free: 14.05 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.162, allocations: 116.7 kB / 0.5808 GB, free: 13.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.685e-05/0.1621, allocations: 114.3 kB / 0.5809 GB, free: 13.82 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.479e-05/0.1622, allocations: 65.69 kB / 0.5809 GB, free: 13.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001233/0.1623, allocations: 338.8 kB / 0.5813 GB, free: 13.41 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001568/0.1625, allocations: 79.95 kB / 0.5813 GB, free: 13.33 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001535/0.1626, allocations: 114.6 kB / 0.5815 GB, free: 13.21 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003258/0.163, allocations: 234.5 kB / 0.5817 GB, free: 12.98 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.163, allocations: 0 / 0.5817 GB, free: 12.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004527/0.1634, allocations: 323.1 kB / 0.582 GB, free: 12.65 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.088e-05/0.1635, allocations: 29.7 kB / 0.582 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1635, allocations: 0 / 0.582 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/0.1635, allocations: 4.031 kB / 0.582 GB, free: 12.61 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001992/0.1637, allocations: 59.91 kB / 0.5821 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.785e-06/0.1637, allocations: 3.984 kB / 0.5821 GB, free: 12.55 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.689e-05/0.1638, allocations: 19.84 kB / 0.5821 GB, free: 12.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.1639, allocations: 12 kB / 0.5821 GB, free: 12.52 MB / 462.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 (36): * Single equations (assignments): 35 * 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.0001536/0.164, allocations: 165.7 kB / 0.5823 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.711e-05/0.1641, allocations: 35.58 kB / 0.5823 GB, free: 12.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005125/0.1646, allocations: 316 kB / 0.5826 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.1646, allocations: 4 kB / 0.5826 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1646, allocations: 0 / 0.5826 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.1646, allocations: 0 / 0.5826 GB, free: 11.99 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002905/0.1649, allocations: 325.3 kB / 0.5829 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1649, allocations: 3.938 kB / 0.5829 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001693/0.1651, allocations: 63.91 kB / 0.583 GB, free: 11.56 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.1651, allocations: 4 kB / 0.583 GB, free: 11.55 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/0.1652, allocations: 12 kB / 0.583 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1652, allocations: 0 / 0.583 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1652, allocations: 0 / 0.583 GB, free: 11.54 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004331/0.1656, allocations: 324.8 kB / 0.5833 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.1657, allocations: 144.6 kB / 0.5834 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.53e-05/0.1658, allocations: 8 kB / 0.5835 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.783e-05/0.1659, allocations: 11.94 kB / 0.5835 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.1659, allocations: 27.97 kB / 0.5835 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.967e-05/0.1659, allocations: 11.98 kB / 0.5835 GB, free: 10.99 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001912/0.1661, allocations: 224.6 kB / 0.5837 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1662, allocations: 0 / 0.5837 GB, free: 10.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003168/0.1665, allocations: 79.92 kB / 0.5838 GB, free: 10.69 MB / 462.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 (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.0008802/0.1674, allocations: 415.6 kB / 0.5842 GB, free: 10.42 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.000408/0.1678, allocations: 279.1 kB / 0.5845 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1678, allocations: 0 / 0.5845 GB, free: 10.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001809/0.168, allocations: 131.8 kB / 0.5846 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.1683, allocations: 33.83 kB / 0.5846 GB, free: 9.977 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008235/0.1691, allocations: 0.5147 MB / 0.5851 GB, free: 9.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1694, allocations: 0.7611 MB / 0.5859 GB, free: 8.645 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002886/0.1697, allocations: 138.9 kB / 0.586 GB, free: 8.512 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.264e-05/0.1698, allocations: 43.42 kB / 0.586 GB, free: 8.469 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1698, allocations: 4 kB / 0.586 GB, free: 8.465 MB / 462.1 MB Notification: Performance of Templates: time 0.006394/0.1762, allocations: 2.919 MB / 0.5889 GB, free: 5.559 MB / 462.1 MB make -j1 -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.makefile (rm -f Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & ./Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)