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.001533/0.00154, allocations: 103.1 kB / 15.98 MB, free: 6.332 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.001915/0.001915, allocations: 197.5 kB / 16.91 MB, free: 6.18 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.358/1.358, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8169/0.8169, allocations: 126.1 MB / 416.8 MB, free: 13.05 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.88 kB / 0.4945 GB, free: 3.898 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3627, allocations: 78.69 MB / 0.5713 GB, free: 30.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.Examples.ReaderTMY3): time 0.009138/0.3719, allocations: 7.131 MB / 0.5783 GB, free: 25.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1663/0.5383, allocations: 151.2 MB / 0.7259 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/0.5404, allocations: 31.81 kB / 0.7259 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.5418, allocations: 269.9 kB / 0.7262 GB, free: 7.738 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003332/0.5452, allocations: 0.6796 MB / 0.7269 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003736/0.5489, allocations: 1.26 MB / 0.7281 GB, free: 5.82 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004074/0.553, allocations: 2.643 MB / 0.7307 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002422/0.5554, allocations: 1.045 MB / 0.7317 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.5574, allocations: 0.8798 MB / 0.7325 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.5591, allocations: 0.9118 MB / 0.7334 GB, free: 276 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0008296/0.5599, allocations: 215.9 kB / 0.7336 GB, free: 60 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002763/0.5627, allocations: 0.952 MB / 0.7346 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008527/0.5636, allocations: 0.5373 MB / 0.7351 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.5649, allocations: 1.022 MB / 0.7361 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004399/0.5693, allocations: 2.917 MB / 0.7389 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.716e-06/0.5694, allocations: 4 kB / 0.7389 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.52e-07/0.5694, allocations: 3.938 kB / 0.7389 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.048e-05/0.5694, allocations: 0 / 0.7389 GB, free: 10.61 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.004677/0.5741, allocations: 2.37 MB / 0.7413 GB, free: 8.176 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.454e-05/0.5742, allocations: 8.031 kB / 0.7413 GB, free: 8.168 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001986/0.5762, allocations: 374.1 kB / 0.7416 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001844/0.578, allocations: 1.279 MB / 0.7429 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.703e-05/0.5781, allocations: 106.9 kB / 0.743 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.5783, allocations: 144 kB / 0.7431 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003165/0.5815, allocations: 1.646 MB / 0.7447 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/0.5816, allocations: 0 / 0.7447 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.5818, allocations: 67.98 kB / 0.7448 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.417e-05/0.5819, allocations: 36 kB / 0.7448 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003548/0.5855, allocations: 2.146 MB / 0.7469 GB, free: 2.23 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.3096/0.895, allocations: 4.948 MB / 0.7518 GB, free: 167 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003856/0.8989, allocations: 1.61 MB / 0.7533 GB, free: 166.4 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001353/0.9003, allocations: 0.597 MB / 0.7539 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000168/0.9005, allocations: 60.02 kB / 0.754 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00224/0.9027, allocations: 0.9395 MB / 0.7549 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=154): time 3.657e-06/0.9028, allocations: 0.7812 kB / 0.7549 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=154): time 0.007664/0.9104, allocations: 2.367 MB / 0.7572 GB, free: 165 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001502/0.9106, allocations: 358.6 kB / 0.7575 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.9128, allocations: 1.165 MB / 0.7587 GB, free: 164.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.9131, allocations: 58.7 kB / 0.7587 GB, free: 164 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005405/0.9136, allocations: 0.6553 MB / 0.7594 GB, free: 163.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003831/0.914, allocations: 0.4923 MB / 0.7598 GB, free: 163.2 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004777/0.9145, allocations: 315.4 kB / 0.7602 GB, free: 163 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.282e-05/0.9145, allocations: 303.1 kB / 0.7604 GB, free: 162.8 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.9157, allocations: 0.5348 MB / 0.761 GB, free: 162.6 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.917, allocations: 0.7314 MB / 0.7617 GB, free: 162.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00229/0.9193, allocations: 1.239 MB / 0.7629 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.9193, allocations: 1.375 kB / 0.7629 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=189) (initialization): time 0.004222/0.9235, allocations: 1.696 MB / 0.7645 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/0.9236, allocations: 6.938 kB / 0.7646 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.9236, allocations: 6.062 kB / 0.7646 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.9247, allocations: 171.3 kB / 0.7647 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.926, allocations: 321.2 kB / 0.765 GB, free: 160.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/0.9297, allocations: 3.306 MB / 0.7683 GB, free: 157.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001788/0.9315, allocations: 186.4 kB / 0.7684 GB, free: 157.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/0.9316, allocations: 73.75 kB / 0.7685 GB, free: 157.3 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.0008845/0.9325, allocations: 418 kB / 0.7689 GB, free: 157 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003687/0.9329, allocations: 159.4 kB / 0.7691 GB, free: 156.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004908/0.9378, allocations: 2.174 MB / 0.7712 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-05/0.9379, allocations: 18.41 kB / 0.7712 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.9379, allocations: 9.344 kB / 0.7712 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.9379, allocations: 7.969 kB / 0.7712 GB, free: 155.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/0.94, allocations: 1.613 MB / 0.7728 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.94, allocations: 3.312 kB / 0.7728 GB, free: 154.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/0.9412, allocations: 288 kB / 0.7731 GB, free: 154.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008376/0.942, allocations: 146.1 kB / 0.7732 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001149/0.9422, allocations: 53.12 kB / 0.7733 GB, free: 154.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003143/0.9453, allocations: 3.338 MB / 0.7765 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9453, allocations: 5.312 kB / 0.7765 GB, free: 151.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004068/0.9494, allocations: 1.826 MB / 0.7783 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007624/0.9502, allocations: 467.7 kB / 0.7787 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002526/0.9504, allocations: 43.31 kB / 0.7788 GB, free: 149.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.9516, allocations: 131.3 kB / 0.7789 GB, free: 149.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002777/0.9519, allocations: 138 kB / 0.779 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001224/0.952, allocations: 69.48 kB / 0.7791 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001071/0.9531, allocations: 0.8089 MB / 0.7799 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9531, allocations: 0 / 0.7799 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001411/0.9545, allocations: 0.5232 MB / 0.7804 GB, free: 149.1 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.001411/0.956, allocations: 0.6588 MB / 0.7811 GB, free: 148.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004318/0.9603, allocations: 2.071 MB / 0.7831 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.9603, allocations: 3.938 kB / 0.7831 GB, free: 146.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001581/0.9619, allocations: 1.043 MB / 0.7841 GB, free: 145.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/0.9641, allocations: 0.58 MB / 0.7847 GB, free: 145.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004768/0.9689, allocations: 3.821 MB / 0.7884 GB, free: 141.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005893/0.9695, allocations: 1.337 MB / 0.7897 GB, free: 140.2 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001613/0.9711, allocations: 0.5188 MB / 0.7902 GB, free: 139.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/0.9716, allocations: 199.3 kB / 0.7904 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of SimCode: time 8.01e-07/0.9716, allocations: 0 / 0.7904 GB, free: 139.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.04177/1.013, allocations: 28.16 MB / 0.8179 GB, free: 111.6 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)