Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.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.Examples.ReaderTMY3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3",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.8375/0.8375, 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.001201/0.001201, allocations: 179.7 kB / 169.7 MB, free: 1.75 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.594/1.594, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.001049/0.001049, allocations: 89.8 kB / 481.8 MB, free: 4.246 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.762e-05/3.78e-05, allocations: 4 kB / 0.5533 GB, free: 54.76 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1576, allocations: 76.76 MB / 0.6282 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.294/5.452, allocations: 2.147 GB / 2.775 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/5.452, allocations: 90.56 kB / 2.775 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1684/5.62, allocations: 81.35 MB / 2.855 GB, free: 54.69 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.523e-06/5.62, allocations: 0 / 2.855 GB, free: 54.69 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000101/5.62, allocations: 47.92 kB / 2.855 GB, free: 54.64 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.002543/5.623, allocations: 1.57 MB / 2.856 GB, free: 53.02 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/5.623, allocations: 8.031 kB / 2.856 GB, free: 53.01 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001849/5.623, allocations: 194.2 kB / 2.856 GB, free: 52.81 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008604/5.632, allocations: 1.067 MB / 2.857 GB, free: 51.74 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00161/5.634, allocations: 0.8728 MB / 2.858 GB, free: 50.81 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.447e-05/5.634, allocations: 94.59 kB / 2.858 GB, free: 50.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/5.634, allocations: 131.9 kB / 2.858 GB, free: 50.59 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002263/5.636, allocations: 1.503 MB / 2.86 GB, free: 49.02 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.587e-05/5.636, allocations: 0 / 2.86 GB, free: 49.02 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001336/5.636, allocations: 56 kB / 2.86 GB, free: 48.96 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/5.636, allocations: 32 kB / 2.86 GB, free: 48.93 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002445/5.639, allocations: 2.094 MB / 2.862 GB, free: 46.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009486/5.648, allocations: 4.888 MB / 2.867 GB, free: 41.85 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/5.65, allocations: 1.471 MB / 2.868 GB, free: 40.36 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007263/5.651, allocations: 0.5662 MB / 2.869 GB, free: 39.79 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000595/5.652, allocations: 0.4909 MB / 2.869 GB, free: 39.21 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/5.653, allocations: 0.868 MB / 2.87 GB, free: 38.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=137): time 3.407e-06/5.653, allocations: 0 / 2.87 GB, free: 38.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=137): time 0.003261/5.656, allocations: 1.389 MB / 2.872 GB, free: 36.91 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.247e-05/5.656, allocations: 307.8 kB / 2.872 GB, free: 36.54 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/5.657, allocations: 0.9097 MB / 2.873 GB, free: 35.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001363/5.657, allocations: 53.7 kB / 2.873 GB, free: 35.55 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003442/5.658, allocations: 0.5245 MB / 2.873 GB, free: 35.02 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003005/5.658, allocations: 449.4 kB / 2.874 GB, free: 34.58 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.021e-05/5.658, allocations: 27.94 kB / 2.874 GB, free: 34.55 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.635e-05/5.658, allocations: 353.9 kB / 2.874 GB, free: 34.2 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006751/5.659, allocations: 450.5 kB / 2.874 GB, free: 33.76 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007355/5.66, allocations: 0.6094 MB / 2.875 GB, free: 33.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007243/5.66, allocations: 0.4933 MB / 2.876 GB, free: 32.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/5.66, allocations: 0 / 2.876 GB, free: 32.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002859/5.663, allocations: 1.415 MB / 2.877 GB, free: 31.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/5.663, allocations: 8.188 kB / 2.877 GB, free: 31.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/5.663, allocations: 4 kB / 2.877 GB, free: 31.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001021/5.664, allocations: 165.5 kB / 2.877 GB, free: 30.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002603/5.667, allocations: 439.3 kB / 2.878 GB, free: 30.56 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/5.67, allocations: 3.057 MB / 2.881 GB, free: 27.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/5.673, allocations: 266.8 kB / 2.881 GB, free: 26.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/5.673, allocations: 71.92 kB / 2.881 GB, free: 26.89 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim1.tStart,$PRE.weaDatInpCon.conTim.tStart,weaDatInpCon.conTim.tStart) * Number of discrete 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.0003156/5.673, allocations: 180.7 kB / 2.881 GB, free: 26.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/5.673, allocations: 138.3 kB / 2.881 GB, free: 26.57 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004138/5.678, allocations: 1.937 MB / 2.883 GB, free: 24.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/5.678, allocations: 16 kB / 2.883 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/5.678, allocations: 0 / 2.883 GB, free: 24.61 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/5.678, allocations: 7.969 kB / 2.883 GB, free: 24.6 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/5.68, allocations: 1.557 MB / 2.885 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.531e-06/5.68, allocations: 0 / 2.885 GB, free: 22.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002393/5.682, allocations: 435.4 kB / 2.885 GB, free: 22.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008836/5.683, allocations: 165.5 kB / 2.885 GB, free: 22.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001145/5.683, allocations: 55.94 kB / 2.885 GB, free: 22.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002746/5.686, allocations: 3.111 MB / 2.888 GB, free: 18.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/5.686, allocations: 0 / 2.888 GB, free: 18.95 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002958/5.689, allocations: 1.575 MB / 2.89 GB, free: 17.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007821/5.689, allocations: 0.4986 MB / 2.89 GB, free: 16.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/5.69, allocations: 28 kB / 2.89 GB, free: 16.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/5.692, allocations: 239.7 kB / 2.891 GB, free: 16.56 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/5.692, allocations: 113.3 kB / 2.891 GB, free: 16.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001319/5.692, allocations: 75.94 kB / 2.891 GB, free: 16.38 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008647/5.693, allocations: 0.7266 MB / 2.891 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.9e-07/5.693, allocations: 0 / 2.891 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00158/5.695, allocations: 0.5302 MB / 2.892 GB, free: 15.11 MB / 0.6511 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.conTim1.tStart,weaDat.conTim.tStart,$whenCondition2,$whenCondition1,weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart) * Number of discrete states: 4 (weaDatInpCon.conTim1.tStart,weaDatInpCon.conTim.tStart,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 145 * 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.004666/5.699, allocations: 3.19 MB / 2.895 GB, free: 11.97 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002331/5.702, allocations: 1.452 MB / 2.896 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.066e-06/5.702, allocations: 4 kB / 2.896 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001408/5.703, allocations: 0.9588 MB / 2.897 GB, free: 9.504 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001813/5.705, allocations: 397.5 kB / 2.898 GB, free: 9.117 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/5.711, allocations: 2.759 MB / 2.9 GB, free: 6.309 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005547/5.712, allocations: 1.269 MB / 2.902 GB, free: 5.008 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002148/5.714, allocations: 0.5446 MB / 2.902 GB, free: 4.461 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008425/5.715, allocations: 0.6046 MB / 2.903 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of SimCode: time 1.242e-06/5.715, allocations: 0 / 2.903 GB, free: 3.855 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4467/6.162, allocations: 45.16 MB / 2.947 GB, free: 181.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001809/6.162, allocations: 233 kB / 2.947 GB, free: 181.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.252/9.414, allocations: 4 kB / 2.947 GB, free: 181.4 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3_fmu --startTime=0 --stopTime=8.64e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_WeatherData_Examples_ReaderTMY3.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)