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.001268/0.001273, allocations: 189.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4664/0.4664, allocations: 87.5 MB / 104.9 MB, free: 13.01 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.362/1.362, allocations: 222.9 MB / 349.1 MB, free: 2.75 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.0009834/0.0009836, allocations: 98.52 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001582/0.001582, allocations: 59.91 kB / 0.4891 GB, free: 7.695 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.374, allocations: 70.06 MB / 0.5575 GB, free: 44.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.006077/0.3801, allocations: 6.174 MB / 0.5635 GB, free: 39 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.529/0.9091, allocations: 150.9 MB / 0.7108 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002068/0.9113, allocations: 34.53 kB / 0.7109 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009624/0.9122, allocations: 243.8 kB / 0.7111 GB, free: 1.816 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.9145, allocations: 0.5539 MB / 0.7117 GB, free: 1.805 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002849/0.9173, allocations: 1.152 MB / 0.7128 GB, free: 1.797 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002932/0.9203, allocations: 2.179 MB / 0.7149 GB, free: 1.785 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.9219, allocations: 1.044 MB / 0.7159 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001442/0.9234, allocations: 0.6763 MB / 0.7166 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.9245, allocations: 0.739 MB / 0.7173 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001912/0.9247, allocations: 85.09 kB / 0.7174 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.9266, allocations: 0.8177 MB / 0.7182 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004331/0.927, allocations: 390.2 kB / 0.7186 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0009494/0.928, allocations: 0.7998 MB / 0.7193 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.002492/0.9305, allocations: 2.559 MB / 0.7218 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.9305, allocations: 3.047 kB / 0.7218 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.71e-07/0.9305, allocations: 0 / 0.7218 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.469e-05/0.9305, allocations: 0 / 0.7218 GB, free: 1.242 MB / 0.5105 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.00356/0.9341, allocations: 2.152 MB / 0.7239 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.9341, allocations: 8.438 kB / 0.724 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.9359, allocations: 354.8 kB / 0.7243 GB, free: 16.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.9376, allocations: 1.2 MB / 0.7255 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.557e-05/0.9376, allocations: 100.8 kB / 0.7256 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001959/0.9379, allocations: 135.4 kB / 0.7257 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002408/0.9403, allocations: 1.535 MB / 0.7272 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.052e-05/0.9403, allocations: 7 kB / 0.7272 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001237/0.9404, allocations: 58.3 kB / 0.7272 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.9405, allocations: 33 kB / 0.7273 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003633/0.9441, allocations: 2.04 MB / 0.7293 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007258/0.9514, allocations: 4.438 MB / 0.7336 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.9543, allocations: 1.425 MB / 0.735 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009454/0.9552, allocations: 0.539 MB / 0.7355 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001192/0.9554, allocations: 56.64 kB / 0.7356 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001523/0.9569, allocations: 0.7885 MB / 0.7363 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=136): time 4.168e-06/0.9569, allocations: 3.562 kB / 0.7364 GB, free: 13.75 MB / 0.5261 GB Notification: Performance of matching and sorting (n=136): time 0.005681/0.9626, allocations: 2.11 MB / 0.7384 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/0.9628, allocations: 351.8 kB / 0.7387 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.9644, allocations: 1.08 MB / 0.7398 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.9645, allocations: 51.77 kB / 0.7399 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004563/0.965, allocations: 0.6078 MB / 0.7404 GB, free: 12.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003435/0.9653, allocations: 450.9 kB / 0.7409 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003799/0.9657, allocations: 284.2 kB / 0.7411 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.9659, allocations: 367 kB / 0.7415 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009722/0.9668, allocations: 481.6 kB / 0.742 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/0.968, allocations: 0.6486 MB / 0.7426 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.97, allocations: 1.113 MB / 0.7437 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.97, allocations: 2.719 kB / 0.7437 GB, free: 11.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003685/0.9737, allocations: 1.516 MB / 0.7452 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.9737, allocations: 6.344 kB / 0.7452 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.9737, allocations: 10.31 kB / 0.7452 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.9748, allocations: 166.4 kB / 0.7453 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.976, allocations: 294.6 kB / 0.7456 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003736/0.9798, allocations: 3.058 MB / 0.7486 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/0.9814, allocations: 160 kB / 0.7488 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.9816, allocations: 66.5 kB / 0.7488 GB, free: 8.867 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 16 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,$whenCondition1,$whenCondition2,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (161): * Single equations (assignments): 159 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000896/0.9825, allocations: 398.1 kB / 0.7492 GB, free: 8.738 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003104/0.9828, allocations: 145.3 kB / 0.7493 GB, free: 8.664 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/0.9874, allocations: 1.973 MB / 0.7513 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.699e-05/0.9874, allocations: 17.59 kB / 0.7513 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9874, allocations: 2.906 kB / 0.7513 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-05/0.9875, allocations: 16.5 kB / 0.7513 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001936/0.9894, allocations: 1.467 MB / 0.7527 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.9894, allocations: 0 / 0.7527 GB, free: 8.188 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009968/0.9904, allocations: 278.3 kB / 0.753 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009626/0.9914, allocations: 164.7 kB / 0.7532 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.966e-05/0.9915, allocations: 44.97 kB / 0.7532 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003521/0.995, allocations: 3.114 MB / 0.7562 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.9951, allocations: 0 / 0.7562 GB, free: 5.555 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005525/1.001, allocations: 3.091 MB / 0.7593 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007037/1.001, allocations: 425.1 kB / 0.7597 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001816/1.002, allocations: 36.2 kB / 0.7597 GB, free: 4.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009493/1.002, allocations: 106 kB / 0.7598 GB, free: 4.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002474/1.003, allocations: 113 kB / 0.7599 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.003, allocations: 62.7 kB / 0.76 GB, free: 4.477 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009793/1.004, allocations: 0.7455 MB / 0.7607 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.81e-07/1.004, allocations: 0 / 0.7607 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001379/1.005, allocations: 485.6 kB / 0.7612 GB, free: 4.297 MB / 0.5261 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001377/1.007, allocations: 0.6394 MB / 0.7618 GB, free: 4.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003419/1.01, allocations: 1.498 MB / 0.7632 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.296e-06/1.01, allocations: 2.812 kB / 0.7632 GB, free: 3.809 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001929/1.012, allocations: 0.9556 MB / 0.7642 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/1.014, allocations: 0.5102 MB / 0.7647 GB, free: 3.512 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007959/1.022, allocations: 4.527 MB / 0.7691 GB, free: 0.6836 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/1.023, allocations: 1.33 MB / 0.7704 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002017/1.025, allocations: 0.5002 MB / 0.7709 GB, free: 15.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004661/1.026, allocations: 179.3 kB / 0.7711 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of SimCode: time 8.02e-07/1.026, allocations: 4 kB / 0.7711 GB, free: 15.12 MB / 0.5417 GB Notification: Performance of Templates: time 0.04241/1.068, allocations: 25.27 MB / 0.7957 GB, free: 6.203 MB / 0.5573 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)