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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5813/0.5813, allocations: 95.62 MB / 110.6 MB, free: 9.375 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001199/0.001199, allocations: 166.2 kB / 134.2 MB, free: 2.258 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.698/1.698, allocations: 170.7 MB / 328.4 MB, free: 12.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001725/0.001725, allocations: 121.8 kB / 390.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 12 kB / 462.7 MB, free: 35.66 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1475, allocations: 61.54 MB / 0.512 GB, free: 6.059 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.6014, allocations: 97.1 MB / 0.6068 GB, free: 10.29 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/0.6018, allocations: 87.25 kB / 0.6069 GB, free: 10.24 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01911/0.6209, allocations: 6.778 MB / 0.6135 GB, free: 4.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.621, allocations: 0 / 0.6135 GB, free: 4.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.587e-05/0.621, allocations: 4 kB / 0.6135 GB, free: 4.629 MB / 410.7 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.001131/0.6222, allocations: 0.5684 MB / 0.6141 GB, free: 4.016 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/0.6222, allocations: 11.98 kB / 0.6141 GB, free: 4.004 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002232/0.6225, allocations: 31.62 kB / 0.6141 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005107/0.623, allocations: 257.6 kB / 0.6144 GB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/0.623, allocations: 7.938 kB / 0.6144 GB, free: 3.695 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.6231, allocations: 19.19 kB / 0.6144 GB, free: 3.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004335/0.6235, allocations: 214.8 kB / 0.6146 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.6235, allocations: 3.938 kB / 0.6146 GB, free: 3.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/0.6236, allocations: 6.5 kB / 0.6146 GB, free: 3.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.6236, allocations: 4 kB / 0.6146 GB, free: 3.496 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001017/0.6246, allocations: 0.7711 MB / 0.6154 GB, free: 2.816 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.6257, allocations: 0.5836 MB / 0.6159 GB, free: 2.289 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005207/0.6263, allocations: 319.9 kB / 0.6162 GB, free: 2.055 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.6275, allocations: 1.385 MB / 0.6176 GB, free: 372 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003499/0.6278, allocations: 175 kB / 0.6178 GB, free: 220 kB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.885e-06/0.6278, allocations: 0 / 0.6178 GB, free: 220 kB / 410.7 MB Notification: Performance of matching and sorting (n=35): time 0.0007451/0.6286, allocations: 397.8 kB / 0.6181 GB, free: 15.92 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.6287, allocations: 81.11 kB / 0.6182 GB, free: 15.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/0.629, allocations: 251.4 kB / 0.6184 GB, free: 15.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.629, allocations: 33.33 kB / 0.6185 GB, free: 15.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.854e-05/0.6291, allocations: 117.8 kB / 0.6186 GB, free: 15.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.6292, allocations: 123.3 kB / 0.6187 GB, free: 15.38 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.6293, allocations: 3.75 kB / 0.6187 GB, free: 15.38 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.6294, allocations: 336.5 kB / 0.619 GB, free: 15.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001953/0.6296, allocations: 100.2 kB / 0.6191 GB, free: 14.98 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.6298, allocations: 130.8 kB / 0.6193 GB, free: 14.89 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002547/0.6301, allocations: 189.7 kB / 0.6194 GB, free: 14.74 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6301, allocations: 0 / 0.6194 GB, free: 14.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006427/0.6308, allocations: 456.8 kB / 0.6199 GB, free: 14.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.148e-05/0.6308, allocations: 59.41 kB / 0.6199 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6308, allocations: 0 / 0.6199 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.6309, allocations: 0 / 0.6199 GB, free: 14.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000246/0.6311, allocations: 63.22 kB / 0.62 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.441e-05/0.6311, allocations: 4 kB / 0.62 GB, free: 14.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001233/0.6313, allocations: 19.7 kB / 0.62 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.423e-05/0.6313, allocations: 15.44 kB / 0.62 GB, free: 14.2 MB / 426.7 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 ($whenCondition1,$PRE.conTim.tStart,conTim.tStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002122/0.6315, allocations: 171.5 kB / 0.6202 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.6316, allocations: 19.72 kB / 0.6202 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008386/0.6324, allocations: 437.2 kB / 0.6206 GB, free: 13.69 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6325, allocations: 4 kB / 0.6206 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6325, allocations: 0 / 0.6206 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.6325, allocations: 7.938 kB / 0.6206 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003657/0.6329, allocations: 337.2 kB / 0.621 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.6329, allocations: 3.953 kB / 0.621 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.6331, allocations: 63.41 kB / 0.621 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.6331, allocations: 4 kB / 0.621 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.6331, allocations: 7.938 kB / 0.621 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.736e-06/0.6331, allocations: 0 / 0.621 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6332, allocations: 0 / 0.621 GB, free: 13.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005759/0.6337, allocations: 350.5 kB / 0.6214 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001989/0.6339, allocations: 158.2 kB / 0.6215 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.634, allocations: 11.44 kB / 0.6215 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.406e-05/0.6341, allocations: 7.5 kB / 0.6215 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/0.6342, allocations: 27.58 kB / 0.6216 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.6342, allocations: 15.98 kB / 0.6216 GB, free: 12.78 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002232/0.6344, allocations: 198.5 kB / 0.6218 GB, free: 12.63 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.6345, allocations: 0 / 0.6218 GB, free: 12.63 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004235/0.6349, allocations: 97.2 kB / 0.6219 GB, free: 12.55 MB / 426.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008782/0.6358, allocations: 327.8 kB / 0.6222 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005376/0.6363, allocations: 371.8 kB / 0.6225 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6363, allocations: 4 kB / 0.6225 GB, free: 11.96 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002094/0.6366, allocations: 147.3 kB / 0.6227 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.6368, allocations: 14.12 kB / 0.6227 GB, free: 11.85 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001083/0.6379, allocations: 0.5822 MB / 0.6233 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003957/0.6383, allocations: 0.761 MB / 0.624 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003669/0.6386, allocations: 150.1 kB / 0.6241 GB, free: 10.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.6388, allocations: 42.73 kB / 0.6242 GB, free: 10.34 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.6388, allocations: 0 / 0.6242 GB, free: 10.34 MB / 426.7 MB Notification: Performance of Templates: time 0.007245/0.646, allocations: 2.824 MB / 0.6269 GB, free: 7.543 MB / 426.7 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)