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.674/1.674, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001295/0.001295, allocations: 179.3 kB / 371.6 MB, free: 3.395 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.748/1.748, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001019/0.001019, allocations: 92.89 kB / 0.745 GB, free: 54.63 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.484e-05/3.493e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2763, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.182/7.458, allocations: 2.368 GB / 3.348 GB, free: 232.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/7.458, allocations: 93.11 kB / 3.348 GB, free: 232.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.569/16.03, allocations: 2.059 GB / 5.408 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.665e-06/16.03, allocations: 0 / 5.408 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001383/16.03, allocations: 135.9 kB / 5.408 GB, free: 15.27 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.02745/16.06, allocations: 5.182 MB / 5.413 GB, free: 10.03 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/16.06, allocations: 8.031 kB / 5.413 GB, free: 10.02 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00314/16.06, allocations: 0.5509 MB / 5.413 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01484/16.07, allocations: 1.234 MB / 5.415 GB, free: 8.223 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01954/16.09, allocations: 6.681 MB / 5.421 GB, free: 1.488 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000383/16.09, allocations: 304.6 kB / 5.421 GB, free: 1.191 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002139/16.1, allocations: 411.9 kB / 5.422 GB, free: 0.7891 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8135/16.91, allocations: 5.502 MB / 5.427 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001503/16.91, allocations: 11.59 kB / 5.427 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007678/16.91, allocations: 166 kB / 5.427 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003111/16.91, allocations: 191.3 kB / 5.428 GB, free: 101.2 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01439/16.93, allocations: 4.826 MB / 5.432 GB, free: 101.2 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.05563/16.98, allocations: 23.98 MB / 5.456 GB, free: 92.25 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006793/16.99, allocations: 3.816 MB / 5.459 GB, free: 91.82 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/16.99, allocations: 2.115 MB / 5.461 GB, free: 91.79 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001256/16.99, allocations: 1.001 MB / 5.462 GB, free: 90.75 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003812/17, allocations: 1.861 MB / 5.464 GB, free: 90.59 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=273): time 6.152e-06/17, allocations: 0 / 5.464 GB, free: 90.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=277): time 0.02223/17.02, allocations: 8.22 MB / 5.472 GB, free: 89.09 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.284e-05/17.02, allocations: 137.1 kB / 5.472 GB, free: 88.96 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00994/17.03, allocations: 3.867 MB / 5.476 GB, free: 88.67 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001002/17.03, allocations: 81.77 kB / 5.476 GB, free: 88.64 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003695/17.03, allocations: 2.216 MB / 5.478 GB, free: 88.12 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001915/17.04, allocations: 0.9495 MB / 5.479 GB, free: 87.65 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000617/17.04, allocations: 55.09 kB / 5.479 GB, free: 87.65 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0003777/17.04, allocations: 420.2 kB / 5.48 GB, free: 87.34 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002986/17.04, allocations: 1.443 MB / 5.481 GB, free: 87.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003566/17.04, allocations: 2.197 MB / 5.483 GB, free: 86.62 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003601/17.05, allocations: 1.931 MB / 5.485 GB, free: 86.5 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.129e-05/17.05, allocations: 3.125 kB / 5.485 GB, free: 86.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.009881/17.06, allocations: 4.25 MB / 5.489 GB, free: 86.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001283/17.06, allocations: 5.201 MB / 5.494 GB, free: 80.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.934e-05/17.06, allocations: 11.88 kB / 5.494 GB, free: 80.78 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/17.06, allocations: 126.7 kB / 5.495 GB, free: 80.77 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003085/17.06, allocations: 0.6171 MB / 5.495 GB, free: 80.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002557/17.07, allocations: 2.743 MB / 5.498 GB, free: 78.85 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007035/17.07, allocations: 0.5022 MB / 5.498 GB, free: 78.83 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009192/17.07, allocations: 118.2 kB / 5.498 GB, free: 78.83 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/17.07, allocations: 2.375 kB / 5.499 GB, free: 78.83 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008876/17.08, allocations: 3.902 MB / 5.502 GB, free: 78.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.797e-05/17.08, allocations: 13.34 kB / 5.502 GB, free: 78.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004515/17.08, allocations: 122.9 kB / 5.502 GB, free: 78.66 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002927/17.09, allocations: 0.6091 MB / 5.503 GB, free: 78.66 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002187/17.09, allocations: 2.144 MB / 5.505 GB, free: 77.32 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007171/17.09, allocations: 491.7 kB / 5.506 GB, free: 77.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009164/17.1, allocations: 112.8 kB / 5.506 GB, free: 77.3 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 () * 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.001816/17.1, allocations: 345.9 kB / 5.506 GB, free: 77.13 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002145/17.1, allocations: 424.2 kB / 5.506 GB, free: 76.92 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009853/17.11, allocations: 4.077 MB / 5.51 GB, free: 76.66 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.324e-05/17.11, allocations: 28.88 kB / 5.51 GB, free: 76.66 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/17.11, allocations: 0 / 5.51 GB, free: 76.66 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00568/17.12, allocations: 3.415 MB / 5.514 GB, free: 76.34 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.03047/17.15, allocations: 10.4 MB / 5.524 GB, free: 75.19 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/17.15, allocations: 6.312 kB / 5.524 GB, free: 75.19 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/17.15, allocations: 0.6272 MB / 5.525 GB, free: 75.19 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004131/17.15, allocations: 107.2 kB / 5.525 GB, free: 75.18 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004607/17.15, allocations: 84.7 kB / 5.525 GB, free: 75.18 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/17.15, allocations: 2.724 MB / 5.527 GB, free: 73.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/17.15, allocations: 9.25 kB / 5.527 GB, free: 73.27 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01275/17.17, allocations: 6.721 MB / 5.534 GB, free: 71.99 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004901/17.17, allocations: 1.06 MB / 5.535 GB, free: 71.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002058/17.17, allocations: 75.48 kB / 5.535 GB, free: 71.69 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006072/17.18, allocations: 458.5 kB / 5.536 GB, free: 71.67 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006651/17.18, allocations: 165.1 kB / 5.536 GB, free: 71.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000592/17.18, allocations: 113.3 kB / 5.536 GB, free: 71.67 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.009058/17.19, allocations: 3.043 MB / 5.539 GB, free: 71.46 MB / 0.9948 GB Notification: Performance of sort global known variables: time 8.62e-07/17.19, allocations: 0 / 5.539 GB, free: 71.46 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.01851/17.21, allocations: 2.742 MB / 5.541 GB, free: 71.46 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) * 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.02113/17.23, allocations: 10.8 MB / 5.552 GB, free: 68.03 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01302/17.24, allocations: 6.169 MB / 5.558 GB, free: 67.45 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.777e-05/17.24, allocations: 2.469 kB / 5.558 GB, free: 67.45 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004092/17.25, allocations: 2.033 MB / 5.56 GB, free: 67.19 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01678/17.26, allocations: 2.792 MB / 5.563 GB, free: 67.13 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03659/17.3, allocations: 11.66 MB / 5.574 GB, free: 65.12 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007395/17.31, allocations: 4.036 MB / 5.578 GB, free: 64.29 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01544/17.32, allocations: 3.953 MB / 5.582 GB, free: 64.24 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005528/17.33, allocations: 2.012 MB / 5.584 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of SimCode: time 1.483e-06/17.33, allocations: 0 / 5.584 GB, free: 64.23 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3022/17.63, allocations: 188.2 MB / 5.768 GB, free: 8.891 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002111/17.63, allocations: 244 kB / 5.768 GB, free: 8.574 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.555/26.19, allocations: 0 / 5.768 GB, free: 8.574 MB / 1.01 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)