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.7645/0.7645, allocations: 128.7 MB / 143.7 MB, free: 2.27 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.001088/0.001088, allocations: 178.3 kB / 173.7 MB, free: 6.102 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.632/1.632, allocations: 205.4 MB / 409 MB, free: 10.5 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.0009451/0.0009452, allocations: 90.91 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005441/0.000544, allocations: 10.12 kB / 0.5604 GB, free: 97.39 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1646, allocations: 76.77 MB / 0.6354 GB, free: 30.44 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.299, allocations: 105.5 MB / 0.7384 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.2993, allocations: 87.94 kB / 0.7385 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.318/0.6174, allocations: 6.311 MB / 0.7446 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.355e-06/0.6174, allocations: 0 / 0.7446 GB, free: 107.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.536e-05/0.6174, allocations: 2.188 kB / 0.7446 GB, free: 107.8 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000665/0.6181, allocations: 0.5007 MB / 0.7451 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.6182, allocations: 11.09 kB / 0.7451 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.418e-05/0.6182, allocations: 46.73 kB / 0.7452 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000291/0.6185, allocations: 50.81 kB / 0.7452 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.6188, allocations: 262.5 kB / 0.7455 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.6188, allocations: 15.28 kB / 0.7455 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.523e-05/0.6189, allocations: 13.66 kB / 0.7455 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/0.6192, allocations: 204.3 kB / 0.7457 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.6192, allocations: 0 / 0.7457 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.121e-05/0.6193, allocations: 4.75 kB / 0.7457 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.6193, allocations: 4.125 kB / 0.7457 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009224/0.6202, allocations: 0.7473 MB / 0.7465 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008552/0.6211, allocations: 0.5578 MB / 0.747 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005697/0.6217, allocations: 318.5 kB / 0.7473 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.6217, allocations: 19.72 kB / 0.7473 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003126/0.622, allocations: 177 kB / 0.7475 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.622, allocations: 3.938 kB / 0.7475 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=34): time 0.0007444/0.6228, allocations: 384.6 kB / 0.7479 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.6228, allocations: 81.94 kB / 0.7479 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002677/0.6231, allocations: 249.6 kB / 0.7482 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.6232, allocations: 37.66 kB / 0.7482 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.6232, allocations: 112.1 kB / 0.7483 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.668e-05/0.6233, allocations: 120.8 kB / 0.7484 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.362e-05/0.6233, allocations: 4.188 kB / 0.7484 GB, free: 106.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.366e-05/0.6234, allocations: 335.1 kB / 0.7488 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.6236, allocations: 93.84 kB / 0.7488 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.6238, allocations: 111.8 kB / 0.749 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.624, allocations: 107.7 kB / 0.7491 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.624, allocations: 0 / 0.7491 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004721/0.6245, allocations: 293 kB / 0.7493 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.6245, allocations: 11.86 kB / 0.7493 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.6245, allocations: 3.938 kB / 0.7493 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.6245, allocations: 0.7031 kB / 0.7494 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000249/0.6248, allocations: 59.78 kB / 0.7494 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.6248, allocations: 0.9062 kB / 0.7494 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.6249, allocations: 28.34 kB / 0.7494 GB, free: 105.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.564e-05/0.625, allocations: 11.56 kB / 0.7494 GB, free: 105.8 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 (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 0.000151/0.6251, allocations: 160.2 kB / 0.7496 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.117e-05/0.6252, allocations: 28.08 kB / 0.7496 GB, free: 105.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007438/0.6259, allocations: 405.4 kB / 0.75 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.6259, allocations: 4.516 kB / 0.75 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.6259, allocations: 1.922 kB / 0.75 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.792e-06/0.6259, allocations: 1.406 kB / 0.75 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.6262, allocations: 329.7 kB / 0.7503 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.6263, allocations: 3.812 kB / 0.7503 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002012/0.6265, allocations: 57.22 kB / 0.7504 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.6265, allocations: 2.469 kB / 0.7504 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.6265, allocations: 11.5 kB / 0.7504 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.6265, allocations: 6.609 kB / 0.7504 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.6265, allocations: 4.844 kB / 0.7504 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.627, allocations: 324.8 kB / 0.7507 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001564/0.6272, allocations: 149.3 kB / 0.7509 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.043e-05/0.6272, allocations: 6.875 kB / 0.7509 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.6273, allocations: 8.531 kB / 0.7509 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.6274, allocations: 38.44 kB / 0.7509 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.6274, allocations: 14.67 kB / 0.7509 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001749/0.6276, allocations: 205.2 kB / 0.7511 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6276, allocations: 0 / 0.7511 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002869/0.6279, allocations: 71.78 kB / 0.7512 GB, free: 105.1 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 (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.001469/0.6294, allocations: 1.178 MB / 0.7523 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0004329/0.6298, allocations: 233 kB / 0.7526 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.6299, allocations: 2.844 kB / 0.7526 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.6301, allocations: 130.5 kB / 0.7527 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.6303, allocations: 33.06 kB / 0.7527 GB, free: 104.4 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.002206/0.6325, allocations: 1.433 MB / 0.7541 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.6328, allocations: 0.7585 MB / 0.7549 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.000489/0.6333, allocations: 153 kB / 0.755 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.6335, allocations: 87.36 kB / 0.7551 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.6335, allocations: 5.531 kB / 0.7551 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.186/0.8195, allocations: 5.068 MB / 0.7601 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/0.8197, allocations: 258 kB / 0.7603 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/2.491, allocations: 3.125 kB / 0.7603 GB, free: 102.4 MB / 0.5105 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)