Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a1.m_flow|hex.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|hex.Q2_flow|hex.QLat2_flow|hex.port_a1.m_flow|hex.port_a2.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 114.8 kB / 16.42 MB, free: 6.5 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.001371/0.001371, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.331/1.331, allocations: 222.9 MB / 241.1 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.624/2.624, allocations: 472.7 MB / 0.746 GB, free: 428 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 68.14 kB / 1.07 GB, free: 9.527 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8904/0.8917, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow): time 0.2513/1.143, allocations: 250.9 MB / 1.471 GB, free: 1.645 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0258/1.169, allocations: 19.28 MB / 1.49 GB, free: 14.31 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0033/1.172, allocations: 75.56 kB / 1.49 GB, free: 14.23 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.002983/1.175, allocations: 1.219 MB / 1.492 GB, free: 13.01 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.01021/1.186, allocations: 4.207 MB / 1.496 GB, free: 8.785 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.005817/1.191, allocations: 2.467 MB / 1.498 GB, free: 6.332 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.006983/1.198, allocations: 5.382 MB / 1.503 GB, free: 0.9336 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003068/1.201, allocations: 1.918 MB / 1.505 GB, free: 14.98 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006232/1.208, allocations: 2.452 MB / 1.508 GB, free: 12.55 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003232/1.211, allocations: 1.701 MB / 1.509 GB, free: 10.85 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0008326/1.212, allocations: 275.9 kB / 1.51 GB, free: 10.58 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009246/1.221, allocations: 4.495 MB / 1.514 GB, free: 6.074 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001251/1.222, allocations: 0.7242 MB / 1.515 GB, free: 5.348 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.00283/1.225, allocations: 1.408 MB / 1.516 GB, free: 3.934 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/1.237, allocations: 5.401 MB / 1.521 GB, free: 14.52 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.237, allocations: 0 / 1.521 GB, free: 14.52 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.402e-06/1.237, allocations: 3.938 kB / 1.521 GB, free: 14.51 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001306/1.237, allocations: 0 / 1.521 GB, free: 14.51 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.0083/1.245, allocations: 3.387 MB / 1.525 GB, free: 11.03 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/1.245, allocations: 12.02 kB / 1.525 GB, free: 11.02 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01607/1.261, allocations: 2.152 MB / 1.527 GB, free: 8.863 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006041/1.267, allocations: 1.946 MB / 1.529 GB, free: 6.867 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002221/1.268, allocations: 131.2 kB / 1.529 GB, free: 6.738 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007741/1.268, allocations: 176 kB / 1.529 GB, free: 6.566 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008552/1.277, allocations: 2.86 MB / 1.532 GB, free: 3.664 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/1.277, allocations: 4 kB / 1.532 GB, free: 3.66 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003605/1.277, allocations: 71.94 kB / 1.532 GB, free: 3.59 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.89e-05/1.277, allocations: 63.2 kB / 1.532 GB, free: 3.527 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01089/1.288, allocations: 3.405 MB / 1.535 GB, free: 120 kB / 1.248 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.017/1.305, allocations: 9.088 MB / 1.544 GB, free: 6.586 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007522/1.313, allocations: 2.467 MB / 1.546 GB, free: 4.117 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004479/1.317, allocations: 1.521 MB / 1.548 GB, free: 2.594 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009489/1.327, allocations: 5.245 MB / 1.553 GB, free: 13.02 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004846/1.332, allocations: 1.71 MB / 1.555 GB, free: 11.28 MB / 1.279 GB Notification: Performance of pre-optimization done (n=149): time 4.95e-06/1.332, allocations: 0 / 1.555 GB, free: 11.28 MB / 1.279 GB Notification: Performance of matching and sorting (n=149): time 0.01865/1.351, allocations: 5.087 MB / 1.56 GB, free: 6.129 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/1.351, allocations: 153.8 kB / 1.56 GB, free: 5.949 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/1.354, allocations: 1.682 MB / 1.561 GB, free: 4.27 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/1.354, allocations: 53.7 kB / 1.561 GB, free: 4.211 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007807/1.355, allocations: 0.8518 MB / 1.562 GB, free: 3.348 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006118/1.355, allocations: 0.5151 MB / 1.563 GB, free: 2.828 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001139/1.356, allocations: 431.2 kB / 1.563 GB, free: 2.402 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001168/1.356, allocations: 309.1 kB / 1.564 GB, free: 2.098 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004594/1.361, allocations: 1.445 MB / 1.565 GB, free: 0.6484 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.7624/2.123, allocations: 1.761 MB / 1.567 GB, free: 332.2 MB / 1.279 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/2.136, allocations: 3.666 MB / 1.57 GB, free: 331 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.87e-05/2.136, allocations: 3 kB / 1.57 GB, free: 331 MB / 1.279 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.01395/2.15, allocations: 3.977 MB / 1.574 GB, free: 329.8 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 7.833e-05/2.15, allocations: 72.83 kB / 1.574 GB, free: 329.8 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/2.15, allocations: 6.281 kB / 1.574 GB, free: 329.8 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001382/2.152, allocations: 351.1 kB / 1.575 GB, free: 329.7 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/2.156, allocations: 0.7196 MB / 1.575 GB, free: 329.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006394/2.163, allocations: 6.279 MB / 1.581 GB, free: 323.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/2.167, allocations: 434.3 kB / 1.582 GB, free: 323.9 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000322/2.167, allocations: 97.23 kB / 1.582 GB, free: 323.9 MB / 1.279 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005401/2.173, allocations: 1.836 MB / 1.584 GB, free: 323.2 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00469/2.178, allocations: 1.765 MB / 1.585 GB, free: 322.4 MB / 1.279 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01021/2.188, allocations: 3.662 MB / 1.589 GB, free: 320.9 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.128e-05/2.188, allocations: 3.969 kB / 1.589 GB, free: 320.9 MB / 1.279 GB Notification: Performance of matching and sorting (n=237) (initialization_lambda0): time 0.01202/2.2, allocations: 3.985 MB / 1.593 GB, free: 319.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.037e-05/2.2, allocations: 71.17 kB / 1.593 GB, free: 319.5 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/2.2, allocations: 5.062 kB / 1.593 GB, free: 319.5 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/2.201, allocations: 344.6 kB / 1.593 GB, free: 319.4 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004142/2.205, allocations: 0.728 MB / 1.594 GB, free: 319.4 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/2.211, allocations: 6.259 MB / 1.6 GB, free: 313.6 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/2.215, allocations: 406.9 kB / 1.6 GB, free: 313.6 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002512/2.215, allocations: 98.66 kB / 1.601 GB, free: 313.5 MB / 1.279 GB Warning: The initial conditions are over specified. The following 2 initial equations are redundant, so they are removed from the initialization_lambda0 system: hex.UAFroRated.TAirIn = 293.15 hex.UAFroRated.TWatIn = 293.15. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 21 (hex.UAFroRated.isFulWet,hex.UAFroRated.isFulDry,hex.flowRegime_nominal,hex.dryWetCalcs.fullyDry.cfg,hex.dryWetCalcs.fullyWet.cfg,hex.dryWetCalcs.cfg,hex.flowRegime,mAirGai.nextEventScaled,mAirGai.nextEvent,$PRE.mAirGai.nextEvent,mAirGai.last,mAirGai.b,mAirGai.a,mWatGai.nextEventScaled,mWatGai.nextEvent,$PRE.mWatGai.nextEvent,mWatGai.last,mWatGai.b,mWatGai.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 206 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,3), (1,4), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007498/2.216, allocations: 365.4 kB / 1.601 GB, free: 313.2 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005402/2.216, allocations: 214.9 kB / 1.601 GB, free: 313.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01099/2.227, allocations: 3.784 MB / 1.605 GB, free: 311.4 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/2.227, allocations: 6.328 kB / 1.605 GB, free: 311.4 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/2.227, allocations: 3.938 kB / 1.605 GB, free: 311.4 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/2.228, allocations: 0.6042 MB / 1.605 GB, free: 310.9 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003657/2.229, allocations: 36 kB / 1.605 GB, free: 310.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002924/2.232, allocations: 303 kB / 1.606 GB, free: 310.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002108/2.232, allocations: 96.22 kB / 1.606 GB, free: 310.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01141/2.243, allocations: 3.632 MB / 1.609 GB, free: 307.2 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01195/2.255, allocations: 4.956 MB / 1.614 GB, free: 302.2 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003554/2.259, allocations: 1.466 MB / 1.616 GB, free: 300.8 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001505/2.26, allocations: 1.135 MB / 1.617 GB, free: 299.6 MB / 1.279 GB Notification: Performance of Backend: time 8.42e-07/2.26, allocations: 0 / 1.617 GB, free: 299.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01546/2.276, allocations: 5.885 MB / 1.623 GB, free: 293.9 MB / 1.279 GB Notification: Performance of SimCode: time 0.006009/2.282, allocations: 4.35 MB / 1.627 GB, free: 289.5 MB / 1.279 GB Notification: Performance of Templates: time 0.08804/2.37, allocations: 74.2 MB / 1.699 GB, free: 215.8 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.WetCoilEffectivenessNTUMassFlow.pipe 2>&1)