Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexFixIni.sta_b1.T|hexFixIni.sta_b2.T|hexSteStaIni.sta_b1.T|hexSteStaIni.sta_b2.T|hexSteSta.sta_b1.T|hexSteSta.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases") translateModel(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hexFixIni.sta_b1.T|hexFixIni.sta_b2.T|hexSteStaIni.sta_b1.T|hexSteStaIni.sta_b2.T|hexSteSta.sta_b1.T|hexSteSta.sta_b2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 114.3 kB / 16.42 MB, free: 6.441 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.00129/0.00129, allocations: 189.4 kB / 17.35 MB, free: 5.703 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 63.89 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7823/0.7837, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases): time 1.535/2.319, allocations: 0.8522 GB / 1.941 GB, free: 6.547 MB / 1.311 GB Notification: Performance of NFInst.instExpressions: time 0.08717/2.406, allocations: 62.6 MB / 2.002 GB, free: 7.785 MB / 1.373 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01304/2.419, allocations: 354 kB / 2.002 GB, free: 7.438 MB / 1.373 GB Notification: Performance of NFTyping.typeComponents: time 0.01467/2.434, allocations: 5.534 MB / 2.008 GB, free: 1.871 MB / 1.373 GB Notification: Performance of NFTyping.typeBindings: time 0.04226/2.476, allocations: 15.2 MB / 2.023 GB, free: 2.609 MB / 1.389 GB Notification: Performance of NFTyping.typeClassSections: time 0.02209/2.498, allocations: 7.598 MB / 2.03 GB, free: 11.03 MB / 1.404 GB Notification: Performance of NFFlatten.flatten: time 0.1087/2.607, allocations: 91.95 MB / 2.12 GB, free: 14.88 MB / 1.498 GB Notification: Performance of NFFlatten.resolveConnections: time 1.02/3.627, allocations: 58.45 MB / 2.177 GB, free: 78.77 MB / 1.529 GB Notification: Performance of NFEvalConstants.evaluate: time 0.067/3.694, allocations: 36.06 MB / 2.212 GB, free: 77.74 MB / 1.529 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05222/3.747, allocations: 26.98 MB / 2.238 GB, free: 73.89 MB / 1.529 GB Notification: Performance of NFPackage.collectConstants: time 0.01792/3.765, allocations: 4.566 MB / 2.243 GB, free: 73.89 MB / 1.529 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04004/3.805, allocations: 12.78 MB / 2.255 GB, free: 73.89 MB / 1.529 GB Notification: Performance of NFScalarize.scalarize: time 0.0236/3.828, allocations: 11.74 MB / 2.267 GB, free: 72.77 MB / 1.529 GB Notification: Performance of NFVerifyModel.verify: time 0.04859/3.877, allocations: 21.38 MB / 2.288 GB, free: 68.25 MB / 1.529 GB Notification: Performance of NFConvertDAE.convert: time 0.08994/3.967, allocations: 75.34 MB / 2.361 GB, free: 51.83 MB / 1.529 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/3.967, allocations: 0 / 2.361 GB, free: 51.83 MB / 1.529 GB Notification: Performance of FrontEnd: time 1.943e-06/3.967, allocations: 4 kB / 2.361 GB, free: 51.83 MB / 1.529 GB Notification: Performance of Transformations before backend: time 0.002198/3.969, allocations: 0 / 2.361 GB, free: 51.83 MB / 1.529 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5513 * Number of variables: 5513 Notification: Performance of Generate backend data structure: time 0.141/4.11, allocations: 40.01 MB / 2.4 GB, free: 34.34 MB / 1.529 GB Notification: Performance of prepare preOptimizeDAE: time 6.211e-05/4.11, allocations: 9.094 kB / 2.4 GB, free: 34.34 MB / 1.529 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04581/4.156, allocations: 6.379 MB / 2.407 GB, free: 31.6 MB / 1.529 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09944/4.256, allocations: 47.57 MB / 2.453 GB, free: 2.277 MB / 1.529 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00175/4.257, allocations: 1.589 MB / 2.455 GB, free: 1.367 MB / 1.529 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01243/4.27, allocations: 2.126 MB / 2.457 GB, free: 15.93 MB / 1.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1294/4.399, allocations: 43.5 MB / 2.499 GB, free: 4.23 MB / 1.576 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001209/4.4, allocations: 38.81 kB / 2.499 GB, free: 4.207 MB / 1.576 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01181/4.412, allocations: 0.8759 MB / 2.5 GB, free: 3.348 MB / 1.576 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001304/4.414, allocations: 0.9784 MB / 2.501 GB, free: 2.371 MB / 1.576 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09903/4.513, allocations: 40.76 MB / 2.541 GB, free: 9.668 MB / 1.623 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.3123/4.825, allocations: 160.9 MB / 2.698 GB, free: 2.082 MB / 1.779 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03919/4.864, allocations: 22.13 MB / 2.72 GB, free: 11.84 MB / 1.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02766/4.892, allocations: 14.81 MB / 2.734 GB, free: 13 MB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003524/4.896, allocations: 2.593 MB / 2.737 GB, free: 9.93 MB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003159/4.896, allocations: 192.9 kB / 2.737 GB, free: 9.73 MB / 1.826 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01429/4.91, allocations: 1.917 MB / 2.739 GB, free: 7.824 MB / 1.826 GB Notification: Performance of pre-optimization done (n=1196): time 3.608e-05/4.91, allocations: 0 / 2.739 GB, free: 7.824 MB / 1.826 GB Notification: Performance of matching and sorting (n=1256): time 0.2529/5.163, allocations: 86.98 MB / 2.824 GB, free: 1.113 MB / 1.904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/5.163, allocations: 181.2 kB / 2.824 GB, free: 0.9219 MB / 1.904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.7336/5.897, allocations: 24.76 MB / 2.848 GB, free: 0.8932 GB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.004019/5.901, allocations: 274.9 kB / 2.848 GB, free: 0.8931 GB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.01609/5.917, allocations: 12.46 MB / 2.86 GB, free: 0.8891 GB / 1.904 GB Notification: Performance of collectInitialBindings (initialization): time 0.007297/5.924, allocations: 4.393 MB / 2.865 GB, free: 0.8874 GB / 1.904 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008996/5.933, allocations: 2.879 MB / 2.867 GB, free: 0.8863 GB / 1.904 GB Notification: Performance of setup shared object (initialization): time 4.474e-05/5.934, allocations: 301.8 kB / 2.868 GB, free: 0.886 GB / 1.904 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02137/5.955, allocations: 11.25 MB / 2.879 GB, free: 0.8828 GB / 1.904 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02614/5.981, allocations: 14.8 MB / 2.893 GB, free: 0.8762 GB / 1.904 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04452/6.026, allocations: 27.56 MB / 2.92 GB, free: 0.8656 GB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000185/6.026, allocations: 19 kB / 2.92 GB, free: 0.8656 GB / 1.904 GB Notification: Performance of matching and sorting (n=1651) (initialization): time 0.06939/6.095, allocations: 33.08 MB / 2.952 GB, free: 0.8553 GB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/6.095, allocations: 33.59 kB / 2.952 GB, free: 0.8553 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001409/6.096, allocations: 68.59 kB / 2.953 GB, free: 0.8553 GB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03505/6.131, allocations: 12.71 MB / 2.965 GB, free: 0.8534 GB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0134/6.144, allocations: 2.727 MB / 2.968 GB, free: 0.8531 GB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03221/6.176, allocations: 29.92 MB / 2.997 GB, free: 0.8399 GB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01872/6.195, allocations: 1.255 MB / 2.998 GB, free: 0.8392 GB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004169/6.199, allocations: 0.54 MB / 2.999 GB, free: 0.8387 GB / 1.904 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04078/6.24, allocations: 28.01 MB / 3.026 GB, free: 0.8146 GB / 1.904 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01913/6.259, allocations: 14.79 MB / 3.04 GB, free: 0.799 GB / 1.904 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.03464/6.294, allocations: 27.53 MB / 3.067 GB, free: 0.7713 GB / 1.904 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.893e-05/6.294, allocations: 22.47 kB / 3.067 GB, free: 0.7713 GB / 1.904 GB Notification: Performance of matching and sorting (n=1651) (initialization_lambda0): time 0.05596/6.35, allocations: 33.07 MB / 3.1 GB, free: 0.7389 GB / 1.904 GB Notification: Performance of prepare postOptimizeDAE: time 9.764e-05/6.35, allocations: 39 kB / 3.1 GB, free: 0.7389 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001341/6.35, allocations: 68 kB / 3.1 GB, free: 0.7388 GB / 1.904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0322/6.382, allocations: 12.71 MB / 3.112 GB, free: 0.7265 GB / 1.904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01232/6.395, allocations: 2.706 MB / 3.115 GB, free: 0.7239 GB / 1.904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02936/6.424, allocations: 29.34 MB / 3.143 GB, free: 0.6948 GB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01779/6.442, allocations: 1.292 MB / 3.145 GB, free: 0.6936 GB / 1.904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003083/6.445, allocations: 0.535 MB / 3.145 GB, free: 0.6931 GB / 1.904 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 313 * 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 (1233): * Single equations (assignments): 1227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,12,100.0%), (1,8,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(24,202), (24,148)} Notification: Performance of prepare postOptimizeDAE: time 0.005832/6.451, allocations: 0.9341 MB / 3.146 GB, free: 0.6921 GB / 1.904 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005818/6.457, allocations: 1.995 MB / 3.148 GB, free: 0.6902 GB / 1.904 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05341/6.51, allocations: 29.11 MB / 3.176 GB, free: 0.6617 GB / 1.904 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0369/6.547, allocations: 23.86 MB / 3.2 GB, free: 0.6383 GB / 1.904 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.2e-05/6.547, allocations: 0 / 3.2 GB, free: 0.6383 GB / 1.904 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0157/6.563, allocations: 5.733 MB / 3.205 GB, free: 0.6327 GB / 1.904 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007658/6.571, allocations: 339.9 kB / 3.206 GB, free: 0.6324 GB / 1.904 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01679/6.587, allocations: 1.097 MB / 3.207 GB, free: 0.6313 GB / 1.904 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004328/6.592, allocations: 0.6885 MB / 3.207 GB, free: 0.6306 GB / 1.904 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.05833/6.65, allocations: 32.1 MB / 3.239 GB, free: 0.5995 GB / 1.904 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.05457/6.705, allocations: 41.4 MB / 3.279 GB, free: 0.559 GB / 1.904 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01518/6.72, allocations: 12.93 MB / 3.292 GB, free: 0.5463 GB / 1.904 GB Notification: Performance of sorting global known variables: time 0.03297/6.753, allocations: 18.13 MB / 3.31 GB, free: 0.5287 GB / 1.904 GB Notification: Performance of Backend: time 8.72e-07/6.753, allocations: 0 / 3.31 GB, free: 0.5287 GB / 1.904 GB Notification: Performance of simCode: created initialization part: time 0.07886/6.832, allocations: 34.04 MB / 3.343 GB, free: 0.4959 GB / 1.904 GB Notification: Performance of SimCode: time 0.1601/6.992, allocations: 75.98 MB / 3.417 GB, free: 432.4 MB / 1.904 GB Notification: Performance of Templates: time 2.012/9.004, allocations: 0.6414 GB / 4.058 GB, free: 0.7589 GB / 1.904 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe 2>&1)