Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 1.627/1.627, allocations: 287.4 MB / 302.6 MB, free: 8.258 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.001438/0.001438, allocations: 186 kB / 371.1 MB, free: 10.82 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.368/1.368, allocations: 205.4 MB / 0.6298 GB, free: 10.55 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.0007776/0.0007777, allocations: 92.34 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003911/0.0003913, allocations: 11.84 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 115.3 MB / 0.9787 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.5702/0.7633, allocations: 192.5 MB / 1.167 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.782, allocations: 12.49 MB / 1.179 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002444/0.7845, allocations: 56.91 kB / 1.179 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.7867, allocations: 0.578 MB / 1.18 GB, free: 3.477 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.006032/0.7927, allocations: 1.823 MB / 1.181 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00874/0.8015, allocations: 2.768 MB / 1.184 GB, free: 224 kB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00553/0.807, allocations: 4.029 MB / 1.188 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002223/0.8093, allocations: 1.093 MB / 1.189 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003927/0.8132, allocations: 1.56 MB / 1.191 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002188/0.8154, allocations: 1.039 MB / 1.192 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005714/0.816, allocations: 67 kB / 1.192 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005354/0.8214, allocations: 2.352 MB / 1.194 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0007078/0.8221, allocations: 372 kB / 1.194 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0008869/0.823, allocations: 350.6 kB / 1.195 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003807/0.8269, allocations: 2.374 MB / 1.197 GB, free: 8.395 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8269, allocations: 3.938 kB / 1.197 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8269, allocations: 0 / 1.197 GB, free: 8.391 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.718e-05/0.827, allocations: 2.469 kB / 1.197 GB, free: 8.391 MB / 0.7292 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.004775/0.8318, allocations: 2.071 MB / 1.199 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.8318, allocations: 11.56 kB / 1.199 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003426/0.8322, allocations: 153.3 kB / 1.199 GB, free: 6.707 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002773/0.835, allocations: 0.5786 MB / 1.2 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0027/0.8377, allocations: 1.272 MB / 1.201 GB, free: 5.465 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006244/0.8383, allocations: 216.4 kB / 1.201 GB, free: 5.383 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/0.8386, allocations: 120.2 kB / 1.201 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002691/0.8413, allocations: 1.365 MB / 1.203 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.335e-05/0.8413, allocations: 0 / 1.203 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.8414, allocations: 40.69 kB / 1.203 GB, free: 4.488 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.3e-05/0.8415, allocations: 40.81 kB / 1.203 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/0.8446, allocations: 1.392 MB / 1.204 GB, free: 3.82 MB / 0.7292 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.009008/0.8536, allocations: 5.33 MB / 1.209 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002689/0.8563, allocations: 1.191 MB / 1.21 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/0.8576, allocations: 0.5657 MB / 1.211 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/0.8586, allocations: 0.7825 MB / 1.212 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.86, allocations: 0.6405 MB / 1.212 GB, free: 12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=82): time 3.306e-06/0.86, allocations: 0 / 1.212 GB, free: 12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=82): time 0.004081/0.8641, allocations: 1.667 MB / 1.214 GB, free: 10.33 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.867e-05/0.8642, allocations: 137.2 kB / 1.214 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001851/0.8661, allocations: 1.336 MB / 1.215 GB, free: 8.82 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.8662, allocations: 49.7 kB / 1.215 GB, free: 8.766 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005576/0.8668, allocations: 0.6545 MB / 1.216 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.8671, allocations: 280 kB / 1.216 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.724e-05/0.8671, allocations: 27.92 kB / 1.216 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001163/0.8673, allocations: 349.9 kB / 1.217 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.8686, allocations: 0.5374 MB / 1.217 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001525/0.8701, allocations: 0.8356 MB / 1.218 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002548/0.8727, allocations: 1.253 MB / 1.219 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/0.8727, allocations: 4 kB / 1.219 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.00361/0.8763, allocations: 1.555 MB / 1.221 GB, free: 3.074 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.8765, allocations: 266.8 kB / 1.221 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.8765, allocations: 4 kB / 1.221 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.805e-05/0.8765, allocations: 12 kB / 1.221 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.8782, allocations: 351.4 kB / 1.221 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006607/0.8789, allocations: 1.203 MB / 1.223 GB, free: 1.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001721/0.8807, allocations: 230.8 kB / 1.223 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.8808, allocations: 59.97 kB / 1.223 GB, free: 0.8477 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.195e-05/0.8808, allocations: 6.188 kB / 1.223 GB, free: 0.8438 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003108/0.8839, allocations: 1.399 MB / 1.224 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.163e-05/0.884, allocations: 12 kB / 1.224 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.884, allocations: 8 kB / 1.224 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/0.8853, allocations: 323.7 kB / 1.225 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.969e-05/0.8854, allocations: 11.94 kB / 1.225 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.8869, allocations: 229.8 kB / 1.225 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001166/0.887, allocations: 51.97 kB / 1.225 GB, free: 14.81 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (135): * Single equations (assignments): 130 * 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.0006421/0.8877, allocations: 416.8 kB / 1.225 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003316/0.888, allocations: 158 kB / 1.225 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/0.8912, allocations: 1.382 MB / 1.227 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.8912, allocations: 11.94 kB / 1.227 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.8912, allocations: 0 / 1.227 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.8912, allocations: 3.984 kB / 1.227 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005605/0.8968, allocations: 2.902 MB / 1.23 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.8969, allocations: 4 kB / 1.23 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.8981, allocations: 248.1 kB / 1.23 GB, free: 9.578 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.29e-05/0.8981, allocations: 4 kB / 1.23 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.293e-05/0.8982, allocations: 31.97 kB / 1.23 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005468/0.8987, allocations: 1.184 MB / 1.231 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.8988, allocations: 12.12 kB / 1.231 GB, free: 8.301 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004494/0.9033, allocations: 2.14 MB / 1.233 GB, free: 6.098 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007658/0.9041, allocations: 370.6 kB / 1.233 GB, free: 5.715 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000329/0.9044, allocations: 24 kB / 1.233 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001319/0.9057, allocations: 131.9 kB / 1.234 GB, free: 5.562 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.9059, allocations: 80.44 kB / 1.234 GB, free: 5.484 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.92e-05/0.906, allocations: 39.97 kB / 1.234 GB, free: 5.445 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001432/0.9074, allocations: 0.8869 MB / 1.235 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9075, allocations: 0 / 1.235 GB, free: 4.562 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002366/0.9098, allocations: 0.823 MB / 1.235 GB, free: 3.738 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (91): * Single equations (assignments): 85 * 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.005677/0.9155, allocations: 3.1 MB / 1.238 GB, free: 0.582 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.005292/0.9208, allocations: 2.218 MB / 1.241 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.9209, allocations: 4.062 kB / 1.241 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001586/0.9225, allocations: 0.6603 MB / 1.241 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004352/0.9268, allocations: 0.6913 MB / 1.242 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.9465, allocations: 9.631 MB / 1.251 GB, free: 2.906 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008623/0.9474, allocations: 1.247 MB / 1.253 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002358/0.9498, allocations: 415.3 kB / 1.253 GB, free: 1.23 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001033/0.9508, allocations: 0.5849 MB / 1.253 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of SimCode: time 1.483e-06/0.9508, allocations: 0 / 1.253 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6494/1.6, allocations: 43.73 MB / 1.296 GB, free: 5.41 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002575/1.601, allocations: 270.9 kB / 1.296 GB, free: 5.059 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.305/4.906, allocations: 4 kB / 1.296 GB, free: 5.055 MB / 0.823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)