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/ModelicaServices 4.0.0+maint.om/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000812/0.0008119, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009442/0.0009441, allocations: 174.7 kB / 16.58 MB, free: 6.492 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.422/1.422, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7235/0.7235, allocations: 115.5 MB / 407.2 MB, free: 2.855 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003381, allocations: 8 kB / 495.2 MB, free: 6.773 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1735/0.1738, allocations: 77.52 MB / 0.5593 GB, free: 9.453 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007766/0.1817, allocations: 6.224 MB / 0.5654 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.4403/0.622, allocations: 139.5 MB / 0.7016 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.6233, allocations: 31.81 kB / 0.7016 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000786/0.6241, allocations: 253.8 kB / 0.7019 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.6263, allocations: 0.6347 MB / 0.7025 GB, free: 4.527 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002948/0.6292, allocations: 1.049 MB / 0.7035 GB, free: 3.496 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002732/0.632, allocations: 2.284 MB / 0.7057 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00128/0.6332, allocations: 0.7208 MB / 0.7064 GB, free: 472 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001174/0.6344, allocations: 0.634 MB / 0.7071 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008936/0.6353, allocations: 0.6958 MB / 0.7077 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001686/0.6355, allocations: 48 kB / 0.7078 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.6371, allocations: 0.745 MB / 0.7085 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003723/0.6375, allocations: 342.5 kB / 0.7088 GB, free: 14 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000394/0.6379, allocations: 360.5 kB / 0.7092 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00238/0.6403, allocations: 2.155 MB / 0.7113 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.6403, allocations: 0 / 0.7113 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6403, allocations: 8 kB / 0.7113 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.8e-05/0.6404, allocations: 0 / 0.7113 GB, free: 11.47 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 367 * Number of variables: 367 Notification: Performance of Generate backend data structure: time 0.003795/0.6442, allocations: 1.997 MB / 0.7132 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.6442, allocations: 8.031 kB / 0.7132 GB, free: 9.402 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001853/0.6461, allocations: 397.1 kB / 0.7136 GB, free: 9.012 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001854/0.648, allocations: 1.23 MB / 0.7148 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.983e-05/0.6481, allocations: 106.9 kB / 0.7149 GB, free: 7.621 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.6483, allocations: 136 kB / 0.7151 GB, free: 7.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003/0.6513, allocations: 1.65 MB / 0.7167 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.694e-05/0.6513, allocations: 4 kB / 0.7167 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.6515, allocations: 67.98 kB / 0.7167 GB, free: 5.676 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.175e-05/0.6515, allocations: 36 kB / 0.7168 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003503/0.655, allocations: 2.15 MB / 0.7189 GB, free: 3.488 MB / 0.5294 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007743/0.6628, allocations: 5.023 MB / 0.7238 GB, free: 14.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/0.6659, allocations: 1.61 MB / 0.7254 GB, free: 12.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.6671, allocations: 0.5887 MB / 0.7259 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001334/0.6672, allocations: 65.2 kB / 0.726 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001696/0.6689, allocations: 0.9428 MB / 0.7269 GB, free: 11.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=154): time 3.056e-06/0.6689, allocations: 0 / 0.7269 GB, free: 11.07 MB / 0.545 GB Notification: Performance of matching and sorting (n=154): time 0.006003/0.6749, allocations: 2.39 MB / 0.7292 GB, free: 8.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001893/0.6751, allocations: 355.5 kB / 0.7296 GB, free: 8.211 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.6768, allocations: 1.151 MB / 0.7307 GB, free: 7.051 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001332/0.6769, allocations: 57.64 kB / 0.7308 GB, free: 6.988 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.000791/0.6777, allocations: 0.6579 MB / 0.7314 GB, free: 6.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006714/0.6784, allocations: 0.4891 MB / 0.7319 GB, free: 5.824 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.6785, allocations: 32 kB / 0.7319 GB, free: 5.793 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.6787, allocations: 361.9 kB / 0.7323 GB, free: 5.434 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.6798, allocations: 0.5309 MB / 0.7328 GB, free: 4.902 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001289/0.6811, allocations: 0.7351 MB / 0.7335 GB, free: 4.129 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001217/0.6823, allocations: 0.6111 MB / 0.7341 GB, free: 3.52 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.6824, allocations: 3.938 kB / 0.7341 GB, free: 3.516 MB / 0.545 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003739/0.6861, allocations: 1.696 MB / 0.7358 GB, free: 1.805 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.6861, allocations: 8 kB / 0.7358 GB, free: 1.797 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.6862, allocations: 3.938 kB / 0.7358 GB, free: 1.793 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009593/0.6871, allocations: 177.8 kB / 0.7359 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.6884, allocations: 323.5 kB / 0.7362 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.6922, allocations: 3.085 MB / 0.7393 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.6938, allocations: 209.4 kB / 0.7395 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000135/0.694, allocations: 71.94 kB / 0.7395 GB, free: 13.66 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDatInpCon.locTim.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.decAng.tNext,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.conTim.canRepeatWeatherFile,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (185): * Single equations (assignments): 183 * 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.0008455/0.6948, allocations: 417.5 kB / 0.7399 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002385/0.6951, allocations: 162 kB / 0.7401 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004783/0.6999, allocations: 2.193 MB / 0.7422 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.688e-05/0.6999, allocations: 20 kB / 0.7422 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.6999, allocations: 0 / 0.7422 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.6999, allocations: 7.969 kB / 0.7422 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00215/0.7021, allocations: 1.628 MB / 0.7438 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.7021, allocations: 3.938 kB / 0.7438 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001089/0.7032, allocations: 291.6 kB / 0.7441 GB, free: 8.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008744/0.7041, allocations: 169.5 kB / 0.7443 GB, free: 8.711 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-05/0.7042, allocations: 51.95 kB / 0.7443 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003597/0.7078, allocations: 3.111 MB / 0.7474 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.7078, allocations: 8.016 kB / 0.7474 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0038/0.7116, allocations: 1.823 MB / 0.7492 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008381/0.7125, allocations: 494.3 kB / 0.7496 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002177/0.7127, allocations: 44 kB / 0.7497 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/0.7138, allocations: 157.5 kB / 0.7498 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000297/0.7142, allocations: 149.7 kB / 0.75 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.7143, allocations: 71.95 kB / 0.75 GB, free: 2.488 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001256/0.7156, allocations: 0.7872 MB / 0.7508 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7156, allocations: 0 / 0.7508 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001623/0.7172, allocations: 0.5301 MB / 0.7513 GB, free: 1.168 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext) * Number of discrete states: 10 (weaDatInpCon.locTim.tNext,weaDatInpCon.conTimMin.tNext,weaDatInpCon.conTim.tNext,weaDatInpCon.eqnTim.tNext,weaDatInpCon.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (179): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001394/0.7186, allocations: 0.6492 MB / 0.7519 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003279/0.7219, allocations: 1.671 MB / 0.7536 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.7219, allocations: 0 / 0.7536 GB, free: 15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.7236, allocations: 1.043 MB / 0.7546 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/0.7259, allocations: 0.5169 MB / 0.7551 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.7315, allocations: 3.727 MB / 0.7587 GB, free: 9.684 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000861/0.7324, allocations: 1.34 MB / 0.76 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001714/0.7341, allocations: 0.5165 MB / 0.7606 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/0.7346, allocations: 191.3 kB / 0.7607 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of SimCode: time 2.264e-06/0.7346, allocations: 0 / 0.7607 GB, free: 7.605 MB / 0.5762 GB Notification: Performance of Templates: time 0.04616/0.7808, allocations: 26.12 MB / 0.7862 GB, free: 13.82 MB / 0.6075 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)