Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2367/0.2404, allocations: 80.84 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness): time 0.7955/1.036, allocations: 197.3 MB / 0.7823 GB, free: 2.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0135/1.05, allocations: 6.177 MB / 0.7884 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00372/1.053, allocations: 38.75 kB / 0.7884 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003661/1.057, allocations: 0.6211 MB / 0.789 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008666/1.066, allocations: 1.511 MB / 0.7905 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005112/1.071, allocations: 1.148 MB / 0.7916 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00903/1.08, allocations: 3.91 MB / 0.7954 GB, free: 8.359 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/1.082, allocations: 0.8924 MB / 0.7963 GB, free: 7.801 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006404/1.089, allocations: 1.525 MB / 0.7978 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004645/1.094, allocations: 0.97 MB / 0.7987 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.00065/1.094, allocations: 63.69 kB / 0.7988 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004343/1.099, allocations: 1.302 MB / 0.8001 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005697/1.099, allocations: 354.2 kB / 0.8004 GB, free: 5.398 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001364/1.101, allocations: 0.6479 MB / 0.801 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00354/1.104, allocations: 2.192 MB / 0.8032 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.104e-06/1.104, allocations: 0 / 0.8032 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.412e-06/1.104, allocations: 0 / 0.8032 GB, free: 3.477 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.738e-05/1.104, allocations: 0 / 0.8032 GB, free: 3.477 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 233 * Number of variables: 233 Notification: Performance of Generate backend data structure: time 0.004499/1.109, allocations: 1.775 MB / 0.8049 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/1.109, allocations: 8.031 kB / 0.8049 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002523/1.111, allocations: 434 kB / 0.8053 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001391/1.113, allocations: 0.8745 MB / 0.8062 GB, free: 300 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006088/1.113, allocations: 181.8 kB / 0.8064 GB, free: 116 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000141/1.113, allocations: 96 kB / 0.8064 GB, free: 20 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003282/1.117, allocations: 1.409 MB / 0.8078 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/1.117, allocations: 7.922 kB / 0.8078 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/1.117, allocations: 47.91 kB / 0.8079 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.818e-05/1.117, allocations: 38 kB / 0.8079 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003867/1.121, allocations: 1.432 MB / 0.8093 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008431/1.129, allocations: 5.616 MB / 0.8148 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002913/1.132, allocations: 0.9011 MB / 0.8157 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001193/1.133, allocations: 469.8 kB / 0.8161 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003853/1.134, allocations: 129.8 kB / 0.8162 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002088/1.136, allocations: 0.7157 MB / 0.8169 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.835e-06/1.136, allocations: 0 / 0.8169 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.005111/1.141, allocations: 1.458 MB / 0.8184 GB, free: 3.277 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000199/1.141, allocations: 423.7 kB / 0.8188 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001406/1.143, allocations: 0.9764 MB / 0.8197 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/1.143, allocations: 37.7 kB / 0.8198 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005576/1.143, allocations: 0.5302 MB / 0.8203 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/1.144, allocations: 185.3 kB / 0.8205 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003502/1.144, allocations: 174.5 kB / 0.8206 GB, free: 0.8242 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001444/1.144, allocations: 333.9 kB / 0.8209 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/1.146, allocations: 480.5 kB / 0.8214 GB, free: 20 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00176/1.147, allocations: 0.7726 MB / 0.8222 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002696/1.15, allocations: 1.064 MB / 0.8232 GB, free: 13.99 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/1.15, allocations: 4 kB / 0.8232 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003556/1.154, allocations: 1.253 MB / 0.8244 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 6.04e-05/1.154, allocations: 45.62 kB / 0.8245 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.45e-05/1.154, allocations: 4.344 kB / 0.8245 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.762e-05/1.154, allocations: 12 kB / 0.8245 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003607/1.157, allocations: 0.5382 MB / 0.825 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/1.162, allocations: 3.185 MB / 0.8281 GB, free: 8.668 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/1.164, allocations: 226.9 kB / 0.8283 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001347/1.165, allocations: 35.92 kB / 0.8284 GB, free: 8.41 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001783/1.166, allocations: 0.6619 MB / 0.829 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001533/1.168, allocations: 0.737 MB / 0.8297 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00242/1.17, allocations: 1.002 MB / 0.8307 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.612e-06/1.17, allocations: 0 / 0.8307 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.00338/1.174, allocations: 1.218 MB / 0.8319 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.051e-05/1.174, allocations: 42.41 kB / 0.8319 GB, free: 4.539 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.174, allocations: 4 kB / 0.8319 GB, free: 4.535 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/1.174, allocations: 8 kB / 0.832 GB, free: 4.527 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/1.175, allocations: 235.7 kB / 0.8322 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.392e-05/1.175, allocations: 8 kB / 0.8322 GB, free: 4.289 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/1.177, allocations: 199.6 kB / 0.8324 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.074e-05/1.177, allocations: 43.91 kB / 0.8324 GB, free: 4.051 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 5 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004413/1.177, allocations: 221.2 kB / 0.8326 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002037/1.178, allocations: 114.6 kB / 0.8327 GB, free: 3.715 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003083/1.181, allocations: 1.082 MB / 0.8338 GB, free: 2.637 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.181, allocations: 8 kB / 0.8338 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/1.181, allocations: 0 / 0.8338 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.181, allocations: 0 / 0.8338 GB, free: 2.629 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004468/1.185, allocations: 2.235 MB / 0.836 GB, free: 332 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/1.185, allocations: 48 / 0.836 GB, free: 332 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/1.188, allocations: 487.3 kB / 0.8364 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/1.188, allocations: 4 kB / 0.8365 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.179e-05/1.188, allocations: 19.98 kB / 0.8365 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004097/1.192, allocations: 3.111 MB / 0.8395 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.192, allocations: 0 / 0.8395 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/1.195, allocations: 1.157 MB / 0.8406 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006226/1.196, allocations: 299.5 kB / 0.8409 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/1.196, allocations: 15.98 kB / 0.8409 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/1.197, allocations: 135.8 kB / 0.8411 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001836/1.198, allocations: 64.3 kB / 0.8411 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.007e-05/1.198, allocations: 19.98 kB / 0.8412 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0009543/1.199, allocations: 0.6702 MB / 0.8418 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/1.199, allocations: 0 / 0.8418 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001747/1.2, allocations: 0.5732 MB / 0.8424 GB, free: 9.461 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000562/1.201, allocations: 216.1 kB / 0.8426 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007232/1.208, allocations: 2.059 MB / 0.8446 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.596e-06/1.208, allocations: 0 / 0.8446 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.005813/1.214, allocations: 1.104 MB / 0.8457 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002905/1.217, allocations: 0.5108 MB / 0.8462 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004597/1.222, allocations: 2.323 MB / 0.8484 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006481/1.222, allocations: 1.07 MB / 0.8495 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001495/1.224, allocations: 290.1 kB / 0.8497 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/1.224, allocations: 87.41 kB / 0.8498 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of SimCode: time 1.122e-06/1.224, allocations: 0 / 0.8498 GB, free: 1.73 MB / 0.6075 GB Notification: Performance of Templates: time 0.03723/1.261, allocations: 21.26 MB / 0.8706 GB, free: 12.73 MB / 0.6387 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)