Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.402/1.402, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001388/0.001388, allocations: 179.6 kB / 326.5 MB, free: 2.234 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.887/1.886, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0009577/0.0009577, allocations: 101.4 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003676, allocations: 10.78 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2582, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.397/5.655, allocations: 2.475 GB / 3.375 GB, free: 32.99 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/5.655, allocations: 96.14 kB / 3.375 GB, free: 32.94 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.174/8.829, allocations: 0.9209 GB / 4.296 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.813e-06/8.829, allocations: 0 / 4.296 GB, free: 126.7 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000252/8.829, allocations: 51.92 kB / 4.296 GB, free: 126.6 MB / 0.8855 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.007313/8.837, allocations: 2.403 MB / 4.299 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/8.837, allocations: 8.031 kB / 4.299 GB, free: 124.3 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003415/8.837, allocations: 152.2 kB / 4.299 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002882/8.84, allocations: 0.5482 MB / 4.299 GB, free: 123.6 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003018/8.843, allocations: 1.424 MB / 4.301 GB, free: 122.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005668/8.843, allocations: 214.3 kB / 4.301 GB, free: 121.9 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/8.844, allocations: 120 kB / 4.301 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002385/8.846, allocations: 1.39 MB / 4.302 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/8.846, allocations: 0 / 4.302 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001065/8.846, allocations: 44 kB / 4.302 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.658e-05/8.846, allocations: 41.98 kB / 4.302 GB, free: 120.3 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002753/8.849, allocations: 1.39 MB / 4.304 GB, free: 118.9 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.007725/8.857, allocations: 5.447 MB / 4.309 GB, free: 113.1 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/8.859, allocations: 1.115 MB / 4.31 GB, free: 112 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007847/8.86, allocations: 0.7474 MB / 4.311 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/8.861, allocations: 0.6407 MB / 4.312 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=81): time 3.206e-06/8.861, allocations: 0 / 4.312 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=81): time 0.003829/8.865, allocations: 1.702 MB / 4.313 GB, free: 108.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.073e-05/8.865, allocations: 196.6 kB / 4.313 GB, free: 108.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/8.866, allocations: 1.173 MB / 4.315 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001221/8.866, allocations: 49.7 kB / 4.315 GB, free: 107.3 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004141/8.867, allocations: 0.6474 MB / 4.315 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/8.867, allocations: 284 kB / 4.316 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.258e-05/8.867, allocations: 20 kB / 4.316 GB, free: 106.3 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 6.462e-05/8.867, allocations: 349.9 kB / 4.316 GB, free: 106 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001188/8.868, allocations: 0.5413 MB / 4.316 GB, free: 105.4 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/8.87, allocations: 0.8755 MB / 4.317 GB, free: 104.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001219/8.871, allocations: 0.6277 MB / 4.318 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/8.871, allocations: 4 kB / 4.318 GB, free: 103.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003051/8.874, allocations: 1.57 MB / 4.319 GB, free: 102.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003014/8.874, allocations: 1.914 MB / 4.321 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.798e-05/8.874, allocations: 7.984 kB / 4.321 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/8.874, allocations: 12 kB / 4.321 GB, free: 100.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00156/8.876, allocations: 335.5 kB / 4.322 GB, free: 99.85 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004636/8.876, allocations: 1.195 MB / 4.323 GB, free: 98.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/8.878, allocations: 242.8 kB / 4.323 GB, free: 98.37 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/8.878, allocations: 59.95 kB / 4.323 GB, free: 98.31 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.769e-06/8.878, allocations: 4.625 kB / 4.323 GB, free: 98.31 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002733/8.881, allocations: 1.403 MB / 4.324 GB, free: 96.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.515e-05/8.881, allocations: 12.09 kB / 4.324 GB, free: 96.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/8.881, allocations: 16.06 kB / 4.324 GB, free: 96.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/8.882, allocations: 323.5 kB / 4.325 GB, free: 96.55 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/8.882, allocations: 15.94 kB / 4.325 GB, free: 96.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/8.884, allocations: 234.8 kB / 4.325 GB, free: 96.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/8.884, allocations: 59.97 kB / 4.325 GB, free: 96.25 MB / 0.8855 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 () * Number of clocked 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.0007705/8.885, allocations: 414.8 kB / 4.325 GB, free: 95.83 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/8.885, allocations: 162 kB / 4.326 GB, free: 95.67 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002889/8.888, allocations: 1.396 MB / 4.327 GB, free: 94.27 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/8.888, allocations: 12 kB / 4.327 GB, free: 94.25 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/8.888, allocations: 3.938 kB / 4.327 GB, free: 94.25 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.065e-05/8.888, allocations: 11.92 kB / 4.327 GB, free: 94.24 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004873/8.893, allocations: 2.898 MB / 4.33 GB, free: 91.24 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/8.893, allocations: 4 kB / 4.33 GB, free: 91.23 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/8.894, allocations: 244.1 kB / 4.33 GB, free: 91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.749e-06/8.894, allocations: 8 kB / 4.33 GB, free: 90.99 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-05/8.894, allocations: 27.98 kB / 4.33 GB, free: 90.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004126/8.895, allocations: 1.195 MB / 4.331 GB, free: 89.72 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/8.895, allocations: 4 kB / 4.331 GB, free: 89.71 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003925/8.899, allocations: 2.38 MB / 4.334 GB, free: 87.18 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007543/8.899, allocations: 374.7 kB / 4.334 GB, free: 86.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/8.899, allocations: 27.92 kB / 4.334 GB, free: 86.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001256/8.901, allocations: 143.9 kB / 4.334 GB, free: 86.63 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/8.901, allocations: 72.45 kB / 4.334 GB, free: 86.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.317e-05/8.901, allocations: 43.97 kB / 4.334 GB, free: 86.52 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001121/8.902, allocations: 0.8949 MB / 4.335 GB, free: 85.62 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/8.902, allocations: 0 / 4.335 GB, free: 85.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002887/8.905, allocations: 1.038 MB / 4.336 GB, free: 84.59 MB / 0.8855 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) * Number of clocked states: 0 () * 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.007059/8.912, allocations: 5.884 MB / 4.342 GB, free: 78.59 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004511/8.917, allocations: 2.229 MB / 4.344 GB, free: 76.32 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/8.917, allocations: 4 kB / 4.344 GB, free: 76.31 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/8.918, allocations: 0.6688 MB / 4.345 GB, free: 75.65 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00303/8.921, allocations: 0.682 MB / 4.345 GB, free: 74.98 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006401/8.927, allocations: 7.201 MB / 4.352 GB, free: 67.61 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005284/8.928, allocations: 1.266 MB / 4.354 GB, free: 66.3 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001789/8.93, allocations: 418.7 kB / 4.354 GB, free: 65.91 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006911/8.93, allocations: 0.5852 MB / 4.355 GB, free: 65.32 MB / 0.8855 GB Notification: Performance of SimCode: time 1.182e-06/8.93, allocations: 0 / 4.355 GB, free: 65.32 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08534/9.016, allocations: 68.58 MB / 4.422 GB, free: 13.31 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000365/9.016, allocations: 290.3 kB / 4.422 GB, free: 12.95 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.409/13.42, allocations: 3.938 kB / 4.422 GB, free: 12.94 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)