Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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) 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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.554/1.554, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009552/0.0009552, allocations: 188.6 kB / 384.6 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 223.2 MB / 0.6626 GB, free: 4.359 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000754/0.0007543, allocations: 96.27 kB / 0.7808 GB, free: 43.8 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003565, allocations: 8 kB / 0.9088 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5736/0.5739, allocations: 120.3 MB / 1.026 GB, free: 57.05 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.077/3.651, allocations: 1.723 GB / 2.749 GB, free: 82.82 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/3.651, allocations: 87.95 kB / 2.749 GB, free: 82.74 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 0.6059/4.257, allocations: 91.95 MB / 2.839 GB, free: 282.7 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.184e-06/4.257, allocations: 0 / 2.839 GB, free: 282.7 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.000106/4.257, allocations: 41.89 kB / 2.839 GB, free: 282.7 MB / 0.9792 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.002831/4.26, allocations: 1.866 MB / 2.841 GB, free: 281.8 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/4.26, allocations: 9.406 kB / 2.841 GB, free: 281.8 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/4.262, allocations: 373.6 kB / 2.841 GB, free: 281.7 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001399/4.263, allocations: 1.069 MB / 2.842 GB, free: 281.3 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.241e-05/4.263, allocations: 97.16 kB / 2.842 GB, free: 281.3 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001452/4.264, allocations: 129.8 kB / 2.842 GB, free: 281.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/4.266, allocations: 1.53 MB / 2.844 GB, free: 281 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.976e-05/4.266, allocations: 4.672 kB / 2.844 GB, free: 281 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/4.266, allocations: 59.52 kB / 2.844 GB, free: 281 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/4.266, allocations: 35.67 kB / 2.844 GB, free: 281 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002908/4.269, allocations: 2.059 MB / 2.846 GB, free: 281 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005957/4.275, allocations: 4.542 MB / 2.85 GB, free: 279.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/4.277, allocations: 1.441 MB / 2.852 GB, free: 279.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009436/4.278, allocations: 0.5428 MB / 2.852 GB, free: 279.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/4.278, allocations: 60.52 kB / 2.852 GB, free: 279.5 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/4.28, allocations: 0.7974 MB / 2.853 GB, free: 279.4 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=136): time 3.246e-06/4.28, allocations: 7.312 kB / 2.853 GB, free: 279.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=136): time 0.00522/4.285, allocations: 2.149 MB / 2.855 GB, free: 279.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/4.285, allocations: 460 kB / 2.856 GB, free: 278.6 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/4.286, allocations: 1.209 MB / 2.857 GB, free: 278.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/4.287, allocations: 54.42 kB / 2.857 GB, free: 278.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003866/4.287, allocations: 0.6077 MB / 2.858 GB, free: 278.1 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002519/4.287, allocations: 445.7 kB / 2.858 GB, free: 277.9 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.686e-05/4.287, allocations: 21.84 kB / 2.858 GB, free: 277.9 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.187e-05/4.287, allocations: 353.2 kB / 2.858 GB, free: 277.6 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007846/4.288, allocations: 446.7 kB / 2.859 GB, free: 277.6 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009086/4.289, allocations: 0.6584 MB / 2.859 GB, free: 277.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/4.291, allocations: 1.067 MB / 2.86 GB, free: 277.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/4.291, allocations: 3.094 kB / 2.861 GB, free: 277.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=147) (initialization): time 0.002981/4.294, allocations: 1.427 MB / 2.862 GB, free: 277.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.073e-05/4.294, allocations: 6.719 kB / 2.862 GB, free: 277.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/4.294, allocations: 5.438 kB / 2.862 GB, free: 277.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009353/4.295, allocations: 168.8 kB / 2.862 GB, free: 277.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009677/4.296, allocations: 268.3 kB / 2.862 GB, free: 277.1 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/4.299, allocations: 3.077 MB / 2.865 GB, free: 274.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/4.3, allocations: 158 kB / 2.865 GB, free: 274.5 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/4.3, allocations: 59 kB / 2.866 GB, free: 274.5 MB / 0.9792 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.0007773/4.301, allocations: 380.2 kB / 2.866 GB, free: 274.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002203/4.301, allocations: 158.9 kB / 2.866 GB, free: 274.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004013/4.305, allocations: 1.999 MB / 2.868 GB, free: 274.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/4.305, allocations: 16.84 kB / 2.868 GB, free: 274.1 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/4.305, allocations: 3.938 kB / 2.868 GB, free: 274.1 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.885e-05/4.305, allocations: 13.58 kB / 2.868 GB, free: 274.1 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/4.307, allocations: 1.514 MB / 2.87 GB, free: 273.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/4.307, allocations: 2.781 kB / 2.87 GB, free: 273.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009555/4.308, allocations: 281.3 kB / 2.87 GB, free: 273.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008464/4.309, allocations: 168.5 kB / 2.87 GB, free: 273.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-05/4.309, allocations: 46.34 kB / 2.87 GB, free: 273.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/4.312, allocations: 3.11 MB / 2.873 GB, free: 271 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/4.312, allocations: 2.156 kB / 2.873 GB, free: 271 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003046/4.315, allocations: 1.641 MB / 2.875 GB, free: 270.4 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006478/4.315, allocations: 492.5 kB / 2.875 GB, free: 270.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/4.316, allocations: 32.98 kB / 2.875 GB, free: 270.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008824/4.316, allocations: 136.3 kB / 2.875 GB, free: 270 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/4.317, allocations: 116.1 kB / 2.875 GB, free: 270 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.947e-05/4.317, allocations: 62.52 kB / 2.875 GB, free: 270 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001127/4.318, allocations: 0.8553 MB / 2.876 GB, free: 269.6 MB / 0.9792 GB Notification: Performance of sort global known variables: time 1.4e-07/4.318, allocations: 0 / 2.876 GB, free: 269.6 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.001552/4.319, allocations: 0.5421 MB / 2.877 GB, free: 269.5 MB / 0.9792 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.001948/4.321, allocations: 1.148 MB / 2.878 GB, free: 269.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002612/4.324, allocations: 1.459 MB / 2.879 GB, free: 268.6 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/4.324, allocations: 3.156 kB / 2.879 GB, free: 268.6 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001396/4.325, allocations: 0.9653 MB / 2.88 GB, free: 268.2 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001942/4.327, allocations: 498 kB / 2.881 GB, free: 268 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00623/4.334, allocations: 3.788 MB / 2.884 GB, free: 266.1 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006596/4.334, allocations: 1.282 MB / 2.886 GB, free: 265.3 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001685/4.336, allocations: 0.499 MB / 2.886 GB, free: 265.2 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003858/4.336, allocations: 183.9 kB / 2.886 GB, free: 265.2 MB / 0.9792 GB Notification: Performance of SimCode: time 5.61e-07/4.336, allocations: 2.156 kB / 2.886 GB, free: 265.2 MB / 0.9792 GB Notification: Performance of Templates: time 0.05733/4.394, allocations: 32.58 MB / 2.918 GB, free: 262.9 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.Examples.ReaderTMY3.pipe 2>&1)