Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.395/2.395, allocations: 284.9 MB / 292.4 MB, free: 10.48 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.001487/0.001487, allocations: 188.8 kB / 360.6 MB, free: 7.242 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.029/2.029, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.00113/0.001129, allocations: 97.59 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.496e-05, allocations: 4 kB / 0.8509 GB, free: 3.328 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8318/0.8319, allocations: 115.3 MB / 0.9634 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.936/7.768, allocations: 2.367 GB / 3.33 GB, free: 113.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/7.768, allocations: 91.48 kB / 3.33 GB, free: 113.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.08/18.85, allocations: 2.041 GB / 5.371 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.964e-06/18.85, allocations: 0 / 5.371 GB, free: 111.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00121/18.85, allocations: 136.4 kB / 5.372 GB, free: 111.4 MB / 0.9792 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.02589/18.88, allocations: 5.179 MB / 5.377 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/18.88, allocations: 13.92 kB / 5.377 GB, free: 109.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01289/18.89, allocations: 1.239 MB / 5.378 GB, free: 109.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02429/18.91, allocations: 6.657 MB / 5.384 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002824/18.91, allocations: 126 kB / 5.385 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001932/18.92, allocations: 250.5 kB / 5.385 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01437/18.93, allocations: 4.472 MB / 5.389 GB, free: 108.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/18.95, allocations: 4.949 MB / 5.394 GB, free: 108.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001878/18.95, allocations: 8.469 kB / 5.394 GB, free: 108.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009293/18.95, allocations: 3.5 kB / 5.394 GB, free: 108.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002641/18.95, allocations: 192.7 kB / 5.394 GB, free: 108.3 MB / 0.9792 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.05224/19, allocations: 23.31 MB / 5.417 GB, free: 99.05 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008479/19.01, allocations: 4.783 MB / 5.422 GB, free: 97.48 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004544/19.01, allocations: 2.02 MB / 5.424 GB, free: 97.44 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001543/19.02, allocations: 0.9983 MB / 5.425 GB, free: 96.4 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004504/19.02, allocations: 1.858 MB / 5.426 GB, free: 96.21 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=272): time 6.852e-06/19.02, allocations: 0 / 5.426 GB, free: 96.21 MB / 0.9792 GB Notification: Performance of matching and sorting (n=276): time 0.0366/19.06, allocations: 9.302 MB / 5.435 GB, free: 93.71 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.357e-05/19.06, allocations: 192.2 kB / 5.436 GB, free: 93.52 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009031/19.07, allocations: 3.572 MB / 5.439 GB, free: 93.24 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0008924/19.07, allocations: 35.98 kB / 5.439 GB, free: 93.21 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.003226/19.07, allocations: 2.218 MB / 5.441 GB, free: 92.45 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001733/19.07, allocations: 0.9167 MB / 5.442 GB, free: 91.85 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002677/19.07, allocations: 3.406 kB / 5.442 GB, free: 91.85 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002232/19.07, allocations: 421.2 kB / 5.443 GB, free: 91.54 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003174/19.08, allocations: 1.364 MB / 5.444 GB, free: 91.54 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00407/19.08, allocations: 2.105 MB / 5.446 GB, free: 90.81 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005656/19.09, allocations: 1.913 MB / 5.448 GB, free: 90.76 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.581e-05/19.09, allocations: 3.188 kB / 5.448 GB, free: 90.76 MB / 0.9792 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.01236/19.1, allocations: 4.027 MB / 5.452 GB, free: 90.42 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001177/19.1, allocations: 5.372 MB / 5.457 GB, free: 84.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.567e-05/19.1, allocations: 10.72 kB / 5.457 GB, free: 84.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006417/19.1, allocations: 122.3 kB / 5.457 GB, free: 84.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00555/19.11, allocations: 0.6268 MB / 5.458 GB, free: 84.89 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/19.11, allocations: 2.687 MB / 5.46 GB, free: 83.02 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009054/19.12, allocations: 444 kB / 5.461 GB, free: 82.99 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009084/19.12, allocations: 116.4 kB / 5.461 GB, free: 82.99 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/19.12, allocations: 3.75 kB / 5.461 GB, free: 82.99 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01068/19.13, allocations: 3.62 MB / 5.464 GB, free: 82.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.575e-05/19.13, allocations: 13.08 kB / 5.464 GB, free: 82.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004954/19.13, allocations: 119.3 kB / 5.465 GB, free: 82.88 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005099/19.14, allocations: 0.6173 MB / 5.465 GB, free: 82.88 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002849/19.14, allocations: 2.076 MB / 5.467 GB, free: 81.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00874/19.15, allocations: 427.8 kB / 5.468 GB, free: 81.57 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000872/19.15, allocations: 115.1 kB / 5.468 GB, free: 81.57 MB / 0.9792 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.001047/19.15, allocations: 247.9 kB / 5.468 GB, free: 81.39 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01176/19.16, allocations: 3.463 MB / 5.471 GB, free: 81.05 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002187/19.16, allocations: 415.8 kB / 5.472 GB, free: 80.85 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01258/19.18, allocations: 3.792 MB / 5.475 GB, free: 80.64 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-05/19.18, allocations: 28.91 kB / 5.476 GB, free: 80.64 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/19.18, allocations: 0 / 5.476 GB, free: 80.64 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009835/19.19, allocations: 3.224 MB / 5.479 GB, free: 80.38 MB / 0.9792 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.03001/19.22, allocations: 9.781 MB / 5.488 GB, free: 79.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/19.22, allocations: 3.969 kB / 5.488 GB, free: 79.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005773/19.22, allocations: 0.6229 MB / 5.489 GB, free: 79.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005764/19.22, allocations: 103.5 kB / 5.489 GB, free: 79.17 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006722/19.22, allocations: 54.44 kB / 5.489 GB, free: 79.17 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003164/19.23, allocations: 2.663 MB / 5.492 GB, free: 77.31 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/19.23, allocations: 8.906 kB / 5.492 GB, free: 77.31 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01626/19.24, allocations: 6.396 MB / 5.498 GB, free: 76.14 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005314/19.25, allocations: 1.035 MB / 5.499 GB, free: 75.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002169/19.25, allocations: 31.92 kB / 5.499 GB, free: 75.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008419/19.26, allocations: 406 kB / 5.499 GB, free: 75.81 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009456/19.26, allocations: 172.5 kB / 5.499 GB, free: 75.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004886/19.26, allocations: 113.1 kB / 5.5 GB, free: 75.8 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.007991/19.27, allocations: 2.782 MB / 5.502 GB, free: 75.62 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.22e-07/19.27, allocations: 0 / 5.502 GB, free: 75.62 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01873/19.29, allocations: 2.54 MB / 5.505 GB, free: 75.57 MB / 0.9792 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.02267/19.31, allocations: 10.63 MB / 5.515 GB, free: 72.22 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0143/19.32, allocations: 5.824 MB / 5.521 GB, free: 71.67 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/19.32, allocations: 2.594 kB / 5.521 GB, free: 71.67 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.004519/19.33, allocations: 1.928 MB / 5.523 GB, free: 71.43 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02307/19.35, allocations: 2.651 MB / 5.525 GB, free: 71.39 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0413/19.39, allocations: 11.55 MB / 5.537 GB, free: 68.06 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008511/19.4, allocations: 4.036 MB / 5.54 GB, free: 66.57 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.02199/19.42, allocations: 3.829 MB / 5.544 GB, free: 66.54 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006165/19.43, allocations: 2.02 MB / 5.546 GB, free: 64.89 MB / 0.9792 GB Notification: Performance of SimCode: time 1.633e-06/19.43, allocations: 0 / 5.546 GB, free: 64.89 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.189/20.62, allocations: 153.6 MB / 5.696 GB, free: 115.8 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002583/20.62, allocations: 183.3 kB / 5.696 GB, free: 115.6 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.219/29.84, allocations: 3.719 kB / 5.696 GB, free: 115.6 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilCounterFlowMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilCounterFlowMassFlow.pipe 2>&1)