Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.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.CheckWindSpeed,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindSpeed",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.7173/0.7173, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.001014/0.001014, allocations: 175.8 kB / 169.7 MB, free: 1.73 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.464/1.464, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.0008034/0.0008034, allocations: 86.42 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.116e-05/3.143e-05, allocations: 4 kB / 0.5533 GB, free: 54.73 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/0.1197, allocations: 76.76 MB / 0.6283 GB, free: 9.902 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4295/0.5493, allocations: 105.4 MB / 0.7312 GB, free: 7.988 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.5495, allocations: 91 kB / 0.7312 GB, free: 7.938 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01482/0.5644, allocations: 6.107 MB / 0.7372 GB, free: 2.891 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.5644, allocations: 0 / 0.7372 GB, free: 2.891 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.5644, allocations: 7.938 kB / 0.7372 GB, free: 2.883 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0005244/0.5649, allocations: 477.6 kB / 0.7377 GB, free: 2.383 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.565, allocations: 8.031 kB / 0.7377 GB, free: 2.375 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.832e-05/0.5651, allocations: 52.17 kB / 0.7377 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002572/0.5653, allocations: 47.64 kB / 0.7378 GB, free: 2.277 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002924/0.5656, allocations: 259.1 kB / 0.738 GB, free: 2.004 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.5656, allocations: 11.31 kB / 0.738 GB, free: 1.996 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.5657, allocations: 15.31 kB / 0.738 GB, free: 1.984 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002896/0.566, allocations: 209.6 kB / 0.7382 GB, free: 1.812 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.566, allocations: 0 / 0.7382 GB, free: 1.812 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.92e-05/0.566, allocations: 3.812 kB / 0.7383 GB, free: 1.812 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.566, allocations: 4 kB / 0.7383 GB, free: 1.809 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007952/0.5668, allocations: 0.7354 MB / 0.739 GB, free: 1.156 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007881/0.5676, allocations: 0.5607 MB / 0.7395 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004209/0.5681, allocations: 297.5 kB / 0.7398 GB, free: 432 kB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.5682, allocations: 103.8 kB / 0.7399 GB, free: 360 kB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.206e-05/0.5683, allocations: 24.02 kB / 0.7399 GB, free: 340 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002529/0.5685, allocations: 179.2 kB / 0.7401 GB, free: 184 kB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 2.876e-06/0.5685, allocations: 3.984 kB / 0.7401 GB, free: 180 kB / 490.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004557/0.569, allocations: 281.2 kB / 0.7404 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.341e-05/0.5691, allocations: 81.11 kB / 0.7404 GB, free: 15.85 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002516/0.5693, allocations: 249.4 kB / 0.7407 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.5693, allocations: 27.77 kB / 0.7407 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.468e-05/0.5694, allocations: 117.2 kB / 0.7408 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.266e-05/0.5695, allocations: 117.2 kB / 0.7409 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.318e-05/0.5695, allocations: 7 kB / 0.7409 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.5696, allocations: 337.9 kB / 0.7413 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.5698, allocations: 85.5 kB / 0.7413 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/0.5699, allocations: 102.4 kB / 0.7414 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.5701, allocations: 104.3 kB / 0.7415 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5701, allocations: 0 / 0.7415 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003878/0.5705, allocations: 278.3 kB / 0.7418 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.5705, allocations: 7.953 kB / 0.7418 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5705, allocations: 0 / 0.7418 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.5705, allocations: 8.031 kB / 0.7418 GB, free: 14.64 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002406/0.5708, allocations: 59.91 kB / 0.7419 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.605e-06/0.5708, allocations: 0 / 0.7419 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.5709, allocations: 27.08 kB / 0.7419 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.571, allocations: 8 kB / 0.7419 GB, free: 14.56 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 (35): * Single equations (assignments): 35 * 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.032e-05/0.571, allocations: 119.1 kB / 0.742 GB, free: 14.45 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.942e-05/0.5711, allocations: 23.72 kB / 0.7421 GB, free: 14.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006362/0.5717, allocations: 388.8 kB / 0.7424 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.5717, allocations: 3.938 kB / 0.7424 GB, free: 14.12 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5717, allocations: 4 kB / 0.7424 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.5718, allocations: 0 / 0.7424 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.572, allocations: 331.1 kB / 0.7427 GB, free: 13.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5721, allocations: 7.984 kB / 0.7428 GB, free: 13.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002094/0.5723, allocations: 62.84 kB / 0.7428 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.5723, allocations: 0 / 0.7428 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.5723, allocations: 10.77 kB / 0.7428 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5723, allocations: 0 / 0.7428 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.5723, allocations: 4 kB / 0.7428 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.5727, allocations: 318.2 kB / 0.7431 GB, free: 13.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001424/0.5729, allocations: 146.1 kB / 0.7433 GB, free: 13.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.5729, allocations: 19.3 kB / 0.7433 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/0.573, allocations: 11.89 kB / 0.7433 GB, free: 13.28 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.5731, allocations: 23.41 kB / 0.7433 GB, free: 13.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.5731, allocations: 15.48 kB / 0.7433 GB, free: 13.25 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001648/0.5733, allocations: 206.5 kB / 0.7435 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5733, allocations: 0 / 0.7435 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002613/0.5736, allocations: 74.17 kB / 0.7436 GB, free: 13.02 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 (34): * Single equations (assignments): 33 * 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.001293/0.5749, allocations: 1.107 MB / 0.7447 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000326/0.5752, allocations: 220.9 kB / 0.7449 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.5752, allocations: 0 / 0.7449 GB, free: 11.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.5754, allocations: 122.6 kB / 0.745 GB, free: 11.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.5756, allocations: 27.06 kB / 0.745 GB, free: 11.79 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.0008072/0.5764, allocations: 491.2 kB / 0.7455 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002811/0.5767, allocations: 0.76 MB / 0.7462 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0003255/0.577, allocations: 150.8 kB / 0.7464 GB, free: 10.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.5771, allocations: 90.27 kB / 0.7465 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of SimCode: time 2.8e-07/0.5771, allocations: 3.938 kB / 0.7465 GB, free: 10.37 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2059/0.783, allocations: 5.055 MB / 0.7514 GB, free: 5.465 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001768/0.7833, allocations: 246.5 kB / 0.7517 GB, free: 5.223 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.543, allocations: 0 / 0.7517 GB, free: 5.223 MB / 0.4948 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindSpeed_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckWindSpeed.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckWindSpeed.pipe 2>&1)