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.698/1.698, allocations: 289.9 MB / 297.4 MB, free: 6.336 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.001457/0.001457, allocations: 176.8 kB / 366.7 MB, free: 1.633 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.2 MB / 0.626 GB, free: 7.156 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.001035/0.001035, allocations: 85.36 kB / 0.74 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.216e-05/3.224e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.838, allocations: 116.3 MB / 0.9733 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.604/7.442, allocations: 2.368 GB / 3.341 GB, free: 71.88 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/7.442, allocations: 89.59 kB / 3.341 GB, free: 71.83 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.672/16.11, allocations: 2.041 GB / 5.383 GB, free: 108.6 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.836e-06/16.11, allocations: 0 / 5.383 GB, free: 108.6 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.001295/16.12, allocations: 136.4 kB / 5.383 GB, free: 108.6 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.02232/16.14, allocations: 5.173 MB / 5.388 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/16.14, allocations: 11.06 kB / 5.388 GB, free: 106.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01032/16.15, allocations: 1.237 MB / 5.389 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02163/16.17, allocations: 6.677 MB / 5.395 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002979/16.17, allocations: 122.8 kB / 5.396 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002114/16.17, allocations: 240.4 kB / 5.396 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01203/16.18, allocations: 4.483 MB / 5.4 GB, free: 105.7 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01782/16.2, allocations: 4.941 MB / 5.405 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001784/16.2, allocations: 8.906 kB / 5.405 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007158/16.2, allocations: 3.906 kB / 5.405 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002342/16.2, allocations: 195.1 kB / 5.405 GB, free: 105.4 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.03969/16.24, allocations: 23.31 MB / 5.428 GB, free: 96.17 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005354/16.25, allocations: 4.796 MB / 5.433 GB, free: 94.59 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002487/16.25, allocations: 2.008 MB / 5.435 GB, free: 94.55 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001142/16.25, allocations: 1.007 MB / 5.436 GB, free: 93.52 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002605/16.26, allocations: 1.857 MB / 5.437 GB, free: 93.32 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=272): time 4.889e-06/16.26, allocations: 0 / 5.437 GB, free: 93.32 MB / 0.9948 GB Notification: Performance of matching and sorting (n=276): time 0.02514/16.28, allocations: 9.302 MB / 5.447 GB, free: 90.82 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.934e-05/16.28, allocations: 185.2 kB / 5.447 GB, free: 90.62 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007501/16.29, allocations: 3.57 MB / 5.45 GB, free: 90.35 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/16.29, allocations: 39.42 kB / 5.45 GB, free: 90.32 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002519/16.29, allocations: 2.225 MB / 5.452 GB, free: 89.56 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001502/16.29, allocations: 0.9144 MB / 5.453 GB, free: 88.96 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/16.29, allocations: 0 / 5.453 GB, free: 88.96 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001679/16.29, allocations: 423.8 kB / 5.454 GB, free: 88.65 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001845/16.3, allocations: 1.362 MB / 5.455 GB, free: 88.64 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/16.3, allocations: 2.105 MB / 5.457 GB, free: 87.92 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003176/16.3, allocations: 1.909 MB / 5.459 GB, free: 87.87 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/16.3, allocations: 6.078 kB / 5.459 GB, free: 87.87 MB / 0.9948 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.007306/16.31, allocations: 4.031 MB / 5.463 GB, free: 87.54 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001264/16.31, allocations: 5.364 MB / 5.468 GB, free: 82.01 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.481e-05/16.31, allocations: 11.5 kB / 5.468 GB, free: 82.01 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000479/16.31, allocations: 123.2 kB / 5.468 GB, free: 82 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002691/16.31, allocations: 0.6234 MB / 5.469 GB, free: 82 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/16.31, allocations: 2.684 MB / 5.471 GB, free: 80.13 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006628/16.32, allocations: 442.4 kB / 5.472 GB, free: 80.1 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007963/16.32, allocations: 119.5 kB / 5.472 GB, free: 80.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/16.32, allocations: 4.812 kB / 5.472 GB, free: 80.1 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006591/16.33, allocations: 3.624 MB / 5.476 GB, free: 80 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/16.33, allocations: 10.72 kB / 5.476 GB, free: 80 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003612/16.33, allocations: 120.9 kB / 5.476 GB, free: 79.99 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002431/16.33, allocations: 0.6174 MB / 5.476 GB, free: 79.99 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001907/16.33, allocations: 2.07 MB / 5.478 GB, free: 78.71 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006029/16.34, allocations: 436.8 kB / 5.479 GB, free: 78.68 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006326/16.34, allocations: 122.7 kB / 5.479 GB, free: 78.68 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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.0009908/16.34, allocations: 242.4 kB / 5.479 GB, free: 78.5 MB / 0.9948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00694/16.35, allocations: 3.461 MB / 5.482 GB, free: 78.16 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/16.35, allocations: 413.4 kB / 5.483 GB, free: 77.95 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007342/16.36, allocations: 3.799 MB / 5.487 GB, free: 77.74 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-05/16.36, allocations: 33.47 kB / 5.487 GB, free: 77.74 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/16.36, allocations: 0 / 5.487 GB, free: 77.74 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004847/16.36, allocations: 3.222 MB / 5.49 GB, free: 77.47 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.01982/16.38, allocations: 9.774 MB / 5.499 GB, free: 76.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.446e-05/16.38, allocations: 3.844 kB / 5.499 GB, free: 76.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002741/16.38, allocations: 0.6281 MB / 5.5 GB, free: 76.27 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003702/16.39, allocations: 109.5 kB / 5.5 GB, free: 76.27 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/16.39, allocations: 49.62 kB / 5.5 GB, free: 76.27 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/16.39, allocations: 2.663 MB / 5.503 GB, free: 74.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/16.39, allocations: 11.47 kB / 5.503 GB, free: 74.4 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009719/16.4, allocations: 6.398 MB / 5.509 GB, free: 71.76 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003864/16.4, allocations: 1.042 MB / 5.51 GB, free: 71.17 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001629/16.4, allocations: 28.03 kB / 5.51 GB, free: 71.16 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005068/16.41, allocations: 407.2 kB / 5.51 GB, free: 71.14 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003393/16.41, allocations: 169.8 kB / 5.51 GB, free: 71.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003155/16.41, allocations: 108.1 kB / 5.511 GB, free: 71.09 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.005236/16.41, allocations: 2.78 MB / 5.513 GB, free: 70.02 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.71e-07/16.41, allocations: 0 / 5.513 GB, free: 70.02 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0146/16.43, allocations: 2.541 MB / 5.516 GB, free: 69.82 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (265): * Single equations (assignments): 257 * 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.01875/16.45, allocations: 10.62 MB / 5.526 GB, free: 64.59 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.01016/16.46, allocations: 5.831 MB / 5.532 GB, free: 62.25 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-05/16.46, allocations: 3.719 kB / 5.532 GB, free: 62.25 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002546/16.46, allocations: 1.915 MB / 5.534 GB, free: 61.45 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01698/16.48, allocations: 2.65 MB / 5.536 GB, free: 61.04 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03711/16.51, allocations: 11.54 MB / 5.548 GB, free: 56.89 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007096/16.52, allocations: 4.047 MB / 5.552 GB, free: 53.77 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.01454/16.54, allocations: 3.828 MB / 5.555 GB, free: 51.45 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004535/16.54, allocations: 2.014 MB / 5.557 GB, free: 49.59 MB / 0.9948 GB Notification: Performance of SimCode: time 1.472e-06/16.54, allocations: 7.781 kB / 5.557 GB, free: 49.59 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.742/18.28, allocations: 153.6 MB / 5.707 GB, free: 110.2 MB / 1.011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002224/18.28, allocations: 185.8 kB / 5.707 GB, free: 110 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.555/25.84, allocations: 0 / 5.707 GB, free: 110 MB / 1.011 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)