Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.87/1.87, allocations: 289.7 MB / 302.2 MB, free: 2.176 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.001314/0.001314, allocations: 175.3 kB / 371.6 MB, free: 3.359 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.916/1.916, allocations: 205.1 MB / 0.6309 GB, free: 11.74 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.001057/0.001057, allocations: 85.89 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.694e-05/4.724e-05, allocations: 4 kB / 0.8663 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3218, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.657/6.979, allocations: 2.359 GB / 3.339 GB, free: 240.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/6.979, allocations: 89.92 kB / 3.339 GB, free: 240.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.273/10.25, allocations: 0.9465 GB / 4.286 GB, free: 4.953 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.533e-06/10.25, allocations: 4 kB / 4.286 GB, free: 4.949 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001973/10.25, allocations: 43.98 kB / 4.286 GB, free: 4.906 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.007768/10.26, allocations: 2.11 MB / 4.288 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/10.26, allocations: 8.031 kB / 4.288 GB, free: 2.73 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003657/10.26, allocations: 156.2 kB / 4.288 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003393/10.26, allocations: 0.5559 MB / 4.288 GB, free: 2.012 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003911/10.27, allocations: 1.387 MB / 4.29 GB, free: 0.5742 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007009/10.27, allocations: 222.3 kB / 4.29 GB, free: 364 kB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003093/10.27, allocations: 124 kB / 4.29 GB, free: 240 kB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8099/11.08, allocations: 1.219 MB / 4.291 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/11.08, allocations: 3.75 kB / 4.291 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/11.08, allocations: 41.2 kB / 4.291 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.885e-05/11.08, allocations: 41.94 kB / 4.291 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/11.08, allocations: 1.07 MB / 4.292 GB, free: 114.5 MB / 0.9636 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.01109/11.09, allocations: 5.443 MB / 4.298 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001603/11.09, allocations: 0.7614 MB / 4.298 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007848/11.09, allocations: 415.9 kB / 4.299 GB, free: 112.4 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009873/11.1, allocations: 0.7534 MB / 4.3 GB, free: 111.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/11.1, allocations: 0.4904 MB / 4.3 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=81): time 5.47e-06/11.1, allocations: 1.688 kB / 4.3 GB, free: 111.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=81): time 0.002565/11.1, allocations: 0.9126 MB / 4.301 GB, free: 111.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.852e-05/11.1, allocations: 198.3 kB / 4.301 GB, free: 111.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/11.1, allocations: 1.154 MB / 4.302 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002347/11.1, allocations: 51.98 kB / 4.302 GB, free: 111.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006753/11.1, allocations: 0.6493 MB / 4.303 GB, free: 110.9 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002797/11.1, allocations: 276.2 kB / 4.303 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.089e-05/11.1, allocations: 24.38 kB / 4.303 GB, free: 110.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001143/11.1, allocations: 347.6 kB / 4.304 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008469/11.1, allocations: 394.9 kB / 4.304 GB, free: 110.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/11.11, allocations: 0.7201 MB / 4.305 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/11.11, allocations: 487.3 kB / 4.305 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/11.11, allocations: 5.641 kB / 4.305 GB, free: 110.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002995/11.11, allocations: 1.258 MB / 4.306 GB, free: 109.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004141/11.11, allocations: 1.905 MB / 4.308 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/11.11, allocations: 6.984 kB / 4.308 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.183e-05/11.11, allocations: 10.69 kB / 4.308 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/11.11, allocations: 338.1 kB / 4.309 GB, free: 108 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005899/11.11, allocations: 1.196 MB / 4.31 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002174/11.12, allocations: 249.5 kB / 4.31 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001817/11.12, allocations: 58.97 kB / 4.31 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/11.12, allocations: 4.5 kB / 4.31 GB, free: 106.8 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002329/11.12, allocations: 1.098 MB / 4.311 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/11.12, allocations: 8.328 kB / 4.311 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/11.12, allocations: 11.81 kB / 4.311 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001585/11.12, allocations: 319.6 kB / 4.311 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.236e-05/11.12, allocations: 14.48 kB / 4.311 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002051/11.12, allocations: 233.1 kB / 4.312 GB, free: 106.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001847/11.12, allocations: 58.91 kB / 4.312 GB, free: 106.7 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 128 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000433/11.12, allocations: 172 kB / 4.312 GB, free: 106.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004562/11.12, allocations: 157.8 kB / 4.312 GB, free: 106.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002607/11.13, allocations: 1.091 MB / 4.313 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/11.13, allocations: 12.22 kB / 4.313 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/11.13, allocations: 3.094 kB / 4.313 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/11.13, allocations: 4.172 kB / 4.313 GB, free: 106.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004955/11.13, allocations: 2.609 MB / 4.316 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/11.13, allocations: 2.969 kB / 4.316 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/11.13, allocations: 250.7 kB / 4.316 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-05/11.13, allocations: 7.656 kB / 4.316 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.455e-05/11.13, allocations: 34.78 kB / 4.316 GB, free: 105.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004193/11.13, allocations: 1.183 MB / 4.317 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.77e-06/11.13, allocations: 5.594 kB / 4.317 GB, free: 104.8 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/11.13, allocations: 1.909 MB / 4.319 GB, free: 104.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008526/11.14, allocations: 378 kB / 4.319 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/11.14, allocations: 30.09 kB / 4.319 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001287/11.14, allocations: 148.1 kB / 4.32 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001837/11.14, allocations: 66.19 kB / 4.32 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.559e-05/11.14, allocations: 42.38 kB / 4.32 GB, free: 103.9 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001403/11.14, allocations: 0.8821 MB / 4.321 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1.9e-07/11.14, allocations: 0 / 4.321 GB, free: 103.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003988/11.14, allocations: 1.039 MB / 4.322 GB, free: 103.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007539/11.15, allocations: 5.415 MB / 4.327 GB, free: 101.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00393/11.15, allocations: 1.818 MB / 4.329 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/11.15, allocations: 3.25 kB / 4.329 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001017/11.16, allocations: 0.5125 MB / 4.329 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003934/11.16, allocations: 0.6864 MB / 4.33 GB, free: 101.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006411/11.17, allocations: 2.469 MB / 4.332 GB, free: 100.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006781/11.17, allocations: 1.269 MB / 4.333 GB, free: 99.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002701/11.17, allocations: 0.5053 MB / 4.334 GB, free: 99.68 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008533/11.17, allocations: 0.5626 MB / 4.334 GB, free: 99.68 MB / 0.9636 GB Notification: Performance of SimCode: time 1.062e-06/11.17, allocations: 0 / 4.334 GB, free: 99.68 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1613/11.33, allocations: 75.77 MB / 4.408 GB, free: 97.96 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/11.33, allocations: 239.5 kB / 4.409 GB, free: 97.64 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.364/16.7, allocations: 3.562 kB / 4.409 GB, free: 97.64 MB / 0.9636 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)