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.7274/0.7274, allocations: 128.7 MB / 143.7 MB, free: 2.336 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.001101/0.001101, allocations: 188 kB / 173.7 MB, free: 6.141 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.633/1.633, allocations: 205.4 MB / 409 MB, free: 10.52 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.0009356/0.0009355, allocations: 86.8 kB / 486.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003084/0.0003084, allocations: 12.44 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1471, allocations: 76.78 MB / 0.6354 GB, free: 30.49 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.2868, allocations: 106.3 MB / 0.7392 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003204/0.2872, allocations: 95.94 kB / 0.7393 GB, free: 3.957 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.3291/0.6163, allocations: 6.961 MB / 0.7461 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6164, allocations: 0 / 0.7461 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.26e-05/0.6164, allocations: 6.719 kB / 0.7461 GB, free: 105.6 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.0006644/0.6171, allocations: 0.5186 MB / 0.7466 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.6171, allocations: 11.61 kB / 0.7466 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.321e-05/0.6172, allocations: 47.02 kB / 0.7467 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.6173, allocations: 28.59 kB / 0.7467 GB, free: 105 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/0.6176, allocations: 260.9 kB / 0.7469 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.6176, allocations: 11.47 kB / 0.747 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.565e-05/0.6176, allocations: 16.31 kB / 0.747 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003124/0.618, allocations: 204.5 kB / 0.7472 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.618, allocations: 0 / 0.7472 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.618, allocations: 3.625 kB / 0.7472 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.618, allocations: 3.469 kB / 0.7472 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009645/0.619, allocations: 0.7372 MB / 0.7479 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008751/0.6199, allocations: 0.5723 MB / 0.7485 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.6203, allocations: 299.6 kB / 0.7487 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005758/0.6209, allocations: 461.6 kB / 0.7492 GB, free: 104 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002727/0.6212, allocations: 176.9 kB / 0.7493 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=35): time 2.164e-06/0.6212, allocations: 0.75 kB / 0.7493 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35): time 0.0006173/0.6218, allocations: 361.1 kB / 0.7497 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.6219, allocations: 81 kB / 0.7498 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.6222, allocations: 259.4 kB / 0.75 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.6222, allocations: 33.34 kB / 0.7501 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.417e-05/0.6223, allocations: 116.3 kB / 0.7502 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.499e-05/0.6224, allocations: 118 kB / 0.7503 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.114e-05/0.6224, allocations: 3.438 kB / 0.7503 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.164e-05/0.6225, allocations: 339.2 kB / 0.7506 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.6226, allocations: 82.44 kB / 0.7507 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001689/0.6228, allocations: 110.9 kB / 0.7508 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.6229, allocations: 104.4 kB / 0.7509 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6229, allocations: 0 / 0.7509 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003495/0.6233, allocations: 278.6 kB / 0.7511 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.6233, allocations: 7.078 kB / 0.7512 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.6233, allocations: 4.641 kB / 0.7512 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6233, allocations: 2.75 kB / 0.7512 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002091/0.6236, allocations: 59.75 kB / 0.7512 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.6236, allocations: 2.625 kB / 0.7512 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.876e-05/0.6237, allocations: 21.14 kB / 0.7512 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.6237, allocations: 21.69 kB / 0.7513 GB, free: 103.1 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 () * Number of clocked 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 0.0001299/0.6238, allocations: 163.3 kB / 0.7514 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.56e-05/0.6239, allocations: 26.33 kB / 0.7514 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006189/0.6245, allocations: 392.2 kB / 0.7518 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6245, allocations: 8 kB / 0.7518 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.6245, allocations: 6.688 kB / 0.7518 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.6245, allocations: 2.062 kB / 0.7518 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002827/0.6248, allocations: 333.5 kB / 0.7522 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.6248, allocations: 0 / 0.7522 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.625, allocations: 65.06 kB / 0.7522 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.625, allocations: 0 / 0.7522 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.6251, allocations: 10.48 kB / 0.7522 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.6251, allocations: 2.812 kB / 0.7522 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.6251, allocations: 4.469 kB / 0.7522 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.6255, allocations: 320 kB / 0.7525 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.6256, allocations: 150 kB / 0.7527 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.6256, allocations: 4.688 kB / 0.7527 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.28e-05/0.6257, allocations: 10.86 kB / 0.7527 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.6258, allocations: 28.2 kB / 0.7527 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.995e-05/0.6258, allocations: 13.92 kB / 0.7527 GB, free: 102.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001723/0.626, allocations: 217.8 kB / 0.7529 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.626, allocations: 2.344 kB / 0.7529 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003187/0.6263, allocations: 92.31 kB / 0.753 GB, free: 102.4 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) * 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.001365/0.6277, allocations: 1.19 MB / 0.7542 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.6281, allocations: 223.2 kB / 0.7544 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.6281, allocations: 0 / 0.7544 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001857/0.6283, allocations: 132.2 kB / 0.7545 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002023/0.6285, allocations: 26.3 kB / 0.7546 GB, free: 101.7 MB / 0.5105 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.002049/0.6306, allocations: 1.46 MB / 0.756 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.6308, allocations: 0.7582 MB / 0.7567 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003399/0.6311, allocations: 148.7 kB / 0.7569 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.6313, allocations: 92.62 kB / 0.757 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of SimCode: time 3.61e-07/0.6313, allocations: 1.125 kB / 0.757 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2051/0.8364, allocations: 5.403 MB / 0.7622 GB, free: 99.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001556/0.8366, allocations: 258.7 kB / 0.7625 GB, free: 99.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.777, allocations: 4.531 kB / 0.7625 GB, free: 99.45 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)