Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.643/1.643, allocations: 285.6 MB / 293.1 MB, free: 10.24 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.001127/0.001127, allocations: 176.9 kB / 361.4 MB, free: 6.887 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.581/1.581, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.0009141/0.0009141, allocations: 84.89 kB / 0.733 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.284e-05/2.285e-05, allocations: 4 kB / 0.8518 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6361/0.6361, allocations: 115.3 MB / 0.9644 GB, free: 78.72 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9769/1.613, allocations: 423.2 MB / 1.378 GB, free: 144 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/1.613, allocations: 91.44 kB / 1.378 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.264/3.877, allocations: 0.6107 GB / 1.989 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.274e-06/3.877, allocations: 0 / 1.989 GB, free: 155.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.000248/3.877, allocations: 46.42 kB / 1.989 GB, free: 155.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.004864/3.882, allocations: 1.836 MB / 1.99 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/3.882, allocations: 6.781 kB / 1.99 GB, free: 154.7 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001933/3.884, allocations: 388.3 kB / 1.991 GB, free: 154.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003037/3.887, allocations: 1.313 MB / 1.992 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006462/3.888, allocations: 173.1 kB / 1.992 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/3.888, allocations: 59.34 kB / 1.992 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001213/3.889, allocations: 0.7521 MB / 1.993 GB, free: 154.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/3.891, allocations: 0.9027 MB / 1.994 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/3.891, allocations: 3.844 kB / 1.994 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/3.891, allocations: 0.5156 kB / 1.994 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/3.891, allocations: 25.42 kB / 1.994 GB, free: 154.1 MB / 0.9323 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.006507/3.897, allocations: 4.636 MB / 1.998 GB, free: 152.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007966/3.898, allocations: 0.6016 MB / 1.999 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004113/3.898, allocations: 323.2 kB / 1.999 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008884/3.899, allocations: 1.053 MB / 2 GB, free: 151 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005795/3.9, allocations: 408.7 kB / 2.001 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 2.775e-06/3.9, allocations: 0 / 2.001 GB, free: 150.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.001819/3.902, allocations: 0.8152 MB / 2.002 GB, free: 150.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.726e-05/3.902, allocations: 191.3 kB / 2.002 GB, free: 150.6 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009654/3.903, allocations: 0.8578 MB / 2.003 GB, free: 150.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/3.903, allocations: 29.08 kB / 2.003 GB, free: 150.4 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004072/3.903, allocations: 0.5978 MB / 2.003 GB, free: 150.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/3.904, allocations: 238.2 kB / 2.003 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.161e-05/3.904, allocations: 3.875 kB / 2.003 GB, free: 150.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.65e-05/3.904, allocations: 344.4 kB / 2.004 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004312/3.904, allocations: 312.6 kB / 2.004 GB, free: 149.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006064/3.905, allocations: 0.5819 MB / 2.005 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001164/3.906, allocations: 463.3 kB / 2.005 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/3.906, allocations: 2.125 kB / 2.005 GB, free: 149.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002351/3.908, allocations: 1.074 MB / 2.006 GB, free: 149.4 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003758/3.909, allocations: 1.619 MB / 2.008 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/3.909, allocations: 5.906 kB / 2.008 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.778e-05/3.909, allocations: 8.938 kB / 2.008 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/3.91, allocations: 305.2 kB / 2.008 GB, free: 147.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005403/3.911, allocations: 1.205 MB / 2.009 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/3.912, allocations: 177.9 kB / 2.009 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/3.912, allocations: 61.67 kB / 2.009 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/3.912, allocations: 4.312 kB / 2.009 GB, free: 146.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002288/3.915, allocations: 0.904 MB / 2.01 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.259e-05/3.915, allocations: 13.47 kB / 2.01 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.032e-05/3.915, allocations: 9.094 kB / 2.01 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/3.916, allocations: 284.6 kB / 2.011 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/3.916, allocations: 14.78 kB / 2.011 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/3.918, allocations: 163 kB / 2.011 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000128/3.918, allocations: 53.47 kB / 2.011 GB, free: 146.4 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (121): * Single equations (assignments): 116 * 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.0002869/3.918, allocations: 131.5 kB / 2.011 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001778/3.92, allocations: 0.8032 MB / 2.012 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001868/3.92, allocations: 131.5 kB / 2.012 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002385/3.922, allocations: 1.06 MB / 2.013 GB, free: 146 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/3.922, allocations: 13.44 kB / 2.013 GB, free: 146 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/3.922, allocations: 0 / 2.013 GB, free: 146 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/3.922, allocations: 11.36 kB / 2.013 GB, free: 146 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003843/3.926, allocations: 2.21 MB / 2.015 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/3.926, allocations: 2.188 kB / 2.015 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/3.927, allocations: 229.2 kB / 2.015 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-05/3.927, allocations: 4.625 kB / 2.015 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/3.927, allocations: 16.59 kB / 2.015 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003916/3.928, allocations: 1.191 MB / 2.016 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/3.928, allocations: 2.969 kB / 2.016 GB, free: 144.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002753/3.931, allocations: 1.647 MB / 2.018 GB, free: 144 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005845/3.931, allocations: 343.6 kB / 2.018 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002264/3.931, allocations: 5.25 kB / 2.018 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/3.933, allocations: 125.4 kB / 2.018 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/3.933, allocations: 72.47 kB / 2.019 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/3.933, allocations: 38.94 kB / 2.019 GB, free: 143.9 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001137/3.934, allocations: 0.6365 MB / 2.019 GB, free: 143.7 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.81e-07/3.934, allocations: 0 / 2.019 GB, free: 143.7 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003575/3.938, allocations: 0.8473 MB / 2.02 GB, free: 143.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005378/3.943, allocations: 3.527 MB / 2.023 GB, free: 142 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002927/3.946, allocations: 1.545 MB / 2.025 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/3.946, allocations: 3.469 kB / 2.025 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008558/3.947, allocations: 462.7 kB / 2.025 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002637/3.95, allocations: 469 kB / 2.026 GB, free: 141.7 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005764/3.955, allocations: 2.137 MB / 2.028 GB, free: 141.1 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008551/3.956, allocations: 1.203 MB / 2.029 GB, free: 140.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00224/3.958, allocations: 405.9 kB / 2.03 GB, free: 140.3 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000734/3.959, allocations: 0.5236 MB / 2.03 GB, free: 140.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.714e-06/3.959, allocations: 2.531 kB / 2.03 GB, free: 140.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07262/4.032, allocations: 39.1 MB / 2.068 GB, free: 139.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/4.032, allocations: 217 kB / 2.068 GB, free: 138.9 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.536/7.568, allocations: 0 / 2.068 GB, free: 138.9 MB / 0.9323 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)