Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001143/0.001143, allocations: 190.2 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.59/1.59, allocations: 251.7 MB / 0.5088 GB, free: 3.395 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 67.91 kB / 0.6216 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5106/0.5119, allocations: 104.7 MB / 0.7238 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ): time 0.00181/0.5138, allocations: 0.6589 MB / 0.7245 GB, free: 12.5 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002242/0.516, allocations: 1.818 MB / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.893e-05/0.5161, allocations: 0 / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.075e-05/0.5161, allocations: 0 / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.921e-06/0.5161, allocations: 0 / 0.7262 GB, free: 10.66 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007468/0.5169, allocations: 249.5 kB / 0.7265 GB, free: 10.43 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001374/0.517, allocations: 115.9 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.966e-05/0.5171, allocations: 0 / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.637e-05/0.5171, allocations: 35.97 kB / 0.7266 GB, free: 10.28 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.908e-05/0.5172, allocations: 63.86 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.5172, allocations: 4 kB / 0.7267 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004002/0.5176, allocations: 291.6 kB / 0.727 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.5177, allocations: 35.91 kB / 0.727 GB, free: 9.891 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.758e-05/0.5177, allocations: 51.77 kB / 0.727 GB, free: 9.84 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.5181, allocations: 271.4 kB / 0.7273 GB, free: 9.574 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.5181, allocations: 0 / 0.7273 GB, free: 9.574 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5181, allocations: 0 / 0.7273 GB, free: 9.574 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.497e-06/0.5181, allocations: 3.938 kB / 0.7273 GB, free: 9.57 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006273/0.5187, allocations: 441.3 kB / 0.7277 GB, free: 9.094 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.5188, allocations: 12.02 kB / 0.7277 GB, free: 9.082 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.5188, allocations: 12.84 kB / 0.7277 GB, free: 9.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.531e-05/0.5189, allocations: 172.3 kB / 0.7279 GB, free: 8.863 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.5189, allocations: 8.375 kB / 0.7279 GB, free: 8.855 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.537e-05/0.519, allocations: 16.12 kB / 0.7279 GB, free: 8.84 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.5193, allocations: 220.6 kB / 0.7281 GB, free: 8.602 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.5193, allocations: 4 kB / 0.7281 GB, free: 8.598 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.5193, allocations: 8 kB / 0.7282 GB, free: 8.59 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-06/0.5193, allocations: 4 kB / 0.7282 GB, free: 8.586 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.5196, allocations: 171.8 kB / 0.7283 GB, free: 8.418 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002891/0.5199, allocations: 286 kB / 0.7286 GB, free: 8.074 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007051/0.5206, allocations: 403.8 kB / 0.729 GB, free: 7.625 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002445/0.5209, allocations: 189.1 kB / 0.7292 GB, free: 7.422 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003478/0.5212, allocations: 199.2 kB / 0.7293 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/0.5213, allocations: 38.56 kB / 0.7294 GB, free: 7.145 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 3.096e-06/0.5213, allocations: 7.938 kB / 0.7294 GB, free: 7.137 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.0006732/0.5219, allocations: 382.4 kB / 0.7298 GB, free: 6.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001109/0.5221, allocations: 191.9 kB / 0.7299 GB, free: 6.527 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.284e-05/0.5221, allocations: 89.86 kB / 0.73 GB, free: 6.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.546e-05/0.5221, allocations: 29.7 kB / 0.7301 GB, free: 6.395 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.997e-05/0.5222, allocations: 84.7 kB / 0.7301 GB, free: 6.305 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.5223, allocations: 106.4 kB / 0.7302 GB, free: 6.199 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.321e-05/0.5224, allocations: 57.67 kB / 0.7303 GB, free: 6.137 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.5226, allocations: 322.8 kB / 0.7306 GB, free: 5.812 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.5227, allocations: 91.92 kB / 0.7307 GB, free: 5.723 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001788/0.5229, allocations: 141.6 kB / 0.7308 GB, free: 5.566 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.5232, allocations: 253.3 kB / 0.7311 GB, free: 5.301 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.5233, allocations: 8 kB / 0.7311 GB, free: 5.293 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004189/0.5237, allocations: 289.2 kB / 0.7313 GB, free: 5.004 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.5237, allocations: 8 kB / 0.7314 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.5237, allocations: 0 / 0.7314 GB, free: 4.996 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.5238, allocations: 4 kB / 0.7314 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.524, allocations: 51.91 kB / 0.7314 GB, free: 4.941 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.524, allocations: 4.375 kB / 0.7314 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.225e-05/0.5241, allocations: 19.78 kB / 0.7314 GB, free: 4.918 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.262e-05/0.5241, allocations: 11.98 kB / 0.7314 GB, free: 4.906 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.5243, allocations: 137.8 kB / 0.7316 GB, free: 4.762 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.591e-05/0.5243, allocations: 23.83 kB / 0.7316 GB, free: 4.738 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006181/0.525, allocations: 356.7 kB / 0.7319 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.525, allocations: 4 kB / 0.7319 GB, free: 4.379 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.525, allocations: 3.938 kB / 0.7319 GB, free: 4.375 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/0.525, allocations: 7.984 kB / 0.732 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.5253, allocations: 249.4 kB / 0.7322 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.571e-06/0.5253, allocations: 7.922 kB / 0.7322 GB, free: 4.066 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.5255, allocations: 59.91 kB / 0.7323 GB, free: 4.008 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.673e-06/0.5255, allocations: 4 kB / 0.7323 GB, free: 4.004 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.5255, allocations: 15.92 kB / 0.7323 GB, free: 3.988 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.5256, allocations: 4 kB / 0.7323 GB, free: 3.984 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.5256, allocations: 3.938 kB / 0.7323 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.526, allocations: 337.5 kB / 0.7326 GB, free: 3.617 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.878e-05/0.5261, allocations: 100.9 kB / 0.7327 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.283e-05/0.5261, allocations: 3.984 kB / 0.7327 GB, free: 3.496 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.557e-05/0.5262, allocations: 8 kB / 0.7327 GB, free: 3.488 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.141e-05/0.5263, allocations: 27.91 kB / 0.7327 GB, free: 3.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.199e-05/0.5263, allocations: 15.98 kB / 0.7328 GB, free: 3.445 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.273e-05/0.5263, allocations: 75.28 kB / 0.7328 GB, free: 3.371 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5264, allocations: 4 kB / 0.7328 GB, free: 3.367 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004094/0.5268, allocations: 91.94 kB / 0.7329 GB, free: 3.277 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006196/0.5274, allocations: 207.9 kB / 0.7331 GB, free: 3.066 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004361/0.5278, allocations: 239.7 kB / 0.7333 GB, free: 2.832 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.5279, allocations: 4 kB / 0.7333 GB, free: 2.828 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001939/0.5281, allocations: 145.2 kB / 0.7335 GB, free: 2.688 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002075/0.5283, allocations: 15.94 kB / 0.7335 GB, free: 2.672 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.5288, allocations: 403.1 kB / 0.7339 GB, free: 2.238 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.5291, allocations: 0.7127 MB / 0.7346 GB, free: 1.5 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.5293, allocations: 113.4 kB / 0.7347 GB, free: 1.391 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.328e-05/0.5294, allocations: 27.42 kB / 0.7347 GB, free: 1.367 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.5294, allocations: 0 / 0.7347 GB, free: 1.367 MB / 0.545 GB Notification: Performance of Templates: time 0.005317/0.5347, allocations: 2.52 MB / 0.7372 GB, free: 14.85 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.EpsilonNTUZ.pipe 2>&1)