Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.567/2.567, allocations: 287.5 MB / 302.4 MB, free: 8.328 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.00148/0.00148, allocations: 170.3 kB / 371 MB, free: 10.87 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.128/2.128, allocations: 205.4 MB / 0.6297 GB, free: 10.52 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 86.36 kB / 0.743 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005163/0.0005165, allocations: 12.88 kB / 0.8659 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2175, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.06402/0.2816, allocations: 44.4 MB / 1.022 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03571/0.3173, allocations: 13.06 MB / 1.035 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002338/0.3197, allocations: 55.56 kB / 1.035 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002851/0.3226, allocations: 0.5199 MB / 1.035 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006847/0.3295, allocations: 1.489 MB / 1.037 GB, free: 0.5625 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.01171/0.3412, allocations: 2.639 MB / 1.039 GB, free: 13.95 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007248/0.3485, allocations: 3.704 MB / 1.043 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002346/0.3509, allocations: 0.8993 MB / 1.044 GB, free: 9.324 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004104/0.3551, allocations: 1.233 MB / 1.045 GB, free: 8.086 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002376/0.3575, allocations: 0.9098 MB / 1.046 GB, free: 7.172 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004047/0.3579, allocations: 56 kB / 1.046 GB, free: 7.117 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006261/0.3642, allocations: 1.985 MB / 1.048 GB, free: 5.129 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007691/0.365, allocations: 266.7 kB / 1.048 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007549/0.3658, allocations: 316.8 kB / 1.048 GB, free: 4.551 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004928/0.3707, allocations: 2.069 MB / 1.05 GB, free: 2.477 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.186e-05/0.3708, allocations: 4 kB / 1.05 GB, free: 2.473 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.376e-06/0.3708, allocations: 4 kB / 1.05 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.158e-05/0.3709, allocations: 0 / 1.05 GB, free: 2.469 MB / 0.6667 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.005674/0.3765, allocations: 1.862 MB / 1.052 GB, free: 0.543 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.3766, allocations: 8.031 kB / 1.052 GB, free: 0.5352 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003289/0.3769, allocations: 131.3 kB / 1.052 GB, free: 408 kB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003009/0.38, allocations: 421.8 kB / 1.053 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003847/0.3839, allocations: 1.133 MB / 1.054 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001291/0.3852, allocations: 210.2 kB / 1.054 GB, free: 14.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003391/0.3855, allocations: 100 kB / 1.054 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003827/0.3894, allocations: 1.134 MB / 1.055 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.506e-05/0.3895, allocations: 4 kB / 1.055 GB, free: 13.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001587/0.3896, allocations: 39.98 kB / 1.055 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.817e-05/0.3897, allocations: 20 kB / 1.055 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004665/0.3944, allocations: 1.062 MB / 1.056 GB, free: 12.2 MB / 0.6823 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.01256/0.407, allocations: 4.769 MB / 1.061 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004288/0.4113, allocations: 0.9034 MB / 1.062 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002191/0.4136, allocations: 480.2 kB / 1.062 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001927/0.4155, allocations: 1.084 MB / 1.063 GB, free: 4.457 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002477/0.418, allocations: 0.5392 MB / 1.064 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=73): time 5.46e-06/0.4181, allocations: 0 / 1.064 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of matching and sorting (n=73): time 0.006923/0.425, allocations: 1.402 MB / 1.065 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.4252, allocations: 141.2 kB / 1.065 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/0.4277, allocations: 1.183 MB / 1.067 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002837/0.4281, allocations: 45.7 kB / 1.067 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008272/0.4289, allocations: 0.5953 MB / 1.067 GB, free: 492 kB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004225/0.4293, allocations: 252.3 kB / 1.067 GB, free: 236 kB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.321e-05/0.4294, allocations: 20 kB / 1.067 GB, free: 216 kB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.6053/1.035, allocations: 343.5 kB / 1.068 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00263/1.037, allocations: 459.5 kB / 1.068 GB, free: 88.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002845/1.04, allocations: 0.7046 MB / 1.069 GB, free: 88.61 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002537/1.043, allocations: 0.5365 MB / 1.069 GB, free: 88.57 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.611e-05/1.043, allocations: 1.031 kB / 1.069 GB, free: 88.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.006114/1.049, allocations: 1.352 MB / 1.071 GB, free: 88.26 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001868/1.049, allocations: 242.7 kB / 1.071 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.448e-05/1.049, allocations: 6.031 kB / 1.071 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.553e-05/1.05, allocations: 9.438 kB / 1.071 GB, free: 87.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003082/1.053, allocations: 315.3 kB / 1.071 GB, free: 87.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007981/1.053, allocations: 1.199 MB / 1.072 GB, free: 86.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002706/1.056, allocations: 205 kB / 1.073 GB, free: 86.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004338/1.057, allocations: 51.19 kB / 1.073 GB, free: 86.74 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.057, allocations: 4.031 kB / 1.073 GB, free: 86.74 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005633/1.062, allocations: 1.209 MB / 1.074 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.233e-05/1.062, allocations: 9.984 kB / 1.074 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/1.062, allocations: 9.719 kB / 1.074 GB, free: 86.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002523/1.065, allocations: 277.1 kB / 1.074 GB, free: 86.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.026e-05/1.065, allocations: 17.67 kB / 1.074 GB, free: 86.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002524/1.068, allocations: 199 kB / 1.074 GB, free: 86.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003185/1.068, allocations: 51.89 kB / 1.074 GB, free: 86.29 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (122): * Single equations (assignments): 117 * 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.001068/1.069, allocations: 372.6 kB / 1.075 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004926/1.07, allocations: 142.1 kB / 1.075 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006023/1.076, allocations: 1.32 MB / 1.076 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.74e-05/1.076, allocations: 14.7 kB / 1.076 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.114e-05/1.076, allocations: 2.062 kB / 1.076 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.723e-05/1.076, allocations: 5.312 kB / 1.076 GB, free: 85.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009558/1.085, allocations: 2.547 MB / 1.079 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/1.085, allocations: 2.438 kB / 1.079 GB, free: 84.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002195/1.088, allocations: 225.4 kB / 1.079 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.222e-05/1.088, allocations: 6.75 kB / 1.079 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/1.088, allocations: 28.52 kB / 1.079 GB, free: 84.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006098/1.088, allocations: 1.188 MB / 1.08 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.114e-06/1.089, allocations: 10.12 kB / 1.08 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008/1.097, allocations: 1.906 MB / 1.082 GB, free: 82.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001088/1.098, allocations: 357.7 kB / 1.082 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003921/1.098, allocations: 23.75 kB / 1.082 GB, free: 82.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/1.1, allocations: 124.4 kB / 1.082 GB, free: 82.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/1.101, allocations: 66.03 kB / 1.083 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001727/1.101, allocations: 40.83 kB / 1.083 GB, free: 82.04 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002153/1.103, allocations: 0.7784 MB / 1.083 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.164e-06/1.103, allocations: 0 / 1.083 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003566/1.107, allocations: 0.7887 MB / 1.084 GB, free: 81.61 MB / 0.6823 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) * Number of clocked states: 0 () * 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.009761/1.117, allocations: 2.91 MB / 1.087 GB, free: 80.18 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008867/1.125, allocations: 1.972 MB / 1.089 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/1.126, allocations: 1 kB / 1.089 GB, free: 79.46 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002829/1.128, allocations: 0.6008 MB / 1.089 GB, free: 79.29 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005647/1.134, allocations: 0.586 MB / 1.09 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02868/1.163, allocations: 8.509 MB / 1.098 GB, free: 74.74 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009859/1.164, allocations: 1.178 MB / 1.099 GB, free: 74 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002966/1.167, allocations: 365.2 kB / 1.1 GB, free: 73.92 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001412/1.168, allocations: 0.5541 MB / 1.1 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/1.168, allocations: 4 kB / 1.1 GB, free: 73.51 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.279, allocations: 40.25 MB / 1.14 GB, free: 45.09 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/1.28, allocations: 296.9 kB / 1.14 GB, free: 44.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.83/6.11, allocations: 0 / 1.14 GB, free: 44.72 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)