Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001549/0.001549, allocations: 110.4 kB / 16.42 MB, free: 6.508 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.001877/0.001877, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.503/2.503, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 71.88 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7665/0.768, allocations: 151.6 MB / 1.167 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases): time 1.546/2.314, allocations: 0.8522 GB / 2.02 GB, free: 4.094 MB / 1.451 GB Notification: Performance of NFInst.instExpressions: time 0.09529/2.409, allocations: 62.59 MB / 2.081 GB, free: 5.352 MB / 1.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01659/2.426, allocations: 346.1 kB / 2.081 GB, free: 5.012 MB / 1.514 GB Notification: Performance of NFTyping.typeComponents: time 0.01617/2.442, allocations: 5.534 MB / 2.086 GB, free: 15.45 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.04179/2.484, allocations: 15.2 MB / 2.101 GB, free: 192 kB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.01993/2.504, allocations: 7.609 MB / 2.109 GB, free: 8.598 MB / 1.545 GB Notification: Performance of NFFlatten.flatten: time 1.877/4.381, allocations: 91.93 MB / 2.198 GB, free: 109.3 MB / 1.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.07648/4.458, allocations: 58.45 MB / 2.256 GB, free: 99.84 MB / 1.592 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07702/4.535, allocations: 36.08 MB / 2.291 GB, free: 98.45 MB / 1.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05339/4.588, allocations: 26.96 MB / 2.317 GB, free: 94.59 MB / 1.592 GB Notification: Performance of NFPackage.collectConstants: time 0.01662/4.605, allocations: 4.561 MB / 2.322 GB, free: 94.59 MB / 1.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04519/4.65, allocations: 12.78 MB / 2.334 GB, free: 92.95 MB / 1.592 GB Notification: Performance of NFScalarize.scalarize: time 0.0226/4.673, allocations: 11.74 MB / 2.346 GB, free: 88.52 MB / 1.592 GB Notification: Performance of NFVerifyModel.verify: time 0.05102/4.724, allocations: 21.39 MB / 2.366 GB, free: 76.79 MB / 1.592 GB Notification: Performance of NFConvertDAE.convert: time 0.09134/4.815, allocations: 75.35 MB / 2.44 GB, free: 25.53 MB / 1.592 GB Notification: Performance of FrontEnd - DAE generated: time 7.605e-06/4.815, allocations: 0 / 2.44 GB, free: 25.53 MB / 1.592 GB Notification: Performance of FrontEnd: time 1.553e-06/4.815, allocations: 0 / 2.44 GB, free: 25.53 MB / 1.592 GB Notification: Performance of Transformations before backend: time 0.001892/4.817, allocations: 0 / 2.44 GB, free: 25.53 MB / 1.592 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.1202/4.937, allocations: 40 MB / 2.479 GB, free: 1.816 MB / 1.608 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/4.937, allocations: 12.92 kB / 2.479 GB, free: 1.805 MB / 1.608 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04579/4.983, allocations: 6.38 MB / 2.485 GB, free: 11.41 MB / 1.623 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1135/5.097, allocations: 47.56 MB / 2.532 GB, free: 13.02 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002043/5.099, allocations: 1.587 MB / 2.533 GB, free: 11.45 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01105/5.11, allocations: 2.132 MB / 2.535 GB, free: 9.328 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1222/5.232, allocations: 43.5 MB / 2.578 GB, free: 13.52 MB / 1.717 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001036/5.233, allocations: 50.2 kB / 2.578 GB, free: 13.48 MB / 1.717 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01116/5.244, allocations: 0.8677 MB / 2.579 GB, free: 12.62 MB / 1.717 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001306/5.246, allocations: 0.9735 MB / 2.58 GB, free: 11.65 MB / 1.717 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09593/5.342, allocations: 40.76 MB / 2.619 GB, free: 2.949 MB / 1.748 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.2873/5.629, allocations: 160.9 MB / 2.777 GB, free: 11.36 MB / 1.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04067/5.67, allocations: 22.14 MB / 2.798 GB, free: 5.098 MB / 1.936 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02673/5.696, allocations: 14.81 MB / 2.813 GB, free: 6.262 MB / 1.951 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003406/5.7, allocations: 2.589 MB / 2.815 GB, free: 3.191 MB / 1.951 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/5.7, allocations: 184.9 kB / 2.815 GB, free: 3 MB / 1.951 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01348/5.714, allocations: 1.918 MB / 2.817 GB, free: 1.094 MB / 1.951 GB Notification: Performance of pre-optimization done (n=1196): time 4.845e-05/5.714, allocations: 4 kB / 2.817 GB, free: 1.09 MB / 1.951 GB Notification: Performance of matching and sorting (n=1256): time 1.534/7.248, allocations: 86.97 MB / 2.902 GB, free: 0.9497 GB / 1.998 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/7.248, allocations: 183.1 kB / 2.902 GB, free: 0.9497 GB / 1.998 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04597/7.294, allocations: 24.76 MB / 2.927 GB, free: 0.9432 GB / 1.998 GB Notification: Performance of collectPreVariables (initialization): time 0.003593/7.298, allocations: 277.9 kB / 2.927 GB, free: 0.943 GB / 1.998 GB Notification: Performance of collectInitialEqns (initialization): time 0.01273/7.31, allocations: 12.46 MB / 2.939 GB, free: 0.9344 GB / 1.998 GB Notification: Performance of collectInitialBindings (initialization): time 0.006207/7.317, allocations: 4.395 MB / 2.943 GB, free: 0.9311 GB / 1.998 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007938/7.325, allocations: 2.871 MB / 2.946 GB, free: 0.93 GB / 1.998 GB Notification: Performance of setup shared object (initialization): time 4.466e-05/7.325, allocations: 301.1 kB / 2.946 GB, free: 0.9297 GB / 1.998 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01582/7.34, allocations: 11.25 MB / 2.957 GB, free: 0.9265 GB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01968/7.36, allocations: 14.79 MB / 2.972 GB, free: 0.9198 GB / 1.998 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03835/7.398, allocations: 27.56 MB / 2.999 GB, free: 0.8989 GB / 1.998 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.854e-05/7.399, allocations: 20 kB / 2.999 GB, free: 0.8989 GB / 1.998 GB Notification: Performance of matching and sorting (n=1651) (initialization): time 0.06586/7.464, allocations: 33.08 MB / 3.031 GB, free: 0.8666 GB / 1.998 GB Notification: Performance of prepare postOptimizeDAE: time 7.777e-05/7.465, allocations: 39.98 kB / 3.031 GB, free: 0.8666 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.997e-05/7.465, allocations: 69.2 kB / 3.031 GB, free: 0.8665 GB / 1.998 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03354/7.498, allocations: 12.71 MB / 3.044 GB, free: 0.8542 GB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01276/7.511, allocations: 2.724 MB / 3.046 GB, free: 0.8516 GB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03084/7.542, allocations: 29.93 MB / 3.076 GB, free: 0.8219 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01928/7.561, allocations: 1.252 MB / 3.077 GB, free: 0.8207 GB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003884/7.565, allocations: 0.5439 MB / 3.077 GB, free: 0.8202 GB / 1.998 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04297/7.608, allocations: 28.01 MB / 3.105 GB, free: 0.7928 GB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02069/7.629, allocations: 14.78 MB / 3.119 GB, free: 0.7772 GB / 1.998 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04209/7.671, allocations: 27.54 MB / 3.146 GB, free: 0.7495 GB / 1.998 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001067/7.671, allocations: 20 kB / 3.146 GB, free: 0.7495 GB / 1.998 GB Notification: Performance of matching and sorting (n=1651) (initialization_lambda0): time 0.06301/7.734, allocations: 33.07 MB / 3.178 GB, free: 0.7171 GB / 1.998 GB Notification: Performance of prepare postOptimizeDAE: time 8.027e-05/7.734, allocations: 36 kB / 3.178 GB, free: 0.7171 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/7.734, allocations: 71.17 kB / 3.178 GB, free: 0.717 GB / 1.998 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03479/7.769, allocations: 12.71 MB / 3.191 GB, free: 0.7047 GB / 1.998 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01262/7.782, allocations: 2.713 MB / 3.193 GB, free: 0.702 GB / 1.998 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03108/7.813, allocations: 29.32 MB / 3.222 GB, free: 0.673 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02012/7.833, allocations: 1.301 MB / 3.223 GB, free: 0.6718 GB / 1.998 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003679/7.837, allocations: 0.5389 MB / 3.224 GB, free: 0.6712 GB / 1.998 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.007507/7.844, allocations: 0.9295 MB / 3.225 GB, free: 0.6703 GB / 1.998 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007823/7.852, allocations: 1.999 MB / 3.227 GB, free: 0.6683 GB / 1.998 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05864/7.911, allocations: 29.1 MB / 3.255 GB, free: 0.6399 GB / 1.998 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04699/7.958, allocations: 23.85 MB / 3.278 GB, free: 0.6165 GB / 1.998 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001051/7.958, allocations: 7.906 kB / 3.278 GB, free: 0.6165 GB / 1.998 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0176/7.976, allocations: 5.737 MB / 3.284 GB, free: 0.6108 GB / 1.998 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01097/7.987, allocations: 335.9 kB / 3.284 GB, free: 0.6105 GB / 1.998 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01842/8.005, allocations: 1.096 MB / 3.285 GB, free: 0.6095 GB / 1.998 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004487/8.01, allocations: 0.7001 MB / 3.286 GB, free: 0.6088 GB / 1.998 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0658/8.075, allocations: 32.1 MB / 3.317 GB, free: 0.5777 GB / 1.998 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.06544/8.141, allocations: 41.4 MB / 3.358 GB, free: 0.5371 GB / 1.998 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0162/8.157, allocations: 12.93 MB / 3.371 GB, free: 0.5245 GB / 1.998 GB Notification: Performance of sorting global known variables: time 0.0326/8.19, allocations: 18.12 MB / 3.388 GB, free: 0.5069 GB / 1.998 GB Notification: Performance of Backend: time 9.81e-07/8.19, allocations: 3.688 kB / 3.388 GB, free: 0.5069 GB / 1.998 GB Notification: Performance of simCode: created initialization part: time 0.08108/8.271, allocations: 34.04 MB / 3.421 GB, free: 485.4 MB / 1.998 GB Notification: Performance of SimCode: time 0.1645/8.435, allocations: 76 MB / 3.496 GB, free: 409.8 MB / 1.998 GB Notification: Performance of Templates: time 1.465/9.901, allocations: 0.6414 GB / 4.137 GB, free: 0.7248 GB / 1.998 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Validation.WetCoilDiscretizedInitializationPerfectGases.pipe 2>&1)