Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindDirection",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindDirection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7518/0.7518, allocations: 127.4 MB / 134.9 MB, free: 3.465 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009877/0.0009877, allocations: 175.2 kB / 164.7 MB, free: 11.62 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.398/1.398, allocations: 205.2 MB / 399.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009571/0.0009571, allocations: 91.95 kB / 476.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.197e-05/3.218e-05, allocations: 5.656 kB / 0.5467 GB, free: 95.49 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1193, allocations: 76.77 MB / 0.6216 GB, free: 43.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1205/0.2398, allocations: 105.5 MB / 0.7247 GB, free: 1.359 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.2401, allocations: 91.94 kB / 0.7248 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01701/0.2571, allocations: 6.636 MB / 0.7313 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.064e-06/0.2571, allocations: 0 / 0.7313 GB, free: 10.62 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.549e-05/0.2572, allocations: 4 kB / 0.7313 GB, free: 10.62 MB / 0.5105 GB 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.0006817/0.2579, allocations: 499.1 kB / 0.7317 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.2579, allocations: 8.031 kB / 0.7318 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000114/0.258, allocations: 31.67 kB / 0.7318 GB, free: 10.05 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003139/0.2584, allocations: 266.5 kB / 0.732 GB, free: 9.75 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2584, allocations: 4 kB / 0.732 GB, free: 9.746 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.2584, allocations: 12 kB / 0.7321 GB, free: 9.734 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000794/0.2592, allocations: 0.7139 MB / 0.7327 GB, free: 9.02 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.2595, allocations: 175 kB / 0.7329 GB, free: 8.836 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2595, allocations: 4 kB / 0.7329 GB, free: 8.832 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.2595, allocations: 4 kB / 0.7329 GB, free: 8.828 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.2595, allocations: 11.89 kB / 0.7329 GB, free: 8.816 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008954/0.2604, allocations: 0.5207 MB / 0.7334 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003854/0.2608, allocations: 276.2 kB / 0.7337 GB, free: 7.977 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.261, allocations: 93.39 kB / 0.7338 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005833/0.2616, allocations: 465.7 kB / 0.7342 GB, free: 7.336 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.2618, allocations: 155.5 kB / 0.7344 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 1.714e-06/0.2618, allocations: 0 / 0.7344 GB, free: 7.172 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.001266/0.2631, allocations: 364.7 kB / 0.7347 GB, free: 6.809 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.2632, allocations: 81.11 kB / 0.7348 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002515/0.2634, allocations: 246.1 kB / 0.735 GB, free: 6.461 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.2635, allocations: 25.7 kB / 0.7351 GB, free: 6.43 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.2635, allocations: 120.8 kB / 0.7352 GB, free: 6.309 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.2636, allocations: 106.3 kB / 0.7353 GB, free: 6.203 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.082e-05/0.2636, allocations: 11.94 kB / 0.7353 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.2637, allocations: 334.8 kB / 0.7356 GB, free: 5.855 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.2639, allocations: 75.97 kB / 0.7357 GB, free: 5.781 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.264, allocations: 97.62 kB / 0.7358 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009641/0.265, allocations: 192.6 kB / 0.736 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.265, allocations: 0 / 0.736 GB, free: 5.492 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00116/0.2661, allocations: 360.8 kB / 0.7363 GB, free: 5.133 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2662, allocations: 4 kB / 0.7363 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.2662, allocations: 0 / 0.7363 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2662, allocations: 0 / 0.7363 GB, free: 5.129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.2664, allocations: 67.86 kB / 0.7364 GB, free: 5.062 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.2664, allocations: 7.984 kB / 0.7364 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.082e-05/0.2665, allocations: 11.84 kB / 0.7364 GB, free: 5.043 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.2666, allocations: 8 kB / 0.7364 GB, free: 5.035 MB / 0.5105 GB 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 (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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 9.353e-05/0.2667, allocations: 112.9 kB / 0.7365 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001152/0.2678, allocations: 360.8 kB / 0.7369 GB, free: 4.559 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.2679, allocations: 27.7 kB / 0.7369 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0014/0.2693, allocations: 465.2 kB / 0.7373 GB, free: 4.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.2693, allocations: 4 kB / 0.7373 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2693, allocations: 0 / 0.7373 GB, free: 4.066 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.2693, allocations: 3.984 kB / 0.7373 GB, free: 4.062 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002776/0.2696, allocations: 293.7 kB / 0.7376 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2696, allocations: 0 / 0.7376 GB, free: 3.738 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.2698, allocations: 63.91 kB / 0.7377 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2698, allocations: 0 / 0.7377 GB, free: 3.676 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.922e-05/0.2698, allocations: 4 kB / 0.7377 GB, free: 3.672 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2698, allocations: 8 kB / 0.7377 GB, free: 3.664 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2699, allocations: 3.953 kB / 0.7377 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001153/0.271, allocations: 389.6 kB / 0.7381 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.2712, allocations: 152.7 kB / 0.7382 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.574e-05/0.2712, allocations: 0 / 0.7382 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/0.2713, allocations: 4 kB / 0.7382 GB, free: 3.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.2714, allocations: 35.78 kB / 0.7382 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.2714, allocations: 11.98 kB / 0.7383 GB, free: 3.043 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001726/0.2716, allocations: 204.6 kB / 0.7385 GB, free: 2.844 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.433e-06/0.2716, allocations: 4 kB / 0.7385 GB, free: 2.84 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003198/0.2719, allocations: 71.88 kB / 0.7385 GB, free: 2.77 MB / 0.5105 GB 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.002102/0.274, allocations: 1.187 MB / 0.7397 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003133/0.2743, allocations: 207.7 kB / 0.7399 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2743, allocations: 0 / 0.7399 GB, free: 1.434 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/0.2745, allocations: 119.8 kB / 0.74 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.2747, allocations: 21.67 kB / 0.74 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008294/0.2755, allocations: 479.8 kB / 0.7405 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2596/0.5352, allocations: 0.7695 MB / 0.7412 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0004625/0.5357, allocations: 145.2 kB / 0.7414 GB, free: 114 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.5358, allocations: 88.61 kB / 0.7415 GB, free: 114 MB / 0.5105 GB Notification: Performance of SimCode: time 8.02e-07/0.5359, allocations: 0 / 0.7415 GB, free: 114 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1847/0.7205, allocations: 4.916 MB / 0.7463 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/0.7207, allocations: 212.4 kB / 0.7465 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.451, allocations: 1 kB / 0.7465 GB, free: 113.5 MB / 0.5105 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindDirection_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindDirection.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindDirection.pipe 2>&1)