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.6352/0.6352, allocations: 94.77 MB / 102.2 MB, free: 10.13 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.001352/0.001352, allocations: 175.7 kB / 125.6 MB, free: 11.87 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.617/1.617, allocations: 170.6 MB / 319.4 MB, free: 9.348 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.001711/0.001711, allocations: 114.7 kB / 381.3 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.622e-05/1.624e-05, allocations: 4 kB / 449.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1343, allocations: 61.52 MB / 0.4987 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4721/0.6064, allocations: 96.35 MB / 0.5928 GB, free: 5.613 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003808/0.6069, allocations: 85.08 kB / 0.5928 GB, free: 5.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02445/0.6313, allocations: 6.421 MB / 0.5991 GB, free: 15.22 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6314, allocations: 4 kB / 0.5991 GB, free: 15.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.754e-05/0.6314, allocations: 4 kB / 0.5991 GB, free: 15.21 MB / 426.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.0009026/0.6323, allocations: 0.5444 MB / 0.5997 GB, free: 14.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.6324, allocations: 8.031 kB / 0.5997 GB, free: 14.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001661/0.6326, allocations: 28.36 kB / 0.5997 GB, free: 14.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.633, allocations: 259.6 kB / 0.5999 GB, free: 14.28 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.726e-05/0.6331, allocations: 8 kB / 0.5999 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.266e-05/0.6331, allocations: 10.23 kB / 0.6 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001471/0.6346, allocations: 0.7647 MB / 0.6007 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.635, allocations: 180.9 kB / 0.6009 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.6351, allocations: 0 / 0.6009 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.798e-05/0.6351, allocations: 6.281 kB / 0.6009 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.6351, allocations: 4 kB / 0.6009 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.6363, allocations: 0.5397 MB / 0.6014 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/0.637, allocations: 295.4 kB / 0.6017 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002495/0.6373, allocations: 105.4 kB / 0.6018 GB, free: 12.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/0.6387, allocations: 1.382 MB / 0.6031 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000418/0.6391, allocations: 173 kB / 0.6033 GB, free: 10.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 2.605e-06/0.6391, allocations: 0 / 0.6033 GB, free: 10.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.001074/0.6402, allocations: 306.9 kB / 0.6036 GB, free: 10.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.864e-05/0.6403, allocations: 81.11 kB / 0.6037 GB, free: 10.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.6407, allocations: 241.9 kB / 0.6039 GB, free: 9.809 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.6408, allocations: 25.7 kB / 0.6039 GB, free: 9.777 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.504e-05/0.6409, allocations: 116.8 kB / 0.604 GB, free: 9.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.641, allocations: 110.3 kB / 0.6041 GB, free: 9.551 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.641, allocations: 0 / 0.6041 GB, free: 9.551 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001716/0.6412, allocations: 334.8 kB / 0.6045 GB, free: 9.215 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002193/0.6415, allocations: 97.61 kB / 0.6046 GB, free: 9.121 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000272/0.6417, allocations: 137.4 kB / 0.6047 GB, free: 8.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005888/0.6423, allocations: 139.9 kB / 0.6048 GB, free: 8.844 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.6424, allocations: 0 / 0.6048 GB, free: 8.844 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001082/0.6434, allocations: 405.4 kB / 0.6052 GB, free: 8.441 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.475e-05/0.6435, allocations: 59.41 kB / 0.6053 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.6435, allocations: 0 / 0.6053 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.6436, allocations: 0 / 0.6053 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003582/0.6439, allocations: 63.91 kB / 0.6053 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.644, allocations: 9.438 kB / 0.6053 GB, free: 8.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001528/0.6441, allocations: 19.86 kB / 0.6054 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.395e-05/0.6442, allocations: 12 kB / 0.6054 GB, free: 8.27 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 () * 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.0001443/0.6443, allocations: 111.3 kB / 0.6055 GB, free: 8.156 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.6444, allocations: 27.67 kB / 0.6055 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00135/0.6458, allocations: 426.2 kB / 0.6059 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.6458, allocations: 8 kB / 0.6059 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.6458, allocations: 0 / 0.6059 GB, free: 7.715 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.6458, allocations: 3.984 kB / 0.6059 GB, free: 7.711 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004331/0.6463, allocations: 289.9 kB / 0.6062 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.6463, allocations: 0 / 0.6062 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003014/0.6466, allocations: 59.91 kB / 0.6063 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.6466, allocations: 0 / 0.6063 GB, free: 7.332 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.982e-05/0.6467, allocations: 19.94 kB / 0.6063 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.6467, allocations: 3.75 kB / 0.6063 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.6467, allocations: 0 / 0.6063 GB, free: 7.312 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009626/0.6477, allocations: 353.2 kB / 0.6066 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/0.6479, allocations: 160.6 kB / 0.6068 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.119e-05/0.648, allocations: 0 / 0.6068 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.6481, allocations: 7.953 kB / 0.6068 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/0.6482, allocations: 19.97 kB / 0.6068 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.85e-05/0.6483, allocations: 19.98 kB / 0.6068 GB, free: 6.727 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002768/0.6486, allocations: 193.4 kB / 0.607 GB, free: 6.539 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.6486, allocations: 4 kB / 0.607 GB, free: 6.535 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005507/0.6491, allocations: 79.94 kB / 0.6071 GB, free: 6.457 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) * 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.0008733/0.65, allocations: 282.4 kB / 0.6073 GB, free: 6.262 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006522/0.6507, allocations: 350.9 kB / 0.6077 GB, free: 5.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.6507, allocations: 0 / 0.6077 GB, free: 5.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.651, allocations: 131.8 kB / 0.6078 GB, free: 5.766 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.6513, allocations: 10.97 kB / 0.6078 GB, free: 5.758 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.6524, allocations: 392.1 kB / 0.6082 GB, free: 5.359 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004378/0.6528, allocations: 0.7583 MB / 0.6089 GB, free: 4.574 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000554/0.6534, allocations: 155.1 kB / 0.6091 GB, free: 4.445 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.6535, allocations: 44.92 kB / 0.6091 GB, free: 4.406 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6535, allocations: 0 / 0.6091 GB, free: 4.406 MB / 426.7 MB Notification: Performance of Templates: time 0.008507/0.662, allocations: 2.665 MB / 0.6117 GB, free: 1.812 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)