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: translateModel(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001143/0.001143, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5018/0.5018, allocations: 90.81 MB / 104.5 MB, free: 13.93 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.521/1.521, allocations: 221.3 MB / 348.3 MB, free: 12.57 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.001009/0.001009, allocations: 94.22 kB / 421.2 MB, free: 5.68 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.659e-05, allocations: 4 kB / 0.4896 GB, free: 46.64 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2001/0.2002, allocations: 72.31 MB / 0.5602 GB, free: 6.426 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.575/4.775, allocations: 1.684 GB / 2.244 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/4.775, allocations: 85.62 kB / 2.244 GB, free: 171.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.1946/4.97, allocations: 91.59 MB / 2.334 GB, free: 97.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.064e-06/4.97, allocations: 0 / 2.334 GB, free: 97.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.000106/4.97, allocations: 43.94 kB / 2.334 GB, free: 97.17 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.003144/4.973, allocations: 1.673 MB / 2.335 GB, free: 95.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/4.973, allocations: 11.98 kB / 2.335 GB, free: 95.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/4.975, allocations: 377.2 kB / 2.336 GB, free: 95.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/4.977, allocations: 1.015 MB / 2.337 GB, free: 93.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.169e-05/4.977, allocations: 102.7 kB / 2.337 GB, free: 93.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/4.977, allocations: 128 kB / 2.337 GB, free: 93.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002054/4.979, allocations: 1.454 MB / 2.338 GB, free: 92.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/4.979, allocations: 0 / 2.338 GB, free: 92.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001206/4.979, allocations: 60 kB / 2.338 GB, free: 92.15 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.897e-05/4.979, allocations: 32 kB / 2.338 GB, free: 92.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002205/4.981, allocations: 1.954 MB / 2.34 GB, free: 90.16 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006/4.987, allocations: 4.526 MB / 2.345 GB, free: 85.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/4.989, allocations: 1.351 MB / 2.346 GB, free: 84.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006115/4.99, allocations: 0.4932 MB / 2.347 GB, free: 83.67 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/4.99, allocations: 62 kB / 2.347 GB, free: 83.61 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009588/4.991, allocations: 0.7463 MB / 2.347 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=136): time 3.096e-06/4.991, allocations: 4 kB / 2.347 GB, free: 82.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=136): time 0.00268/4.993, allocations: 1.316 MB / 2.349 GB, free: 81.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001146/4.994, allocations: 450.1 kB / 2.349 GB, free: 80.97 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001231/4.995, allocations: 1.063 MB / 2.35 GB, free: 79.89 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.819e-05/4.995, allocations: 53.7 kB / 2.35 GB, free: 79.84 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003557/4.995, allocations: 0.6071 MB / 2.351 GB, free: 79.22 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002467/4.996, allocations: 449.5 kB / 2.351 GB, free: 78.78 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.796e-05/4.996, allocations: 24 kB / 2.351 GB, free: 78.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.932e-05/4.996, allocations: 349.9 kB / 2.352 GB, free: 78.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005361/4.996, allocations: 394.5 kB / 2.352 GB, free: 78.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006551/4.997, allocations: 0.6074 MB / 2.352 GB, free: 77.34 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/4.998, allocations: 494.1 kB / 2.353 GB, free: 76.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/4.998, allocations: 0 / 2.353 GB, free: 76.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002474/5, allocations: 1.333 MB / 2.354 GB, free: 75.52 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/5, allocations: 4 kB / 2.354 GB, free: 75.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/5, allocations: 4 kB / 2.354 GB, free: 75.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009949/5.001, allocations: 177.6 kB / 2.354 GB, free: 75.33 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/5.002, allocations: 267.6 kB / 2.355 GB, free: 75.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/5.005, allocations: 3.057 MB / 2.358 GB, free: 71.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/5.006, allocations: 162.8 kB / 2.358 GB, free: 71.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/5.007, allocations: 63.95 kB / 2.358 GB, free: 71.51 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 () * 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.0002528/5.007, allocations: 176.7 kB / 2.358 GB, free: 71.33 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/5.007, allocations: 146.2 kB / 2.358 GB, free: 71.19 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/5.011, allocations: 1.903 MB / 2.36 GB, free: 69.26 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/5.011, allocations: 23.98 kB / 2.36 GB, free: 69.24 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/5.011, allocations: 0 / 2.36 GB, free: 69.24 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/5.011, allocations: 15.91 kB / 2.36 GB, free: 69.22 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/5.013, allocations: 1.525 MB / 2.362 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/5.013, allocations: 0 / 2.362 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/5.014, allocations: 275.7 kB / 2.362 GB, free: 67.38 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008724/5.015, allocations: 169.5 kB / 2.362 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.814e-05/5.015, allocations: 51.97 kB / 2.362 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002671/5.017, allocations: 3.096 MB / 2.365 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/5.017, allocations: 3.984 kB / 2.365 GB, free: 63.78 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002668/5.02, allocations: 1.559 MB / 2.367 GB, free: 62.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/5.021, allocations: 486.4 kB / 2.367 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/5.021, allocations: 32 kB / 2.367 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000939/5.022, allocations: 131.9 kB / 2.367 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001781/5.022, allocations: 121.3 kB / 2.367 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.43e-05/5.022, allocations: 64.08 kB / 2.367 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009244/5.023, allocations: 0.8335 MB / 2.368 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/5.023, allocations: 0 / 2.368 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001357/5.024, allocations: 0.5534 MB / 2.369 GB, free: 59.95 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) * 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.001667/5.026, allocations: 1.115 MB / 2.37 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001926/5.028, allocations: 1.347 MB / 2.371 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/5.028, allocations: 0 / 2.371 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00115/5.029, allocations: 0.9042 MB / 2.372 GB, free: 56.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/5.031, allocations: 466.9 kB / 2.372 GB, free: 56.16 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005338/5.036, allocations: 2.533 MB / 2.375 GB, free: 53.59 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/5.037, allocations: 1.32 MB / 2.376 GB, free: 52.25 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.00161/5.039, allocations: 0.4996 MB / 2.377 GB, free: 51.74 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000403/5.039, allocations: 183.3 kB / 2.377 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of SimCode: time 1.663e-06/5.039, allocations: 0 / 2.377 GB, free: 51.57 MB / 0.6042 GB Notification: Performance of Templates: time 0.04657/5.086, allocations: 33.96 MB / 2.41 GB, free: 17.73 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (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 & ./IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)