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.4.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.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6533/0.6533, allocations: 117.9 MB / 133.9 MB, free: 4.535 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.001233/0.001233, allocations: 178.5 kB / 161.7 MB, free: 2.754 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.4 MB / 394.8 MB, free: 21.2 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.001038/0.001038, allocations: 104.8 kB / 470.1 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004341, allocations: 11.98 kB / 0.5423 GB, free: 7.203 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.4783, allocations: 74.53 MB / 0.6151 GB, free: 54.17 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.337/4.815, allocations: 2.146 GB / 2.761 GB, free: 237.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/4.815, allocations: 93.83 kB / 2.761 GB, free: 237.3 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1736/4.989, allocations: 83.38 MB / 2.843 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.954e-06/4.989, allocations: 0 / 2.843 GB, free: 156.2 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001469/4.989, allocations: 36 kB / 2.843 GB, free: 156.1 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.003824/4.993, allocations: 1.717 MB / 2.844 GB, free: 154.3 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/4.993, allocations: 12.02 kB / 2.844 GB, free: 154.3 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008512/5.002, allocations: 1.06 MB / 2.845 GB, free: 153.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002376/5.004, allocations: 0.9199 MB / 2.846 GB, free: 152.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.598e-05/5.004, allocations: 98.97 kB / 2.846 GB, free: 152.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004467/5.005, allocations: 124.4 kB / 2.846 GB, free: 152.1 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006601/5.011, allocations: 1.843 MB / 2.848 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.613e-05/5.011, allocations: 8.125 kB / 2.848 GB, free: 150.2 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000286/5.012, allocations: 55.94 kB / 2.848 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/5.012, allocations: 35.94 kB / 2.848 GB, free: 150.1 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008527/5.02, allocations: 2.714 MB / 2.851 GB, free: 147.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01157/5.032, allocations: 4.886 MB / 2.856 GB, free: 142.4 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01011/5.042, allocations: 2.325 MB / 2.858 GB, free: 140 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003918/5.046, allocations: 0.8675 MB / 2.859 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007421/5.047, allocations: 0.4907 MB / 2.859 GB, free: 138.6 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004133/5.051, allocations: 1.169 MB / 2.86 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=137): time 4.779e-06/5.051, allocations: 0 / 2.86 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=137): time 0.01283/5.064, allocations: 3.039 MB / 2.863 GB, free: 134.3 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/5.064, allocations: 303.8 kB / 2.864 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/5.066, allocations: 1.047 MB / 2.865 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002402/5.066, allocations: 53.7 kB / 2.865 GB, free: 132.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/5.066, allocations: 0.5205 MB / 2.865 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/5.067, allocations: 457.3 kB / 2.866 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/5.067, allocations: 24 kB / 2.866 GB, free: 131.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.819e-05/5.067, allocations: 349.9 kB / 2.866 GB, free: 131.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/5.07, allocations: 0.7518 MB / 2.867 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003474/5.074, allocations: 0.925 MB / 2.868 GB, free: 129.7 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006461/5.08, allocations: 1.588 MB / 2.869 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.127e-05/5.08, allocations: 3.938 kB / 2.869 GB, free: 128.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.008463/5.089, allocations: 2.013 MB / 2.871 GB, free: 126.1 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/5.089, allocations: 12.19 kB / 2.871 GB, free: 126.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/5.089, allocations: 0 / 2.871 GB, free: 126.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009541/5.09, allocations: 177.5 kB / 2.871 GB, free: 125.9 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/5.092, allocations: 443.3 kB / 2.872 GB, free: 125.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003052/5.095, allocations: 3.055 MB / 2.875 GB, free: 122.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002536/5.098, allocations: 270.8 kB / 2.875 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002813/5.098, allocations: 71.92 kB / 2.875 GB, free: 121.8 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 () * 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.0009226/5.099, allocations: 361.3 kB / 2.875 GB, free: 121.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003464/5.099, allocations: 138.3 kB / 2.876 GB, free: 121.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009201/5.109, allocations: 2.512 MB / 2.878 GB, free: 118.7 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/5.109, allocations: 19.98 kB / 2.878 GB, free: 118.7 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/5.109, allocations: 11.94 kB / 2.878 GB, free: 118.7 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.708e-05/5.109, allocations: 3.984 kB / 2.878 GB, free: 118.7 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002103/5.111, allocations: 1.551 MB / 2.88 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/5.111, allocations: 4 kB / 2.88 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00232/5.113, allocations: 435.4 kB / 2.88 GB, free: 116.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000876/5.114, allocations: 169.5 kB / 2.88 GB, free: 116.5 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001574/5.114, allocations: 55.94 kB / 2.88 GB, free: 116.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002735/5.117, allocations: 3.1 MB / 2.883 GB, free: 113.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/5.117, allocations: 3.938 kB / 2.883 GB, free: 113.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008318/5.125, allocations: 2.157 MB / 2.885 GB, free: 110.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009529/5.126, allocations: 0.5064 MB / 2.886 GB, free: 110.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/5.127, allocations: 28 kB / 2.886 GB, free: 110.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002306/5.129, allocations: 239.7 kB / 2.886 GB, free: 110.1 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002291/5.129, allocations: 101.2 kB / 2.886 GB, free: 110 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001633/5.129, allocations: 75.92 kB / 2.886 GB, free: 109.9 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001175/5.131, allocations: 0.7491 MB / 2.887 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/5.131, allocations: 7.938 kB / 2.887 GB, free: 109.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00181/5.132, allocations: 0.5301 MB / 2.888 GB, free: 108.6 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) * 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.002017/5.134, allocations: 1.118 MB / 2.889 GB, free: 107.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008114/5.143, allocations: 2.069 MB / 2.891 GB, free: 105.6 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/5.143, allocations: 7.938 kB / 2.891 GB, free: 105.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004079/5.147, allocations: 1.262 MB / 2.892 GB, free: 104.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/5.149, allocations: 408.9 kB / 2.892 GB, free: 103.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009299/5.158, allocations: 3.865 MB / 2.896 GB, free: 99.95 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008094/5.159, allocations: 1.238 MB / 2.897 GB, free: 98.69 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002815/5.162, allocations: 0.5484 MB / 2.898 GB, free: 98.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006683/5.163, allocations: 195.3 kB / 2.898 GB, free: 97.95 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/5.163, allocations: 3.938 kB / 2.898 GB, free: 97.94 MB / 0.6355 GB Notification: Performance of Templates: time 0.04126/5.204, allocations: 30.65 MB / 2.928 GB, free: 67.37 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)