Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 181.5 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4863/0.4863, allocations: 91.98 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.2 MB / 354.3 MB, free: 12.18 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 99.2 kB / 427.4 MB, free: 3.902 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.000415, allocations: 15.98 kB / 0.4983 GB, free: 42.21 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1961/0.1965, allocations: 72.29 MB / 0.5689 GB, free: 1.852 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.011/5.208, allocations: 1.684 GB / 2.253 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/5.208, allocations: 94.61 kB / 2.253 GB, free: 162.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.2073/5.415, allocations: 91.98 MB / 2.343 GB, free: 80.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.815e-06/5.415, allocations: 0 / 2.343 GB, free: 80.15 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002334/5.416, allocations: 47.88 kB / 2.343 GB, free: 80.1 MB / 0.6042 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.006042/5.422, allocations: 1.882 MB / 2.345 GB, free: 78.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.312e-05/5.422, allocations: 12.03 kB / 2.345 GB, free: 78.14 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007659/5.422, allocations: 202.5 kB / 2.345 GB, free: 77.94 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00275/5.425, allocations: 373.4 kB / 2.345 GB, free: 77.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004329/5.43, allocations: 1.015 MB / 2.346 GB, free: 76.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/5.43, allocations: 102.7 kB / 2.346 GB, free: 76.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007077/5.431, allocations: 128 kB / 2.346 GB, free: 76.27 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005818/5.436, allocations: 1.523 MB / 2.348 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.806e-05/5.436, allocations: 4 kB / 2.348 GB, free: 74.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003841/5.437, allocations: 56 kB / 2.348 GB, free: 74.6 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.793e-05/5.437, allocations: 36 kB / 2.348 GB, free: 74.57 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004111/5.441, allocations: 2.055 MB / 2.35 GB, free: 72.51 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009063/5.45, allocations: 4.534 MB / 2.354 GB, free: 67.88 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/5.453, allocations: 1.463 MB / 2.356 GB, free: 66.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/5.453, allocations: 54.08 kB / 2.356 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/5.455, allocations: 0.7999 MB / 2.357 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 5.23e-06/5.455, allocations: 3.938 kB / 2.357 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=136): time 0.005895/5.461, allocations: 2.148 MB / 2.359 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002018/5.461, allocations: 458.1 kB / 2.359 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/5.463, allocations: 1.073 MB / 2.36 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002136/5.463, allocations: 49.7 kB / 2.36 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007708/5.464, allocations: 0.6226 MB / 2.361 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004514/5.465, allocations: 445.5 kB / 2.361 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001109/5.465, allocations: 20 kB / 2.361 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001486/5.465, allocations: 353.9 kB / 2.362 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/5.466, allocations: 442.4 kB / 2.362 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001181/5.467, allocations: 0.6564 MB / 2.363 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/5.468, allocations: 0.5285 MB / 2.363 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/5.468, allocations: 0 / 2.363 GB, free: 58.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003922/5.472, allocations: 1.432 MB / 2.365 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/5.472, allocations: 4 kB / 2.365 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/5.472, allocations: 4 kB / 2.365 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/5.473, allocations: 169.8 kB / 2.365 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/5.475, allocations: 271.5 kB / 2.365 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003482/5.478, allocations: 3.081 MB / 2.368 GB, free: 53.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/5.48, allocations: 170.8 kB / 2.368 GB, free: 53.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/5.48, allocations: 51.97 kB / 2.368 GB, free: 53.04 MB / 0.6042 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.001192/5.481, allocations: 389.5 kB / 2.369 GB, free: 52.65 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005325/5.482, allocations: 146.2 kB / 2.369 GB, free: 52.51 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004992/5.487, allocations: 2.019 MB / 2.371 GB, free: 50.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/5.487, allocations: 19.98 kB / 2.371 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/5.487, allocations: 0 / 2.371 GB, free: 50.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/5.487, allocations: 11.97 kB / 2.371 GB, free: 50.44 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/5.49, allocations: 1.522 MB / 2.372 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.329e-05/5.49, allocations: 0 / 2.372 GB, free: 48.87 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/5.491, allocations: 279.6 kB / 2.373 GB, free: 48.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001082/5.492, allocations: 165.5 kB / 2.373 GB, free: 48.43 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001723/5.492, allocations: 51.91 kB / 2.373 GB, free: 48.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003514/5.496, allocations: 3.143 MB / 2.376 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/5.496, allocations: 0 / 2.376 GB, free: 44.96 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003858/5.5, allocations: 1.657 MB / 2.378 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/5.501, allocations: 482.5 kB / 2.378 GB, free: 42.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004226/5.501, allocations: 36 kB / 2.378 GB, free: 42.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001338/5.503, allocations: 131.9 kB / 2.378 GB, free: 42.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002426/5.503, allocations: 117.8 kB / 2.378 GB, free: 42.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001288/5.503, allocations: 59.97 kB / 2.378 GB, free: 42.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001553/5.504, allocations: 0.8552 MB / 2.379 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/5.505, allocations: 0 / 2.379 GB, free: 41.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002236/5.507, allocations: 0.5457 MB / 2.38 GB, free: 41.03 MB / 0.6042 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.006317/5.513, allocations: 3.325 MB / 2.383 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003102/5.516, allocations: 1.455 MB / 2.384 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/5.516, allocations: 0 / 2.384 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001714/5.518, allocations: 0.9576 MB / 2.385 GB, free: 35.38 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002481/5.52, allocations: 482.9 kB / 2.386 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0204/5.541, allocations: 10.33 MB / 2.396 GB, free: 24.24 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001104/5.542, allocations: 1.324 MB / 2.397 GB, free: 22.88 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002374/5.544, allocations: 0.4957 MB / 2.398 GB, free: 22.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001234/5.546, allocations: 0.675 MB / 2.398 GB, free: 21.71 MB / 0.6042 GB Notification: Performance of SimCode: time 1.433e-06/5.546, allocations: 4 kB / 2.398 GB, free: 21.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4463/5.992, allocations: 47.05 MB / 2.444 GB, free: 161.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002474/5.992, allocations: 262.1 kB / 2.444 GB, free: 160.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.555/9.547, allocations: 0 / 2.444 GB, free: 160.7 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)