Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007513/0.007513, allocations: 101.7 kB / 15.73 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001636/0.001636, allocations: 191.7 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.265/1.265, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.023/2.023, allocations: 390.3 MB / 0.6648 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 67.89 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6337/0.6349, allocations: 140.4 MB / 1.088 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp): time 0.002296/0.6372, allocations: 1.711 MB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.1538/0.7911, allocations: 148.4 MB / 1.234 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.578e-05/0.7912, allocations: 1.281 kB / 1.234 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002011/0.7914, allocations: 44.94 kB / 1.234 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001098/0.7926, allocations: 439 kB / 1.235 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001479/0.7927, allocations: 67.55 kB / 1.235 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001825/0.7929, allocations: 145.1 kB / 1.235 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.793, allocations: 11.14 kB / 1.235 GB, free: 4.137 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.298e-05/0.793, allocations: 56.88 kB / 1.235 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001409/0.7932, allocations: 72.17 kB / 1.235 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.7932, allocations: 9.031 kB / 1.235 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008695/0.7941, allocations: 0.5039 MB / 1.235 GB, free: 3.785 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.35e-05/0.7941, allocations: 19.45 kB / 1.235 GB, free: 3.77 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.7942, allocations: 57.69 kB / 1.235 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005321/0.7947, allocations: 367.7 kB / 1.236 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7947, allocations: 4 kB / 1.236 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7947, allocations: 1.438 kB / 1.236 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7948, allocations: 0 / 1.236 GB, free: 3.516 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006447/0.7954, allocations: 482.4 kB / 1.236 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.7954, allocations: 9.062 kB / 1.236 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/0.7955, allocations: 111.2 kB / 1.236 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.7966, allocations: 180.7 kB / 1.237 GB, free: 2.812 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002964/0.7969, allocations: 315.9 kB / 1.237 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.487e-05/0.797, allocations: 152.8 kB / 1.237 GB, free: 2.34 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.7971, allocations: 155.8 kB / 1.237 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.175e-05/0.7971, allocations: 102.1 kB / 1.237 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.522e-05/0.7972, allocations: 75.28 kB / 1.237 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.065e-05/0.7972, allocations: 151.6 kB / 1.238 GB, free: 1.859 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-05/0.7973, allocations: 150.6 kB / 1.238 GB, free: 1.711 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.476e-05/0.7973, allocations: 159.7 kB / 1.238 GB, free: 1.555 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003357/0.7977, allocations: 0.5132 MB / 1.238 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 7.725e-05/0.7978, allocations: 170.3 kB / 1.238 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.675e-05/0.7978, allocations: 81.27 kB / 1.239 GB, free: 0.7539 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.2e-05/0.7978, allocations: 79.27 kB / 1.239 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.965e-05/0.7979, allocations: 114.9 kB / 1.239 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.7979, allocations: 0 / 1.239 GB, free: 0.5547 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 0.0002747/0.7982, allocations: 52.12 kB / 1.239 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.686e-05/0.7982, allocations: 127.8 kB / 1.239 GB, free: 388 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.7985, allocations: 221.6 kB / 1.239 GB, free: 220 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.7985, allocations: 26.98 kB / 1.239 GB, free: 188 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/0.7986, allocations: 108.6 kB / 1.239 GB, free: 80 kB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.7986, allocations: 0 / 1.239 GB, free: 80 kB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.6e-05/0.7987, allocations: 28.33 kB / 1.239 GB, free: 52 kB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.7988, allocations: 325.1 kB / 1.24 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.76e-05/0.7989, allocations: 18.17 kB / 1.24 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.71e-05/0.7989, allocations: 16.23 kB / 1.24 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.575e-05/0.799, allocations: 41.28 kB / 1.24 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.799, allocations: 0 / 1.24 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005682/0.7995, allocations: 131.8 kB / 1.24 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7996, allocations: 4.688 kB / 1.24 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.7996, allocations: 3.938 kB / 1.24 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007475/0.8003, allocations: 160.9 kB / 1.24 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.318e-05/0.8004, allocations: 5.406 kB / 1.24 GB, free: 15.49 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001944/0.8024, allocations: 1.604 MB / 1.242 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/0.8025, allocations: 14.56 kB / 1.242 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.8026, allocations: 5.031 kB / 1.242 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.341e-05/0.8027, allocations: 102.7 kB / 1.242 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.126e-05/0.8027, allocations: 11.75 kB / 1.242 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.199e-05/0.8028, allocations: 24.17 kB / 1.242 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.8028, allocations: 3.938 kB / 1.242 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002238/0.803, allocations: 107.5 kB / 1.242 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.803, allocations: 5.75 kB / 1.242 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.803, allocations: 4 kB / 1.242 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003412/0.8034, allocations: 108.7 kB / 1.242 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.267e-05/0.8034, allocations: 8.453 kB / 1.242 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001097/0.8045, allocations: 1.461 MB / 1.243 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.8047, allocations: 2.75 kB / 1.243 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.8047, allocations: 1.375 kB / 1.243 GB, free: 12.13 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.8048, allocations: 257 kB / 1.244 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.088e-05/0.8049, allocations: 122.3 kB / 1.244 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.042e-05/0.8049, allocations: 113.7 kB / 1.244 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.178e-05/0.805, allocations: 180.2 kB / 1.244 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.684e-05/0.805, allocations: 181.6 kB / 1.244 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.538e-05/0.8051, allocations: 177.6 kB / 1.244 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002624/0.8054, allocations: 459 kB / 1.245 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/0.8054, allocations: 106.4 kB / 1.245 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.85e-05/0.8055, allocations: 104.9 kB / 1.245 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.576e-05/0.8055, allocations: 177.6 kB / 1.245 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/0.8056, allocations: 177.6 kB / 1.245 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.702e-05/0.8056, allocations: 185.6 kB / 1.245 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.668e-05/0.8057, allocations: 180.2 kB / 1.246 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001281/0.8058, allocations: 327.7 kB / 1.246 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.8059, allocations: 202 kB / 1.246 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/0.806, allocations: 181.6 kB / 1.246 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001614/0.8062, allocations: 106.4 kB / 1.246 GB, free: 8.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.334e-05/0.8063, allocations: 181.6 kB / 1.247 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.738e-05/0.8063, allocations: 106.3 kB / 1.247 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001859/0.8065, allocations: 166.9 kB / 1.247 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8065, allocations: 0 / 1.247 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004172/0.8069, allocations: 69.75 kB / 1.247 GB, free: 8.375 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005024/0.8074, allocations: 0.8605 MB / 1.248 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005074/0.808, allocations: 308.3 kB / 1.248 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.808, allocations: 0 / 1.248 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.808, allocations: 5.312 kB / 1.248 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004455/0.8084, allocations: 478.8 kB / 1.248 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.8112, allocations: 2.062 MB / 1.251 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.8115, allocations: 0.6932 MB / 1.251 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.8115, allocations: 18.86 kB / 1.251 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.8116, allocations: 27.11 kB / 1.251 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of SimCode: time 5.01e-07/0.8116, allocations: 0 / 1.251 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.743/2.554, allocations: 4.737 MB / 1.256 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.45/16, allocations: 15.3 kB / 1.256 GB, free: 0.668 MB / 0.9825 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe 2>&1)