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.001166/0.001166, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 198.8 kB / 16.53 MB, free: 6.391 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.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.16/2.16, allocations: 390.2 MB / 0.6647 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 75.89 kB / 0.8127 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4779, allocations: 140.4 MB / 0.9497 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp): time 0.002092/0.48, allocations: 1.702 MB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1297/0.6097, allocations: 148.4 MB / 1.096 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.6098, allocations: 3.938 kB / 1.096 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.6101, allocations: 45.98 kB / 1.096 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0009168/0.611, allocations: 430 kB / 1.097 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001103/0.6111, allocations: 67.8 kB / 1.097 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.6113, allocations: 139.4 kB / 1.097 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.822e-05/0.6113, allocations: 13.38 kB / 1.097 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.6114, allocations: 47.84 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.6115, allocations: 75.67 kB / 1.097 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.6115, allocations: 12 kB / 1.097 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007737/0.6123, allocations: 0.4989 MB / 1.098 GB, free: 9.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.519e-05/0.6123, allocations: 27.91 kB / 1.098 GB, free: 9.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.6124, allocations: 51.72 kB / 1.098 GB, free: 9.75 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004636/0.6129, allocations: 371.1 kB / 1.098 GB, free: 9.387 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.6129, allocations: 3.938 kB / 1.098 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.072e-06/0.6129, allocations: 0 / 1.098 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.544e-06/0.6129, allocations: 0 / 1.098 GB, free: 9.383 MB / 0.8575 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.0005589/0.6135, allocations: 482.7 kB / 1.099 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.6135, allocations: 12.03 kB / 1.099 GB, free: 8.852 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.6135, allocations: 106 kB / 1.099 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.6146, allocations: 175.9 kB / 1.099 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002741/0.6149, allocations: 323.3 kB / 1.099 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.615, allocations: 154.5 kB / 1.099 GB, free: 8.059 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5e-05/0.615, allocations: 154.6 kB / 1.099 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.649e-05/0.6151, allocations: 105 kB / 1.1 GB, free: 7.797 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.6151, allocations: 75.28 kB / 1.1 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.876e-05/0.6151, allocations: 154.6 kB / 1.1 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.019e-05/0.6152, allocations: 150.6 kB / 1.1 GB, free: 7.422 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.129e-05/0.6152, allocations: 154.6 kB / 1.1 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.6155, allocations: 0.5134 MB / 1.101 GB, free: 6.707 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.396e-05/0.6156, allocations: 169.1 kB / 1.101 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.6156, allocations: 84.14 kB / 1.101 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.6157, allocations: 75.28 kB / 1.101 GB, free: 6.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.6157, allocations: 105.8 kB / 1.101 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6157, allocations: 0 / 1.101 GB, free: 6.258 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 0.0002642/0.616, allocations: 73.42 kB / 1.101 GB, free: 6.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.616, allocations: 126.7 kB / 1.101 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.6163, allocations: 215.1 kB / 1.101 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.272e-05/0.6163, allocations: 25.7 kB / 1.101 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.239e-05/0.6164, allocations: 108.1 kB / 1.101 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.473e-06/0.6164, allocations: 0 / 1.101 GB, free: 5.684 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.6164, allocations: 17.72 kB / 1.101 GB, free: 5.66 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.002e-05/0.6165, allocations: 334.7 kB / 1.102 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.304e-05/0.6166, allocations: 24.84 kB / 1.102 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.398e-05/0.6166, allocations: 16 kB / 1.102 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.66e-05/0.6167, allocations: 24.86 kB / 1.102 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.6167, allocations: 0 / 1.102 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005449/0.6172, allocations: 146.4 kB / 1.102 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.6172, allocations: 5.25 kB / 1.102 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.6172, allocations: 0 / 1.102 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007074/0.618, allocations: 148.6 kB / 1.102 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.618, allocations: 7.938 kB / 1.102 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01677/0.6348, allocations: 1.62 MB / 1.104 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001897/0.635, allocations: 11.89 kB / 1.104 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.277e-06/0.635, allocations: 0 / 1.104 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.531e-05/0.6351, allocations: 100.1 kB / 1.104 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 3.898e-05/0.6352, allocations: 24.05 kB / 1.104 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 5.762e-05/0.6352, allocations: 28.86 kB / 1.104 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.42e-07/0.6352, allocations: 0 / 1.104 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization_lambda0): time 0.0002578/0.6355, allocations: 106.3 kB / 1.104 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 8.226e-06/0.6355, allocations: 4 kB / 1.104 GB, free: 2.895 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.515e-06/0.6355, allocations: 3.984 kB / 1.104 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003262/0.6359, allocations: 109 kB / 1.104 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.891e-05/0.6359, allocations: 4 kB / 1.104 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.6369, allocations: 1.465 MB / 1.106 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.6371, allocations: 7.984 kB / 1.106 GB, free: 1.168 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.6371, allocations: 4 kB / 1.106 GB, free: 1.164 MB / 0.8575 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 8.956e-05/0.6372, allocations: 256.7 kB / 1.106 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.847e-05/0.6372, allocations: 120.7 kB / 1.106 GB, free: 0.7812 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.6373, allocations: 117.5 kB / 1.106 GB, free: 0.6602 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-05/0.6373, allocations: 176.3 kB / 1.106 GB, free: 492 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-05/0.6374, allocations: 184.2 kB / 1.106 GB, free: 300 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.647e-05/0.6374, allocations: 176.3 kB / 1.107 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.6377, allocations: 449.1 kB / 1.107 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/0.6377, allocations: 108.9 kB / 1.107 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.127e-05/0.6377, allocations: 105 kB / 1.107 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.292e-05/0.6378, allocations: 184.1 kB / 1.107 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.6378, allocations: 180.3 kB / 1.108 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.686e-05/0.6379, allocations: 184.2 kB / 1.108 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.485e-05/0.6379, allocations: 180.3 kB / 1.108 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.638, allocations: 315.7 kB / 1.108 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.058e-05/0.6381, allocations: 201.9 kB / 1.108 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.698e-05/0.6382, allocations: 180.2 kB / 1.109 GB, free: 13.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/0.6384, allocations: 113 kB / 1.109 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.96e-05/0.6384, allocations: 176.3 kB / 1.109 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.6385, allocations: 108.9 kB / 1.109 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001699/0.6386, allocations: 164.1 kB / 1.109 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6387, allocations: 3.938 kB / 1.109 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003617/0.639, allocations: 60 kB / 1.109 GB, free: 13.28 MB / 0.8731 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.0004147/0.6394, allocations: 0.8592 MB / 1.11 GB, free: 12.39 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004587/0.6399, allocations: 301.3 kB / 1.11 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6399, allocations: 0 / 1.11 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.274e-06/0.6399, allocations: 4 kB / 1.11 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.6403, allocations: 489.4 kB / 1.111 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002498/0.6428, allocations: 2.061 MB / 1.113 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002019/0.643, allocations: 0.6967 MB / 1.113 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 8.186e-05/0.6431, allocations: 16.73 kB / 1.113 GB, free: 8.703 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.809e-05/0.6432, allocations: 27.42 kB / 1.113 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of SimCode: time 2.6e-07/0.6432, allocations: 3.938 kB / 1.113 GB, free: 8.672 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.102/3.745, allocations: 4.649 MB / 1.118 GB, free: 4.191 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.74/17.48, allocations: 11.56 kB / 1.118 GB, free: 4.184 MB / 0.8731 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)