Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.487/1.487, allocations: 249.5 MB / 257 MB, free: 6.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 184.5 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.3 MB / 0.5671 GB, free: 15.86 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001007/0.001007, allocations: 95.67 kB / 0.6714 GB, free: 4.973 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.394e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2086, allocations: 106.4 MB / 0.8853 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.904/7.112, allocations: 2.485 GB / 3.37 GB, free: 267.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002274/7.113, allocations: 87.95 kB / 3.37 GB, free: 267 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.661/14.77, allocations: 1.985 GB / 5.355 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.074e-06/14.77, allocations: 0 / 5.355 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.00126/14.78, allocations: 137.9 kB / 5.356 GB, free: 108.1 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1029 * Number of variables: 1029 Notification: Performance of Generate backend data structure: time 0.03049/14.81, allocations: 5.188 MB / 5.361 GB, free: 106.5 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/14.81, allocations: 9.062 kB / 5.361 GB, free: 106.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/14.82, allocations: 1.243 MB / 5.362 GB, free: 106.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02096/14.84, allocations: 6.692 MB / 5.368 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003867/14.84, allocations: 127.2 kB / 5.368 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002115/14.84, allocations: 249.8 kB / 5.369 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01207/14.85, allocations: 4.504 MB / 5.373 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01745/14.87, allocations: 4.957 MB / 5.378 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003136/14.87, allocations: 6.281 kB / 5.378 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001628/14.87, allocations: 3.344 kB / 5.378 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002289/14.87, allocations: 201.7 kB / 5.378 GB, free: 105.1 MB / 0.9167 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.04374/14.92, allocations: 23.34 MB / 5.401 GB, free: 95.86 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006556/14.92, allocations: 4.597 MB / 5.405 GB, free: 94.5 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003286/14.93, allocations: 2.008 MB / 5.407 GB, free: 94.46 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/14.93, allocations: 0.9973 MB / 5.408 GB, free: 93.42 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003596/14.93, allocations: 1.86 MB / 5.41 GB, free: 93.23 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=272): time 8.947e-06/14.93, allocations: 0 / 5.41 GB, free: 93.23 MB / 0.9167 GB Notification: Performance of matching and sorting (n=276): time 0.03167/14.96, allocations: 9.292 MB / 5.419 GB, free: 90.7 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.911e-05/14.96, allocations: 187.1 kB / 5.419 GB, free: 90.51 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009773/14.97, allocations: 3.598 MB / 5.423 GB, free: 90.24 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.001012/14.97, allocations: 38.67 kB / 5.423 GB, free: 90.21 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.003452/14.98, allocations: 2.227 MB / 5.425 GB, free: 89.45 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.001874/14.98, allocations: 0.9204 MB / 5.426 GB, free: 88.84 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005937/14.98, allocations: 0 / 5.426 GB, free: 88.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0003834/14.98, allocations: 424 kB / 5.426 GB, free: 88.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002651/14.98, allocations: 1.358 MB / 5.428 GB, free: 88.53 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003153/14.99, allocations: 2.096 MB / 5.43 GB, free: 87.79 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004243/14.99, allocations: 1.904 MB / 5.432 GB, free: 87.74 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-05/14.99, allocations: 3.75 kB / 5.432 GB, free: 87.74 MB / 0.9167 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01019/15, allocations: 4.011 MB / 5.436 GB, free: 87.41 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001407/15, allocations: 5.36 MB / 5.441 GB, free: 81.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4e-05/15, allocations: 13.03 kB / 5.441 GB, free: 81.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005128/15, allocations: 119.3 kB / 5.441 GB, free: 81.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002949/15, allocations: 0.6244 MB / 5.442 GB, free: 81.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/15.01, allocations: 2.679 MB / 5.444 GB, free: 80.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007222/15.01, allocations: 451.1 kB / 5.445 GB, free: 79.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/15.02, allocations: 119.9 kB / 5.445 GB, free: 79.98 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/15.02, allocations: 3.938 kB / 5.445 GB, free: 79.98 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00935/15.02, allocations: 3.597 MB / 5.448 GB, free: 79.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.874e-05/15.03, allocations: 15.06 kB / 5.448 GB, free: 79.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004237/15.03, allocations: 121 kB / 5.448 GB, free: 79.87 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002746/15.03, allocations: 0.6151 MB / 5.449 GB, free: 79.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/15.03, allocations: 2.066 MB / 5.451 GB, free: 78.59 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006626/15.04, allocations: 436.2 kB / 5.451 GB, free: 78.57 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008008/15.04, allocations: 116 kB / 5.452 GB, free: 78.57 MB / 0.9167 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.00167/15.04, allocations: 250.9 kB / 5.452 GB, free: 78.39 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008999/15.05, allocations: 3.45 MB / 5.455 GB, free: 78.04 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/15.05, allocations: 412.8 kB / 5.456 GB, free: 77.84 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00897/15.06, allocations: 3.776 MB / 5.459 GB, free: 77.63 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.776e-05/15.06, allocations: 31.62 kB / 5.459 GB, free: 77.63 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.159e-05/15.06, allocations: 3.625 kB / 5.459 GB, free: 77.63 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005792/15.07, allocations: 3.203 MB / 5.462 GB, free: 77.37 MB / 0.9167 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.02535/15.09, allocations: 9.614 MB / 5.472 GB, free: 76.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.7e-05/15.09, allocations: 3.656 kB / 5.472 GB, free: 76.29 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002969/15.09, allocations: 0.6289 MB / 5.472 GB, free: 76.29 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004061/15.09, allocations: 104.1 kB / 5.472 GB, free: 76.29 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004859/15.09, allocations: 49.59 kB / 5.473 GB, free: 76.29 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00227/15.1, allocations: 2.669 MB / 5.475 GB, free: 74.42 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.46e-05/15.1, allocations: 7.031 kB / 5.475 GB, free: 74.42 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/15.11, allocations: 6.374 MB / 5.481 GB, free: 73.25 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004468/15.11, allocations: 1.059 MB / 5.482 GB, free: 72.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002281/15.12, allocations: 31.58 kB / 5.482 GB, free: 72.95 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006471/15.12, allocations: 412.3 kB / 5.483 GB, free: 72.93 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006605/15.12, allocations: 166.2 kB / 5.483 GB, free: 72.92 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000622/15.12, allocations: 114.2 kB / 5.483 GB, free: 72.92 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.007817/15.13, allocations: 2.804 MB / 5.486 GB, free: 72.74 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7.41e-07/15.13, allocations: 0 / 5.486 GB, free: 72.74 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01756/15.15, allocations: 2.553 MB / 5.488 GB, free: 72.68 MB / 0.9167 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.01907/15.17, allocations: 10.6 MB / 5.499 GB, free: 69.35 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01099/15.18, allocations: 5.799 MB / 5.504 GB, free: 68.79 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-05/15.18, allocations: 0 / 5.504 GB, free: 68.79 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003162/15.18, allocations: 1.918 MB / 5.506 GB, free: 68.55 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01578/15.2, allocations: 2.638 MB / 5.509 GB, free: 68.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03669/15.23, allocations: 11.6 MB / 5.52 GB, free: 66.43 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005883/15.24, allocations: 4.057 MB / 5.524 GB, free: 65.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.01268/15.25, allocations: 3.837 MB / 5.528 GB, free: 65.55 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004152/15.26, allocations: 2.028 MB / 5.53 GB, free: 65.54 MB / 0.9167 GB Notification: Performance of SimCode: time 2.064e-06/15.26, allocations: 0 / 5.53 GB, free: 65.54 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.253/15.51, allocations: 153.7 MB / 5.68 GB, free: 7.703 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/15.51, allocations: 202.6 kB / 5.68 GB, free: 7.457 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.86/22.37, allocations: 0 / 5.68 GB, free: 7.457 MB / 0.948 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)