Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7957/0.7957, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 175.8 kB / 182.2 MB, free: 9.477 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009861/0.0009861, allocations: 92.09 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001656/0.001656, allocations: 287.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.801e-05, allocations: 0 / 0.6765 GB, free: 12.85 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4193/0.4193, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.61/4.029, allocations: 1.69 GB / 2.448 GB, free: 96.5 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/4.03, allocations: 87.83 kB / 2.448 GB, free: 96.41 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.1925/4.222, allocations: 90.42 MB / 2.536 GB, free: 5.527 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.222e-06/4.222, allocations: 0 / 2.536 GB, free: 5.527 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001061/4.222, allocations: 47.92 kB / 2.536 GB, free: 5.48 MB / 0.698 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.002449/4.225, allocations: 1.654 MB / 2.538 GB, free: 3.77 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/4.225, allocations: 8.031 kB / 2.538 GB, free: 3.762 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/4.227, allocations: 381.3 kB / 2.538 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00133/4.228, allocations: 1.015 MB / 2.539 GB, free: 2.316 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.111e-05/4.228, allocations: 44 kB / 2.539 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001222/4.228, allocations: 79.94 kB / 2.539 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002172/4.23, allocations: 1.871 MB / 2.541 GB, free: 328 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3396/4.57, allocations: 1.262 MB / 2.542 GB, free: 222 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.139e-05/4.57, allocations: 4.781 kB / 2.542 GB, free: 222 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/4.57, allocations: 2.719 kB / 2.542 GB, free: 222 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.459e-05/4.57, allocations: 33.86 kB / 2.542 GB, free: 222 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007171/4.577, allocations: 4.255 MB / 2.546 GB, free: 220.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001917/4.579, allocations: 1.264 MB / 2.548 GB, free: 220.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006336/4.58, allocations: 473.9 kB / 2.548 GB, free: 220.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/4.58, allocations: 60.17 kB / 2.548 GB, free: 220.8 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001066/4.581, allocations: 0.7108 MB / 2.549 GB, free: 220.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=136): time 3.006e-06/4.581, allocations: 2.719 kB / 2.549 GB, free: 220.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=136): time 0.002925/4.584, allocations: 1.239 MB / 2.55 GB, free: 220.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.732e-05/4.584, allocations: 458.7 kB / 2.55 GB, free: 220 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/4.585, allocations: 0.9071 MB / 2.551 GB, free: 219.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.653e-05/4.586, allocations: 28.58 kB / 2.551 GB, free: 219.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/4.586, allocations: 0.6237 MB / 2.552 GB, free: 219.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002956/4.586, allocations: 434 kB / 2.552 GB, free: 219.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.068e-05/4.586, allocations: 0 / 2.552 GB, free: 219.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.846e-05/4.586, allocations: 356.7 kB / 2.553 GB, free: 219.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006079/4.587, allocations: 368.1 kB / 2.553 GB, free: 219.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008494/4.588, allocations: 0.583 MB / 2.554 GB, free: 218.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007661/4.589, allocations: 475.1 kB / 2.554 GB, free: 218.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/4.589, allocations: 3.406 kB / 2.554 GB, free: 218.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002446/4.591, allocations: 1.256 MB / 2.555 GB, free: 218.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/4.591, allocations: 10.84 kB / 2.555 GB, free: 218.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/4.591, allocations: 0 / 2.555 GB, free: 218.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/4.592, allocations: 169.3 kB / 2.555 GB, free: 218.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/4.593, allocations: 270.7 kB / 2.556 GB, free: 218.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002679/4.596, allocations: 2.934 MB / 2.559 GB, free: 216.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/4.597, allocations: 117.4 kB / 2.559 GB, free: 216.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.163e-05/4.597, allocations: 59.12 kB / 2.559 GB, free: 216.2 MB / 0.698 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.0002277/4.597, allocations: 137.4 kB / 2.559 GB, free: 216.1 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/4.597, allocations: 140.6 kB / 2.559 GB, free: 216 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003422/4.601, allocations: 1.803 MB / 2.561 GB, free: 215.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/4.601, allocations: 16.81 kB / 2.561 GB, free: 215.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/4.601, allocations: 3.781 kB / 2.561 GB, free: 215.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/4.601, allocations: 11.17 kB / 2.561 GB, free: 215.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/4.602, allocations: 1.317 MB / 2.562 GB, free: 215.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/4.602, allocations: 0 / 2.562 GB, free: 215.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/4.604, allocations: 285.6 kB / 2.562 GB, free: 215.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/4.605, allocations: 160 kB / 2.563 GB, free: 215.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.086e-05/4.605, allocations: 34.75 kB / 2.563 GB, free: 215.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002965/4.608, allocations: 2.982 MB / 2.565 GB, free: 213.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/4.608, allocations: 6.672 kB / 2.565 GB, free: 213.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/4.61, allocations: 1.466 MB / 2.567 GB, free: 213 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000499/4.611, allocations: 470 kB / 2.567 GB, free: 212.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/4.611, allocations: 12.67 kB / 2.567 GB, free: 212.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008964/4.612, allocations: 100.7 kB / 2.567 GB, free: 212.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/4.612, allocations: 120.2 kB / 2.568 GB, free: 212.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.371e-05/4.612, allocations: 62.95 kB / 2.568 GB, free: 212.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006703/4.613, allocations: 0.7042 MB / 2.568 GB, free: 212.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/4.613, allocations: 1.875 kB / 2.568 GB, free: 212.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001169/4.614, allocations: 0.4998 MB / 2.569 GB, free: 212.7 MB / 0.698 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.001585/4.616, allocations: 1.174 MB / 2.57 GB, free: 212.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001665/4.617, allocations: 1.269 MB / 2.571 GB, free: 212.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/4.617, allocations: 7.562 kB / 2.571 GB, free: 212.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/4.618, allocations: 0.8626 MB / 2.572 GB, free: 212.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/4.62, allocations: 429.6 kB / 2.572 GB, free: 212.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005096/4.625, allocations: 2.435 MB / 2.575 GB, free: 211.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/4.626, allocations: 1.32 MB / 2.576 GB, free: 210.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001436/4.627, allocations: 0.4931 MB / 2.577 GB, free: 210.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003788/4.628, allocations: 182.2 kB / 2.577 GB, free: 210.7 MB / 0.698 GB Notification: Performance of SimCode: time 7.71e-07/4.628, allocations: 0 / 2.577 GB, free: 210.7 MB / 0.698 GB Notification: Performance of Templates: time 0.03352/4.661, allocations: 26.3 MB / 2.602 GB, free: 208.6 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)