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.6794/0.6794, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009373/0.0009369, allocations: 187.8 kB / 169.7 MB, free: 1.746 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.619/1.619, allocations: 205.1 MB / 404.5 MB, free: 1.594 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.0008142/0.0008142, allocations: 99.36 kB / 481.8 MB, free: 4.234 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.92e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1331, allocations: 76.76 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4952/0.6284, allocations: 106.2 MB / 0.732 GB, free: 7.262 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.6287, allocations: 93 kB / 0.7321 GB, free: 7.207 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01797/0.6467, allocations: 6.771 MB / 0.7387 GB, free: 1.602 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6467, allocations: 3.938 kB / 0.7387 GB, free: 1.598 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.411e-05/0.6468, allocations: 4 kB / 0.7387 GB, free: 1.594 MB / 490.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.0006754/0.6474, allocations: 0.4932 MB / 0.7392 GB, free: 1.074 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6475, allocations: 12.03 kB / 0.7392 GB, free: 1.062 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.155e-05/0.6476, allocations: 45.48 kB / 0.7392 GB, free: 1.016 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.6477, allocations: 35.05 kB / 0.7392 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003295/0.648, allocations: 247.9 kB / 0.7395 GB, free: 0.7188 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.648, allocations: 18.81 kB / 0.7395 GB, free: 0.707 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.6481, allocations: 11.5 kB / 0.7395 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.6484, allocations: 190.4 kB / 0.7397 GB, free: 0.543 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.6484, allocations: 11.88 kB / 0.7397 GB, free: 0.5312 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.6485, allocations: 7.938 kB / 0.7397 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.6485, allocations: 0 / 0.7397 GB, free: 0.5273 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008632/0.6493, allocations: 0.7393 MB / 0.7404 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009072/0.6503, allocations: 0.565 MB / 0.741 GB, free: 15.36 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/0.6507, allocations: 297.6 kB / 0.7413 GB, free: 15.13 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.6509, allocations: 105.3 kB / 0.7414 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006336/0.6515, allocations: 461 kB / 0.7418 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002857/0.6518, allocations: 177.6 kB / 0.742 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=35): time 1.783e-06/0.6518, allocations: 0 / 0.742 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35): time 0.0004684/0.6523, allocations: 273.2 kB / 0.7422 GB, free: 14.15 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.599e-05/0.6524, allocations: 81.11 kB / 0.7423 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.6526, allocations: 251.3 kB / 0.7426 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.6527, allocations: 28.89 kB / 0.7426 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/0.6528, allocations: 120.4 kB / 0.7427 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.495e-05/0.6529, allocations: 119.5 kB / 0.7428 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.6529, allocations: 3.75 kB / 0.7428 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.653, allocations: 337 kB / 0.7431 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.6531, allocations: 79.34 kB / 0.7432 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.6533, allocations: 106.3 kB / 0.7433 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.6535, allocations: 103.9 kB / 0.7434 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6535, allocations: 0 / 0.7434 GB, free: 13.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004036/0.6539, allocations: 270.9 kB / 0.7437 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.6539, allocations: 7.953 kB / 0.7437 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.6539, allocations: 0 / 0.7437 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.6539, allocations: 8.031 kB / 0.7437 GB, free: 12.84 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/0.6542, allocations: 62.97 kB / 0.7437 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.6542, allocations: 0 / 0.7437 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.6543, allocations: 19.34 kB / 0.7438 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/0.6543, allocations: 15.3 kB / 0.7438 GB, free: 12.76 MB / 0.4948 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 8.888e-05/0.6544, allocations: 122.5 kB / 0.7439 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.6545, allocations: 27.62 kB / 0.7439 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.6551, allocations: 395.8 kB / 0.7443 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6552, allocations: 7.938 kB / 0.7443 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.6552, allocations: 0 / 0.7443 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.6552, allocations: 4 kB / 0.7443 GB, free: 12.29 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.6555, allocations: 336.4 kB / 0.7446 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6555, allocations: 3.984 kB / 0.7446 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001759/0.6557, allocations: 51.92 kB / 0.7447 GB, free: 11.91 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.6557, allocations: 4 kB / 0.7447 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.176e-05/0.6557, allocations: 18.73 kB / 0.7447 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.6557, allocations: 3.953 kB / 0.7447 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6557, allocations: 3.938 kB / 0.7447 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.6562, allocations: 315.7 kB / 0.745 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/0.6563, allocations: 154 kB / 0.7452 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.541e-05/0.6564, allocations: 7.562 kB / 0.7452 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.805e-05/0.6565, allocations: 11.42 kB / 0.7452 GB, free: 11.45 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.6565, allocations: 31.36 kB / 0.7452 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.6566, allocations: 11.06 kB / 0.7452 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0002009/0.6568, allocations: 213.9 kB / 0.7454 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6568, allocations: 0 / 0.7454 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003199/0.6571, allocations: 82.86 kB / 0.7455 GB, free: 11.18 MB / 0.4948 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.001499/0.6586, allocations: 1.142 MB / 0.7466 GB, free: 10.19 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003476/0.659, allocations: 217.7 kB / 0.7468 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.659, allocations: 0 / 0.7468 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.6592, allocations: 128 kB / 0.7469 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.6594, allocations: 24.83 kB / 0.747 GB, free: 9.914 MB / 0.4948 GB Warning: Could not resolve URI (OpenModelica_fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/Resources/IBPSA/weatherdata/USA_IL_Chicago-OHare.Intl.AP.725300_TMY3.mos")) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009582/0.6603, allocations: 0.5074 MB / 0.7475 GB, free: 9.457 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003403/0.6607, allocations: 0.76 MB / 0.7482 GB, free: 8.676 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.000328/0.661, allocations: 146.8 kB / 0.7483 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.6612, allocations: 91.5 kB / 0.7484 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of SimCode: time 1.914e-06/0.6612, allocations: 4 kB / 0.7484 GB, free: 8.484 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1859/0.8471, allocations: 5.386 MB / 0.7537 GB, free: 3.25 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002393/0.8474, allocations: 238.6 kB / 0.7539 GB, free: 2.941 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.901/2.749, allocations: 0 / 0.7539 GB, free: 2.941 MB / 0.4948 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)