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.001217/0.001217, allocations: 107.6 kB / 16.27 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 191.9 kB / 17.2 MB, free: 5.613 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.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7984/0.7984, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.88 kB / 0.495 GB, free: 3.531 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4076, allocations: 78.7 MB / 0.5718 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.007473/0.4151, allocations: 7.174 MB / 0.5788 GB, free: 26.17 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1719/0.587, allocations: 153.5 MB / 0.7287 GB, free: 5.48 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003005/0.5901, allocations: 35.88 kB / 0.7287 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.5919, allocations: 344.7 kB / 0.729 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004003/0.5959, allocations: 0.7618 MB / 0.7298 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004354/0.6003, allocations: 1.374 MB / 0.7311 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004099/0.6044, allocations: 2.651 MB / 0.7337 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002146/0.6065, allocations: 1.034 MB / 0.7347 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001423/0.608, allocations: 0.8837 MB / 0.7356 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001529/0.6095, allocations: 0.9062 MB / 0.7365 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007625/0.6103, allocations: 212 kB / 0.7367 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.6127, allocations: 0.9403 MB / 0.7376 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006544/0.6134, allocations: 0.5412 MB / 0.7381 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001359/0.6148, allocations: 1.022 MB / 0.7391 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004309/0.6191, allocations: 2.913 MB / 0.742 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.6191, allocations: 3.938 kB / 0.742 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6191, allocations: 0 / 0.742 GB, free: 7.797 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.705e-05/0.6192, allocations: 0 / 0.742 GB, free: 7.797 MB / 0.5762 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.005544/0.6248, allocations: 2.374 MB / 0.7443 GB, free: 5.363 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.6248, allocations: 8.031 kB / 0.7443 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002119/0.6269, allocations: 370.2 kB / 0.7446 GB, free: 4.992 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.629, allocations: 1.275 MB / 0.7459 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.767e-05/0.6291, allocations: 110.9 kB / 0.746 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002386/0.6294, allocations: 140 kB / 0.7461 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003167/0.6325, allocations: 1.65 MB / 0.7477 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.6326, allocations: 4 kB / 0.7477 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.6328, allocations: 59.98 kB / 0.7478 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.889e-05/0.6328, allocations: 36 kB / 0.7478 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3361/0.9689, allocations: 2.143 MB / 0.7499 GB, free: 169.7 MB / 0.5762 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.008846/0.9778, allocations: 4.955 MB / 0.7548 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003506/0.9813, allocations: 1.614 MB / 0.7563 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001341/0.9827, allocations: 0.5933 MB / 0.7569 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001502/0.9828, allocations: 59.44 kB / 0.757 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001809/0.9847, allocations: 0.9461 MB / 0.7579 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=154): time 4.108e-06/0.9847, allocations: 0 / 0.7579 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=154): time 0.006541/0.9912, allocations: 2.366 MB / 0.7602 GB, free: 164.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001707/0.9914, allocations: 361 kB / 0.7606 GB, free: 164 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002179/0.9936, allocations: 1.162 MB / 0.7617 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002133/0.9938, allocations: 63.69 kB / 0.7618 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005637/0.9944, allocations: 0.6522 MB / 0.7624 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004373/0.9949, allocations: 0.4884 MB / 0.7629 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/0.9953, allocations: 317.5 kB / 0.7632 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.895e-05/0.9954, allocations: 301.1 kB / 0.7635 GB, free: 161.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001077/0.9964, allocations: 0.5351 MB / 0.764 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.9977, allocations: 0.7277 MB / 0.7647 GB, free: 161.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00235/1, allocations: 1.246 MB / 0.7659 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/1, allocations: 2.844 kB / 0.7659 GB, free: 160.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003989/1.004, allocations: 1.693 MB / 0.7676 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/1.004, allocations: 8.406 kB / 0.7676 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/1.004, allocations: 2.688 kB / 0.7676 GB, free: 159.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001045/1.005, allocations: 168.3 kB / 0.7677 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/1.006, allocations: 327.7 kB / 0.768 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/1.01, allocations: 3.298 MB / 0.7713 GB, free: 156.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/1.012, allocations: 181 kB / 0.7714 GB, free: 156.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/1.012, allocations: 79.78 kB / 0.7715 GB, free: 156 MB / 0.5762 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 (weaDatInpCon.conTim.canRepeatWeatherFile,weaDatInpCon.conTimMin.canRepeatWeatherFile,weaDatInpCon.decAng.tNext,$PRE.weaDatInpCon.decAng.tNext,weaDatInpCon.eqnTim.tNext,$PRE.weaDatInpCon.eqnTim.tNext,weaDatInpCon.conTim.tNext,$PRE.weaDatInpCon.conTim.tNext,weaDatInpCon.conTimMin.tNext,$PRE.weaDatInpCon.conTimMin.tNext,weaDatInpCon.locTim.tNext,$PRE.weaDatInpCon.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * 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 (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.000901/1.013, allocations: 414.8 kB / 0.7719 GB, free: 155.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003863/1.013, allocations: 160.5 kB / 0.7721 GB, free: 155.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004728/1.018, allocations: 2.183 MB / 0.7742 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/1.018, allocations: 17.84 kB / 0.7742 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.018, allocations: 3.938 kB / 0.7742 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/1.018, allocations: 13 kB / 0.7742 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00231/1.02, allocations: 1.616 MB / 0.7758 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.02, allocations: 0 / 0.7758 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.021, allocations: 286.3 kB / 0.7761 GB, free: 153.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008022/1.022, allocations: 148.4 kB / 0.7762 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.967e-05/1.022, allocations: 53.45 kB / 0.7763 GB, free: 153.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003021/1.025, allocations: 3.347 MB / 0.7795 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/1.025, allocations: 3.938 kB / 0.7795 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/1.029, allocations: 1.819 MB / 0.7813 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009324/1.03, allocations: 466.4 kB / 0.7818 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002702/1.031, allocations: 36 kB / 0.7818 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001185/1.032, allocations: 129.7 kB / 0.7819 GB, free: 147.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003297/1.032, allocations: 137.8 kB / 0.7821 GB, free: 147.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/1.032, allocations: 67.95 kB / 0.7821 GB, free: 147.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001156/1.033, allocations: 0.8144 MB / 0.7829 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.41e-07/1.033, allocations: 0 / 0.7829 GB, free: 146.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00195/1.035, allocations: 0.5275 MB / 0.7834 GB, free: 146.3 MB / 0.5762 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 (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.001669/1.037, allocations: 0.6556 MB / 0.7841 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004532/1.042, allocations: 2.07 MB / 0.7861 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/1.042, allocations: 7.906 kB / 0.7861 GB, free: 143.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001577/1.043, allocations: 1.039 MB / 0.7871 GB, free: 142.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002214/1.045, allocations: 0.5763 MB / 0.7877 GB, free: 142.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004548/1.05, allocations: 3.105 MB / 0.7907 GB, free: 139.1 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005756/1.051, allocations: 1.329 MB / 0.792 GB, free: 137.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001595/1.052, allocations: 0.5088 MB / 0.7925 GB, free: 137.2 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004066/1.053, allocations: 207.3 kB / 0.7927 GB, free: 137 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/1.053, allocations: 0 / 0.7927 GB, free: 137 MB / 0.5762 GB Notification: Performance of Templates: time 0.03898/1.092, allocations: 28.37 MB / 0.8204 GB, free: 109 MB / 0.5762 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)