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.7466/0.7466, allocations: 143.4 MB / 158.3 MB, free: 5.766 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.001074/0.001074, allocations: 181 kB / 191.5 MB, free: 5.746 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.323/1.323, allocations: 223.2 MB / 447.7 MB, free: 4.801 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.0008665/0.0008667, allocations: 92.31 kB / 0.5188 GB, free: 1.164 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001709/0.001709, allocations: 272.4 kB / 0.6005 GB, free: 48.74 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006621/0.0006619, allocations: 10.28 kB / 0.6929 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1952, allocations: 82.8 MB / 0.7737 GB, free: 13.84 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.596/3.791, allocations: 1.691 GB / 2.465 GB, free: 62.48 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/3.791, allocations: 96.25 kB / 2.465 GB, free: 62.43 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.5256/4.317, allocations: 91.94 MB / 2.554 GB, free: 228.4 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.013e-06/4.317, allocations: 0 / 2.554 GB, free: 228.4 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001812/4.317, allocations: 48.09 kB / 2.555 GB, free: 228.4 MB / 0.7136 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.004439/4.322, allocations: 1.883 MB / 2.556 GB, free: 227.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/4.322, allocations: 9.797 kB / 2.556 GB, free: 227.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002149/4.324, allocations: 376.4 kB / 2.557 GB, free: 227.2 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002066/4.326, allocations: 1.019 MB / 2.558 GB, free: 226.8 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-05/4.326, allocations: 99.66 kB / 2.558 GB, free: 226.8 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002422/4.326, allocations: 129 kB / 2.558 GB, free: 226.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/4.329, allocations: 1.519 MB / 2.559 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/4.329, allocations: 1.375 kB / 2.559 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001479/4.329, allocations: 60.02 kB / 2.56 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/4.329, allocations: 33.81 kB / 2.56 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003331/4.333, allocations: 2.063 MB / 2.562 GB, free: 226.6 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006443/4.339, allocations: 4.519 MB / 2.566 GB, free: 225.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002325/4.341, allocations: 1.454 MB / 2.567 GB, free: 225.1 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001046/4.341, allocations: 62 kB / 2.567 GB, free: 225.1 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/4.343, allocations: 0.7923 MB / 2.568 GB, free: 225 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=136): time 4.008e-06/4.343, allocations: 0 / 2.568 GB, free: 225 MB / 0.7136 GB Notification: Performance of matching and sorting (n=136): time 0.00557/4.348, allocations: 2.163 MB / 2.57 GB, free: 224.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/4.348, allocations: 460.4 kB / 2.571 GB, free: 224.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/4.35, allocations: 1.07 MB / 2.572 GB, free: 224 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.965e-05/4.35, allocations: 52.52 kB / 2.572 GB, free: 224 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003964/4.35, allocations: 0.609 MB / 2.572 GB, free: 223.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002794/4.351, allocations: 447.6 kB / 2.573 GB, free: 223.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/4.351, allocations: 24.97 kB / 2.573 GB, free: 223.5 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.98e-05/4.351, allocations: 355.5 kB / 2.573 GB, free: 223.2 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008344/4.352, allocations: 442.5 kB / 2.574 GB, free: 223.2 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009714/4.353, allocations: 0.657 MB / 2.574 GB, free: 223 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008949/4.353, allocations: 0.5291 MB / 2.575 GB, free: 223 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/4.353, allocations: 0 / 2.575 GB, free: 223 MB / 0.7136 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003069/4.357, allocations: 1.423 MB / 2.576 GB, free: 222.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/4.357, allocations: 6.75 kB / 2.576 GB, free: 222.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/4.357, allocations: 6.125 kB / 2.576 GB, free: 222.8 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/4.358, allocations: 171.7 kB / 2.576 GB, free: 222.8 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/4.359, allocations: 263.4 kB / 2.577 GB, free: 222.8 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003176/4.362, allocations: 3.104 MB / 2.58 GB, free: 220.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/4.363, allocations: 160.4 kB / 2.58 GB, free: 220.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.88e-05/4.363, allocations: 56.06 kB / 2.58 GB, free: 220.2 MB / 0.7136 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 () * 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.0006229/4.364, allocations: 382.8 kB / 2.58 GB, free: 220 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/4.364, allocations: 147.7 kB / 2.58 GB, free: 220 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004155/4.368, allocations: 2.02 MB / 2.582 GB, free: 219.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/4.368, allocations: 19.19 kB / 2.582 GB, free: 219.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/4.368, allocations: 0 / 2.582 GB, free: 219.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.617e-05/4.368, allocations: 13.52 kB / 2.582 GB, free: 219.8 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/4.37, allocations: 1.52 MB / 2.584 GB, free: 219.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/4.37, allocations: 3.938 kB / 2.584 GB, free: 219.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/4.371, allocations: 282.9 kB / 2.584 GB, free: 219.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009661/4.372, allocations: 171.6 kB / 2.584 GB, free: 219.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.668e-05/4.372, allocations: 46.44 kB / 2.584 GB, free: 219.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00286/4.375, allocations: 3.146 MB / 2.587 GB, free: 216.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/4.375, allocations: 0 / 2.587 GB, free: 216.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003065/4.378, allocations: 1.65 MB / 2.589 GB, free: 216.7 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006455/4.378, allocations: 484.4 kB / 2.59 GB, free: 216.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/4.379, allocations: 35.41 kB / 2.59 GB, free: 216.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/4.38, allocations: 137.8 kB / 2.59 GB, free: 216.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/4.38, allocations: 117.6 kB / 2.59 GB, free: 216.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-05/4.38, allocations: 59.48 kB / 2.59 GB, free: 216.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009552/4.381, allocations: 0.8543 MB / 2.591 GB, free: 216.4 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/4.381, allocations: 0 / 2.591 GB, free: 216.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001535/4.382, allocations: 0.543 MB / 2.591 GB, free: 216.3 MB / 0.7136 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) * Number of clocked states: 0 () * 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.002012/4.384, allocations: 1.149 MB / 2.592 GB, free: 216 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002711/4.387, allocations: 1.453 MB / 2.594 GB, free: 215.7 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.261e-06/4.387, allocations: 7.469 kB / 2.594 GB, free: 215.7 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/4.389, allocations: 0.9564 MB / 2.595 GB, free: 215.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001853/4.391, allocations: 486 kB / 2.595 GB, free: 215.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006425/4.397, allocations: 3.771 MB / 2.599 GB, free: 213.8 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/4.398, allocations: 1.322 MB / 2.6 GB, free: 213.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001519/4.399, allocations: 0.503 MB / 2.601 GB, free: 213 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004182/4.4, allocations: 178.6 kB / 2.601 GB, free: 212.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.323e-06/4.4, allocations: 0 / 2.601 GB, free: 212.9 MB / 0.7136 GB Notification: Performance of Templates: time 0.03959/4.439, allocations: 32.23 MB / 2.632 GB, free: 192 MB / 0.7136 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)