Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9946/0.9946, allocations: 143.3 MB / 158.3 MB, free: 5.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 181.1 kB / 191.5 MB, free: 5.777 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 223.2 MB / 447.7 MB, free: 4.879 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009592/0.0009593, allocations: 96.27 kB / 0.5187 GB, free: 1.234 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00183/0.001829, allocations: 269 kB / 0.6005 GB, free: 48.8 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004456/0.0004459, allocations: 15.52 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 82.79 MB / 0.7738 GB, free: 13.79 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.347/3.515, allocations: 1.691 GB / 2.465 GB, free: 109.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002987/3.515, allocations: 98.09 kB / 2.465 GB, free: 109.3 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.1921/3.707, allocations: 91.98 MB / 2.555 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.284e-06/3.707, allocations: 0 / 2.555 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001101/3.707, allocations: 40 kB / 2.555 GB, free: 16.83 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.002967/3.71, allocations: 1.892 MB / 2.556 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/3.71, allocations: 8.031 kB / 2.556 GB, free: 14.87 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002105/3.71, allocations: 198.6 kB / 2.557 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/3.712, allocations: 385.3 kB / 2.557 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001497/3.714, allocations: 1.019 MB / 2.558 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.408e-05/3.714, allocations: 98.69 kB / 2.558 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/3.714, allocations: 136 kB / 2.558 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/3.716, allocations: 1.511 MB / 2.56 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.734e-05/3.716, allocations: 3.938 kB / 2.56 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001241/3.716, allocations: 60 kB / 2.56 GB, free: 11.32 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.056e-05/3.716, allocations: 32 kB / 2.56 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/3.719, allocations: 2.063 MB / 2.562 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006089/3.725, allocations: 4.526 MB / 2.566 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/3.728, allocations: 1.447 MB / 2.568 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/3.728, allocations: 61.11 kB / 2.568 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001216/3.729, allocations: 0.793 MB / 2.569 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=136): time 2.935e-06/3.729, allocations: 0 / 2.569 GB, free: 2.27 MB / 0.7136 GB Notification: Performance of matching and sorting (n=136): time 0.005302/3.734, allocations: 2.156 MB / 2.571 GB, free: 64 kB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3361/4.07, allocations: 453.7 kB / 2.571 GB, free: 218.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/4.072, allocations: 1.074 MB / 2.572 GB, free: 218 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003442/4.072, allocations: 54.05 kB / 2.572 GB, free: 218 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000464/4.073, allocations: 0.6056 MB / 2.573 GB, free: 217.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/4.073, allocations: 455.1 kB / 2.573 GB, free: 217.7 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.399e-05/4.073, allocations: 24.31 kB / 2.573 GB, free: 217.7 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.644e-05/4.073, allocations: 348.9 kB / 2.574 GB, free: 217.4 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009211/4.074, allocations: 444.5 kB / 2.574 GB, free: 217.4 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009611/4.075, allocations: 0.6576 MB / 2.575 GB, free: 217.2 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000945/4.076, allocations: 0.5264 MB / 2.575 GB, free: 217.2 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/4.076, allocations: 0 / 2.575 GB, free: 217.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003241/4.08, allocations: 1.424 MB / 2.577 GB, free: 217.1 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/4.08, allocations: 8.969 kB / 2.577 GB, free: 217.1 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/4.08, allocations: 2.906 kB / 2.577 GB, free: 217.1 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/4.081, allocations: 165.4 kB / 2.577 GB, free: 217 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/4.082, allocations: 277.3 kB / 2.577 GB, free: 217 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003281/4.085, allocations: 3.091 MB / 2.58 GB, free: 214.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/4.086, allocations: 157.5 kB / 2.58 GB, free: 214.4 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/4.086, allocations: 57.03 kB / 2.58 GB, free: 214.4 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 141 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.000759/4.087, allocations: 379.7 kB / 2.581 GB, free: 214.3 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/4.087, allocations: 146.7 kB / 2.581 GB, free: 214.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004579/4.092, allocations: 2.024 MB / 2.583 GB, free: 214.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/4.092, allocations: 18.23 kB / 2.583 GB, free: 214.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/4.092, allocations: 2.406 kB / 2.583 GB, free: 214.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.263e-05/4.092, allocations: 8.484 kB / 2.583 GB, free: 214.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/4.094, allocations: 1.522 MB / 2.584 GB, free: 213.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/4.094, allocations: 0 / 2.584 GB, free: 213.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/4.095, allocations: 282 kB / 2.584 GB, free: 213.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001034/4.096, allocations: 167.1 kB / 2.585 GB, free: 213.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/4.096, allocations: 43.91 kB / 2.585 GB, free: 213.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003105/4.099, allocations: 3.156 MB / 2.588 GB, free: 211.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/4.099, allocations: 0 / 2.588 GB, free: 211.3 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004105/4.104, allocations: 1.654 MB / 2.589 GB, free: 211 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/4.105, allocations: 484.5 kB / 2.59 GB, free: 210.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002033/4.105, allocations: 37.52 kB / 2.59 GB, free: 210.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/4.106, allocations: 132 kB / 2.59 GB, free: 210.9 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003141/4.106, allocations: 121.3 kB / 2.59 GB, free: 210.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001405/4.106, allocations: 59.39 kB / 2.59 GB, free: 210.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001313/4.108, allocations: 0.8536 MB / 2.591 GB, free: 210.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/4.108, allocations: 0 / 2.591 GB, free: 210.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001783/4.109, allocations: 0.5467 MB / 2.591 GB, free: 210.7 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition4,$whenCondition3,weaDat.conTimMin.tNext,weaDat.conTim.tNext,$whenCondition2,$whenCondition1,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext) * Number of discrete states: 4 (weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (161): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.005862/4.115, allocations: 3.314 MB / 2.595 GB, free: 209.8 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003017/4.118, allocations: 1.455 MB / 2.596 GB, free: 209.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/4.118, allocations: 1.188 kB / 2.596 GB, free: 209.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/4.12, allocations: 0.9712 MB / 2.597 GB, free: 209.3 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001945/4.122, allocations: 478.5 kB / 2.598 GB, free: 209.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/4.14, allocations: 10.32 MB / 2.608 GB, free: 205.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006926/4.141, allocations: 1.323 MB / 2.609 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001681/4.142, allocations: 0.4996 MB / 2.609 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007755/4.143, allocations: 0.6705 MB / 2.61 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of SimCode: time 1.363e-06/4.143, allocations: 3.594 kB / 2.61 GB, free: 204.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06767/4.211, allocations: 47.13 MB / 2.656 GB, free: 193.8 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/4.211, allocations: 271.4 kB / 2.656 GB, free: 193.4 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.669/7.88, allocations: 3.625 kB / 2.656 GB, free: 193.4 MB / 0.7136 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)