Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.708/1.708, allocations: 292.6 MB / 307.5 MB, free: 5.191 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00118/0.00118, allocations: 182.3 kB / 377.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 0.6366 GB, free: 8.551 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008945/0.0008945, allocations: 100.5 kB / 0.7509 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003736, allocations: 12 kB / 0.8749 GB, free: 11.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2918, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.299/6.591, allocations: 2.369 GB / 3.357 GB, free: 215.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/6.591, allocations: 92.56 kB / 3.357 GB, free: 215.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.536/15.13, allocations: 2.063 GB / 5.42 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of FrontEnd: time 4.92e-06/15.13, allocations: 2.578 kB / 5.42 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001451/15.13, allocations: 130 kB / 5.42 GB, free: 100.9 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.02507/15.15, allocations: 6.297 MB / 5.426 GB, free: 99.88 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/15.15, allocations: 12.44 kB / 5.426 GB, free: 99.88 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003186/15.16, allocations: 0.5581 MB / 5.426 GB, free: 99.82 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01107/15.17, allocations: 1.236 MB / 5.428 GB, free: 99.51 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/15.19, allocations: 6.718 MB / 5.434 GB, free: 98.97 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004173/15.19, allocations: 302.2 kB / 5.435 GB, free: 98.96 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001735/15.19, allocations: 420.2 kB / 5.435 GB, free: 98.95 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01448/15.21, allocations: 5.584 MB / 5.44 GB, free: 98.61 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/15.21, allocations: 7.547 kB / 5.44 GB, free: 98.61 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006597/15.21, allocations: 166.2 kB / 5.441 GB, free: 98.61 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002628/15.21, allocations: 190.3 kB / 5.441 GB, free: 98.61 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01186/15.22, allocations: 4.927 MB / 5.446 GB, free: 98.57 MB / 0.9948 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.0443/15.26, allocations: 23.99 MB / 5.469 GB, free: 89.41 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00617/15.27, allocations: 3.851 MB / 5.473 GB, free: 88.99 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001194/15.27, allocations: 1.004 MB / 5.474 GB, free: 87.95 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003583/15.27, allocations: 1.873 MB / 5.476 GB, free: 87.79 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=273): time 5.34e-06/15.27, allocations: 0 / 5.476 GB, free: 87.79 MB / 0.9948 GB Notification: Performance of matching and sorting (n=277): time 0.02319/15.3, allocations: 9.908 MB / 5.485 GB, free: 85.86 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.033e-05/15.3, allocations: 132 kB / 5.485 GB, free: 85.73 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008481/15.31, allocations: 3.913 MB / 5.489 GB, free: 85.45 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0008878/15.31, allocations: 86.98 kB / 5.489 GB, free: 85.42 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002666/15.31, allocations: 2.213 MB / 5.491 GB, free: 84.7 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001482/15.31, allocations: 0.946 MB / 5.492 GB, free: 84.09 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/15.31, allocations: 54.47 kB / 5.492 GB, free: 84.09 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001737/15.31, allocations: 423.3 kB / 5.493 GB, free: 83.79 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/15.31, allocations: 1.471 MB / 5.494 GB, free: 83.78 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/15.32, allocations: 2.23 MB / 5.496 GB, free: 83.06 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/15.32, allocations: 1.95 MB / 5.498 GB, free: 82.95 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/15.32, allocations: 2.344 kB / 5.498 GB, free: 82.95 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.007519/15.33, allocations: 4.307 MB / 5.503 GB, free: 82.54 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001031/15.33, allocations: 5.209 MB / 5.508 GB, free: 77.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/15.33, allocations: 9.25 kB / 5.508 GB, free: 77.21 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004384/15.33, allocations: 125 kB / 5.508 GB, free: 77.21 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002755/15.33, allocations: 0.6158 MB / 5.508 GB, free: 77.21 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002371/15.33, allocations: 2.786 MB / 5.511 GB, free: 75.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006672/15.34, allocations: 0.4961 MB / 5.512 GB, free: 75.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007883/15.34, allocations: 115.5 kB / 5.512 GB, free: 75.25 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.449e-05/15.34, allocations: 5.938 kB / 5.512 GB, free: 75.25 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006542/15.35, allocations: 3.969 MB / 5.516 GB, free: 75.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.009e-05/15.35, allocations: 12.62 kB / 5.516 GB, free: 75.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/15.35, allocations: 126.7 kB / 5.516 GB, free: 75.08 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002482/15.35, allocations: 0.6071 MB / 5.516 GB, free: 75.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/15.35, allocations: 2.176 MB / 5.518 GB, free: 73.75 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006368/15.36, allocations: 496.3 kB / 5.519 GB, free: 73.71 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000517/15.36, allocations: 113.9 kB / 5.519 GB, free: 73.71 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (336): * Single equations (assignments): 332 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00512/15.36, allocations: 2.151 MB / 5.521 GB, free: 73.46 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001662/15.37, allocations: 424.4 kB / 5.521 GB, free: 73.25 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008118/15.37, allocations: 4.121 MB / 5.526 GB, free: 72.98 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.54e-05/15.37, allocations: 29.41 kB / 5.526 GB, free: 72.98 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/15.37, allocations: 0 / 5.526 GB, free: 72.98 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004973/15.38, allocations: 3.45 MB / 5.529 GB, free: 72.66 MB / 0.9948 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 postOpt removeSimpleEquations (simulation): time 0.02342/15.4, allocations: 10.45 MB / 5.539 GB, free: 71.51 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.489e-05/15.4, allocations: 6.625 kB / 5.539 GB, free: 71.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003011/15.4, allocations: 0.6325 MB / 5.54 GB, free: 71.51 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003916/15.41, allocations: 109.9 kB / 5.54 GB, free: 71.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002466/15.41, allocations: 83.41 kB / 5.54 GB, free: 71.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002296/15.41, allocations: 2.769 MB / 5.543 GB, free: 69.58 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.907e-06/15.41, allocations: 7 kB / 5.543 GB, free: 69.58 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01121/15.42, allocations: 6.792 MB / 5.549 GB, free: 68.3 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00471/15.42, allocations: 1.059 MB / 5.55 GB, free: 68 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001716/15.43, allocations: 76.16 kB / 5.55 GB, free: 68 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00534/15.43, allocations: 449.7 kB / 5.551 GB, free: 67.97 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003992/15.43, allocations: 170 kB / 5.551 GB, free: 67.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003089/15.43, allocations: 112.7 kB / 5.551 GB, free: 67.96 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00602/15.44, allocations: 3.09 MB / 5.554 GB, free: 67.79 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.61e-07/15.44, allocations: 0 / 5.554 GB, free: 67.79 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0132/15.45, allocations: 2.749 MB / 5.557 GB, free: 67.77 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 18 (hex.ele[1].vol1.dynBal.U,hex.ele[1].vol2.dynBal.U,hex.ele[1].vol2.dynBal.mXi[1],hex.ele[1].mas.T,hex.ele[2].vol1.dynBal.U,hex.ele[2].vol2.dynBal.U,hex.ele[2].vol2.dynBal.mXi[1],hex.ele[2].mas.T,hex.ele[3].vol1.dynBal.U,hex.ele[3].vol2.dynBal.U,hex.ele[3].vol2.dynBal.mXi[1],hex.ele[3].mas.T,hex.ele[4].vol1.dynBal.U,hex.ele[4].vol2.dynBal.U,hex.ele[4].vol2.dynBal.m,hex.ele[4].vol2.dynBal.mXi[1],hex.ele[4].mas.T,senRelHum.phi) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (266): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01455/15.47, allocations: 10.87 MB / 5.567 GB, free: 64.3 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.008807/15.47, allocations: 6.114 MB / 5.573 GB, free: 63.73 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/15.47, allocations: 2.844 kB / 5.573 GB, free: 63.73 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002582/15.48, allocations: 2.056 MB / 5.575 GB, free: 63.48 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01327/15.49, allocations: 2.781 MB / 5.578 GB, free: 63.43 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0315/15.52, allocations: 28.98 MB / 5.606 GB, free: 43.67 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005745/15.53, allocations: 4.028 MB / 5.61 GB, free: 58.85 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.008381/15.54, allocations: 2.386 MB / 5.613 GB, free: 58.8 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00413/15.54, allocations: 2.089 MB / 5.615 GB, free: 58.8 MB / 1.01 GB Notification: Performance of SimCode: time 1.312e-06/15.54, allocations: 0 / 5.615 GB, free: 58.8 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2584/15.8, allocations: 174.6 MB / 5.785 GB, free: 8.836 MB / 1.026 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002892/15.8, allocations: 266.1 kB / 5.785 GB, free: 8.477 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.783/22.58, allocations: 0 / 5.785 GB, free: 8.477 MB / 1.026 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)