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.6905/0.6905, allocations: 127.4 MB / 134.9 MB, free: 3.75 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.00101/0.00101, allocations: 192.8 kB / 164.7 MB, free: 6.531 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.355/1.355, allocations: 205.2 MB / 399.5 MB, free: 5.871 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.0008347/0.0008347, allocations: 91.5 kB / 476.7 MB, free: 8.598 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.646e-05/1.636e-05, allocations: 0 / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 76.76 MB / 0.6216 GB, free: 15.57 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.73/4.862, allocations: 2.146 GB / 2.768 GB, free: 40.36 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/4.863, allocations: 88.69 kB / 2.768 GB, free: 40.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.5124/5.375, allocations: 80.39 MB / 2.847 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/5.375, allocations: 0 / 2.847 GB, free: 197.6 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001036/5.375, allocations: 39.22 kB / 2.847 GB, free: 197.6 MB / 0.6355 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.002591/5.378, allocations: 1.58 MB / 2.848 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/5.378, allocations: 11.66 kB / 2.848 GB, free: 196.5 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008993/5.387, allocations: 1.055 MB / 2.849 GB, free: 196.4 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/5.389, allocations: 0.873 MB / 2.85 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/5.389, allocations: 46.77 kB / 2.85 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001703/5.389, allocations: 84.39 kB / 2.85 GB, free: 195.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002948/5.392, allocations: 2.007 MB / 2.852 GB, free: 195.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002279/5.394, allocations: 1.326 MB / 2.854 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/5.394, allocations: 0 / 2.854 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/5.394, allocations: 7.031 kB / 2.854 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/5.394, allocations: 35.59 kB / 2.854 GB, free: 194.8 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009619/5.404, allocations: 4.65 MB / 2.858 GB, free: 192.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/5.406, allocations: 1.4 MB / 2.859 GB, free: 191.9 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006193/5.406, allocations: 0.5201 MB / 2.86 GB, free: 191.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005865/5.407, allocations: 0.4927 MB / 2.86 GB, free: 191.2 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/5.408, allocations: 0.8224 MB / 2.861 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=137): time 2.996e-06/5.408, allocations: 0 / 2.861 GB, free: 190.8 MB / 0.6355 GB Notification: Performance of matching and sorting (n=137): time 0.009363/5.417, allocations: 2.089 MB / 2.863 GB, free: 190.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/5.417, allocations: 307.3 kB / 2.864 GB, free: 189.8 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00133/5.419, allocations: 0.7817 MB / 2.864 GB, free: 189.4 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001686/5.419, allocations: 29.17 kB / 2.864 GB, free: 189.3 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005349/5.42, allocations: 0.535 MB / 2.865 GB, free: 188.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004734/5.42, allocations: 429.7 kB / 2.865 GB, free: 188.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.794e-05/5.42, allocations: 4 kB / 2.865 GB, free: 188.5 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001275/5.42, allocations: 356.4 kB / 2.866 GB, free: 188.2 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007053/5.421, allocations: 427.4 kB / 2.866 GB, free: 188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008002/5.422, allocations: 0.5783 MB / 2.867 GB, free: 187.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006893/5.429, allocations: 1.247 MB / 2.868 GB, free: 187 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/5.429, allocations: 0 / 2.868 GB, free: 187 MB / 0.6355 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.009029/5.438, allocations: 2.109 MB / 2.87 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/5.438, allocations: 9.203 kB / 2.87 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/5.438, allocations: 3.344 kB / 2.87 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/5.439, allocations: 165.5 kB / 2.87 GB, free: 185.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002623/5.441, allocations: 439.8 kB / 2.87 GB, free: 185.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/5.445, allocations: 2.936 MB / 2.873 GB, free: 182.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/5.448, allocations: 241.1 kB / 2.874 GB, free: 182.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003757/5.448, allocations: 73.36 kB / 2.874 GB, free: 182.7 MB / 0.6355 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.0005042/5.448, allocations: 133.2 kB / 2.874 GB, free: 182.6 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009576/5.458, allocations: 2.094 MB / 2.876 GB, free: 181.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/5.459, allocations: 129 kB / 2.876 GB, free: 181.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/5.469, allocations: 2.604 MB / 2.878 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.46e-05/5.469, allocations: 21.98 kB / 2.879 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/5.469, allocations: 3.875 kB / 2.879 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.371e-05/5.469, allocations: 7.172 kB / 2.879 GB, free: 180.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00274/5.472, allocations: 1.357 MB / 2.88 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.195e-06/5.472, allocations: 0 / 2.88 GB, free: 179.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002589/5.475, allocations: 432.1 kB / 2.88 GB, free: 179 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009344/5.475, allocations: 167.6 kB / 2.88 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001972/5.476, allocations: 46.81 kB / 2.88 GB, free: 178.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002879/5.479, allocations: 2.964 MB / 2.883 GB, free: 175.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/5.479, allocations: 3.953 kB / 2.883 GB, free: 175.7 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009641/5.488, allocations: 2.277 MB / 2.886 GB, free: 173.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009496/5.489, allocations: 498.7 kB / 2.886 GB, free: 172.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/5.49, allocations: 11.98 kB / 2.886 GB, free: 172.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002508/5.492, allocations: 211.6 kB / 2.886 GB, free: 172.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/5.492, allocations: 101.4 kB / 2.886 GB, free: 172.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/5.493, allocations: 71.94 kB / 2.886 GB, free: 172.5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0008934/5.494, allocations: 0.6255 MB / 2.887 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.1e-07/5.494, allocations: 0 / 2.887 GB, free: 171.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001985/5.496, allocations: 494.4 kB / 2.888 GB, free: 171.4 MB / 0.6355 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.01138/5.507, allocations: 3.934 MB / 2.891 GB, free: 167.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002239/5.509, allocations: 1.386 MB / 2.893 GB, free: 166.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/5.509, allocations: 0 / 2.893 GB, free: 166.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/5.511, allocations: 0.9111 MB / 2.894 GB, free: 165.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/5.513, allocations: 336 kB / 2.894 GB, free: 164.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007585/5.52, allocations: 2.627 MB / 2.896 GB, free: 162.3 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007359/5.521, allocations: 1.269 MB / 2.898 GB, free: 161 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002484/5.524, allocations: 0.5402 MB / 2.898 GB, free: 160.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009822/5.525, allocations: 0.6046 MB / 2.899 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of SimCode: time 9.91e-07/5.525, allocations: 4 kB / 2.899 GB, free: 159.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06494/5.59, allocations: 36.23 MB / 2.934 GB, free: 123.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001623/5.59, allocations: 186.5 kB / 2.934 GB, free: 123.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.865/8.454, allocations: 4 kB / 2.934 GB, free: 123.4 MB / 0.6355 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)