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.7655/0.7655, allocations: 128.7 MB / 143.7 MB, free: 2.312 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.001606/0.001606, allocations: 174.4 kB / 173.7 MB, free: 6.141 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.984/1.984, allocations: 205.4 MB / 409 MB, free: 10.51 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.00119/0.00119, allocations: 85.41 kB / 486.5 MB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000387/0.0003871, allocations: 11.5 kB / 0.5604 GB, free: 97.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1952, allocations: 76.77 MB / 0.6354 GB, free: 30.48 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.02/5.215, allocations: 2.147 GB / 2.782 GB, free: 228.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000267/5.215, allocations: 91.36 kB / 2.782 GB, free: 228.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.1718/5.387, allocations: 81.69 MB / 2.862 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.973e-06/5.387, allocations: 4 kB / 2.862 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001151/5.387, allocations: 47.88 kB / 2.862 GB, free: 149.3 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.003208/5.391, allocations: 1.748 MB / 2.864 GB, free: 147.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/5.391, allocations: 8.031 kB / 2.864 GB, free: 147.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003179/5.391, allocations: 194.3 kB / 2.864 GB, free: 147.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008956/5.4, allocations: 1.067 MB / 2.865 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001865/5.402, allocations: 0.8805 MB / 2.866 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.684e-05/5.402, allocations: 94.59 kB / 2.866 GB, free: 145.2 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/5.402, allocations: 124 kB / 2.866 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005824/5.408, allocations: 1.835 MB / 2.868 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.019e-05/5.408, allocations: 0 / 2.868 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/5.408, allocations: 60 kB / 2.868 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/5.408, allocations: 32 kB / 2.868 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008954/5.417, allocations: 2.702 MB / 2.871 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/5.429, allocations: 4.914 MB / 2.876 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01081/5.44, allocations: 2.317 MB / 2.878 GB, free: 133 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008307/5.441, allocations: 0.4947 MB / 2.878 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004566/5.445, allocations: 1.164 MB / 2.879 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=137): time 4.268e-06/5.445, allocations: 0 / 2.879 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=137): time 0.01397/5.459, allocations: 3.031 MB / 2.882 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/5.46, allocations: 311.8 kB / 2.883 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00147/5.461, allocations: 0.9362 MB / 2.884 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000251/5.461, allocations: 53.7 kB / 2.884 GB, free: 126.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00036/5.462, allocations: 0.5167 MB / 2.884 GB, free: 126.3 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003994/5.462, allocations: 453.4 kB / 2.885 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/5.462, allocations: 24 kB / 2.885 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.594e-05/5.462, allocations: 349.9 kB / 2.885 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003573/5.466, allocations: 0.7558 MB / 2.886 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003718/5.47, allocations: 0.9173 MB / 2.887 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003494/5.473, allocations: 0.7844 MB / 2.887 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/5.473, allocations: 0 / 2.887 GB, free: 122.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.009215/5.482, allocations: 2.029 MB / 2.889 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/5.482, allocations: 4 kB / 2.889 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/5.482, allocations: 4 kB / 2.889 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/5.484, allocations: 169.7 kB / 2.889 GB, free: 120.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002773/5.486, allocations: 435.3 kB / 2.89 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00321/5.49, allocations: 3.082 MB / 2.893 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002874/5.493, allocations: 278.6 kB / 2.893 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002888/5.493, allocations: 75.92 kB / 2.893 GB, free: 116.6 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 () * 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.000957/5.494, allocations: 357.4 kB / 2.894 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003807/5.494, allocations: 130.4 kB / 2.894 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0105/5.505, allocations: 2.527 MB / 2.896 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/5.505, allocations: 16 kB / 2.896 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/5.505, allocations: 0 / 2.896 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.879e-05/5.505, allocations: 7.969 kB / 2.896 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/5.507, allocations: 1.55 MB / 2.898 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-05/5.507, allocations: 4 kB / 2.898 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/5.51, allocations: 431.4 kB / 2.898 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009659/5.511, allocations: 181.5 kB / 2.898 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000241/5.511, allocations: 55.94 kB / 2.898 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002919/5.514, allocations: 3.127 MB / 2.901 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/5.514, allocations: 0 / 2.901 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009787/5.524, allocations: 2.175 MB / 2.904 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/5.525, allocations: 0.4948 MB / 2.904 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003244/5.525, allocations: 28 kB / 2.904 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002601/5.528, allocations: 239.7 kB / 2.904 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002387/5.528, allocations: 109.1 kB / 2.904 GB, free: 104.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/5.529, allocations: 71.94 kB / 2.904 GB, free: 104.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001164/5.53, allocations: 0.7492 MB / 2.905 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/5.53, allocations: 0 / 2.905 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001955/5.532, allocations: 0.5339 MB / 2.906 GB, free: 103.4 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) * Number of clocked states: 0 () * 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.01092/5.543, allocations: 3.816 MB / 2.909 GB, free: 99.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.008664/5.551, allocations: 2.077 MB / 2.911 GB, free: 97.59 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/5.551, allocations: 4 kB / 2.911 GB, free: 97.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004793/5.556, allocations: 1.262 MB / 2.913 GB, free: 96.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002/5.558, allocations: 392.1 kB / 2.913 GB, free: 95.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03042/5.589, allocations: 10.4 MB / 2.923 GB, free: 85.21 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009648/5.59, allocations: 1.265 MB / 2.924 GB, free: 83.92 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002741/5.592, allocations: 0.5523 MB / 2.925 GB, free: 83.36 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/5.594, allocations: 0.6124 MB / 2.926 GB, free: 82.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.393e-06/5.594, allocations: 0 / 2.926 GB, free: 82.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06954/5.663, allocations: 43.29 MB / 2.968 GB, free: 39.63 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/5.663, allocations: 258.6 kB / 2.968 GB, free: 39.28 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.384/9.048, allocations: 0 / 2.968 GB, free: 39.28 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)