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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.0007719/0.0007719, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.000841/0.000841, allocations: 168.7 kB / 15.95 MB, free: 200 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.38/2.38, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003246/0.0003248, allocations: 8 kB / 0.8149 GB, free: 14.07 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6235/0.6239, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp): time 0.001658/0.6256, allocations: 1.4 MB / 0.9552 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1526/0.7782, allocations: 134.8 MB / 1.087 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001346/0.7784, allocations: 0 / 1.087 GB, free: 7.539 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002276/0.7786, allocations: 31.81 kB / 1.087 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001161/0.7798, allocations: 310.5 kB / 1.087 GB, free: 7.203 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.7799, allocations: 47.94 kB / 1.087 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003608/0.7803, allocations: 127.3 kB / 1.087 GB, free: 7.031 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 6.97e-05/0.7804, allocations: 11.66 kB / 1.087 GB, free: 7.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.7805, allocations: 43.86 kB / 1.087 GB, free: 6.977 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.7807, allocations: 67.73 kB / 1.087 GB, free: 6.91 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.161e-05/0.7807, allocations: 4 kB / 1.087 GB, free: 6.906 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008512/0.7816, allocations: 359.3 kB / 1.088 GB, free: 6.555 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.7816, allocations: 23.91 kB / 1.088 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.346e-05/0.7817, allocations: 41.64 kB / 1.088 GB, free: 6.484 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0004319/0.7821, allocations: 255.4 kB / 1.088 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.7822, allocations: 0 / 1.088 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7822, allocations: 0 / 1.088 GB, free: 6.234 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.7822, allocations: 0 / 1.088 GB, free: 6.234 MB / 0.8419 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.0007232/0.7829, allocations: 466.6 kB / 1.089 GB, free: 5.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.783, allocations: 12.02 kB / 1.089 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.974e-05/0.783, allocations: 109.8 kB / 1.089 GB, free: 5.602 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001132/0.7841, allocations: 183 kB / 1.089 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.7845, allocations: 303 kB / 1.089 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.7846, allocations: 150.6 kB / 1.089 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.91e-05/0.7847, allocations: 158.6 kB / 1.089 GB, free: 4.781 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.016e-05/0.7848, allocations: 104.9 kB / 1.09 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.7848, allocations: 83.23 kB / 1.09 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/0.7849, allocations: 150.6 kB / 1.09 GB, free: 4.441 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-05/0.785, allocations: 154.6 kB / 1.09 GB, free: 4.289 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.727e-05/0.785, allocations: 158.5 kB / 1.09 GB, free: 4.133 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.7855, allocations: 0.5134 MB / 1.091 GB, free: 3.57 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.976e-05/0.7856, allocations: 169.2 kB / 1.091 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.7856, allocations: 84.14 kB / 1.091 GB, free: 3.309 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.7856, allocations: 75.28 kB / 1.091 GB, free: 3.234 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.7857, allocations: 109.8 kB / 1.091 GB, free: 3.117 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/0.7857, allocations: 4 kB / 1.091 GB, free: 3.113 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0002901/0.786, allocations: 65.53 kB / 1.091 GB, free: 3.043 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/0.7861, allocations: 126.7 kB / 1.091 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.7864, allocations: 223 kB / 1.091 GB, free: 2.68 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.494e-05/0.7864, allocations: 25.7 kB / 1.091 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.7865, allocations: 104.1 kB / 1.092 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.033e-06/0.7865, allocations: 0 / 1.092 GB, free: 2.543 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-06/0.7865, allocations: 4 kB / 1.092 GB, free: 2.539 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000103/0.7866, allocations: 322.8 kB / 1.092 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.886e-05/0.7866, allocations: 16 kB / 1.092 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.241e-05/0.7867, allocations: 12 kB / 1.092 GB, free: 2.188 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.23e-05/0.7867, allocations: 16 kB / 1.092 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7867, allocations: 0 / 1.092 GB, free: 2.172 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005642/0.7873, allocations: 142.3 kB / 1.092 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.18e-05/0.7874, allocations: 89.94 kB / 1.092 GB, free: 1.93 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.129e-06/0.7874, allocations: 4 kB / 1.092 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007174/0.7881, allocations: 148.6 kB / 1.092 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.59e-05/0.7882, allocations: 4 kB / 1.092 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001921/0.7901, allocations: 1.508 MB / 1.094 GB, free: 136 kB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001521/0.7903, allocations: 7.938 kB / 1.094 GB, free: 128 kB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.7903, allocations: 3.984 kB / 1.094 GB, free: 124 kB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.414e-06/0.7903, allocations: 9.188 kB / 1.094 GB, free: 116 kB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000197/0.7905, allocations: 80.91 kB / 1.094 GB, free: 32 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-06/0.7905, allocations: 0 / 1.094 GB, free: 32 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003409/0.7909, allocations: 108.7 kB / 1.094 GB, free: 15.92 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.342e-05/0.7909, allocations: 11.98 kB / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001099/0.792, allocations: 1.351 MB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001291/0.7922, allocations: 3.906 kB / 1.095 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.487e-06/0.7922, allocations: 8.016 kB / 1.095 GB, free: 14.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001337/0.7923, allocations: 272.4 kB / 1.096 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.7924, allocations: 108.9 kB / 1.096 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.695e-05/0.7925, allocations: 121.5 kB / 1.096 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.922e-05/0.7926, allocations: 176.3 kB / 1.096 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.468e-05/0.7926, allocations: 180.3 kB / 1.096 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.598e-05/0.7927, allocations: 184.3 kB / 1.096 GB, free: 13.35 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.793, allocations: 441.2 kB / 1.097 GB, free: 12.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-05/0.793, allocations: 112.9 kB / 1.097 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.757e-05/0.7931, allocations: 109 kB / 1.097 GB, free: 12.63 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.483e-05/0.7932, allocations: 180.3 kB / 1.097 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.376e-05/0.7932, allocations: 184.2 kB / 1.097 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.985e-05/0.7933, allocations: 176.3 kB / 1.097 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.129e-05/0.7934, allocations: 188.2 kB / 1.098 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.7935, allocations: 311.7 kB / 1.098 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.7937, allocations: 205.8 kB / 1.098 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.84e-05/0.7938, allocations: 180.3 kB / 1.098 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.794, allocations: 112.9 kB / 1.098 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.7941, allocations: 180.3 kB / 1.099 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-05/0.7942, allocations: 105 kB / 1.099 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001904/0.7944, allocations: 164 kB / 1.099 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7944, allocations: 4 kB / 1.099 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000449/0.7948, allocations: 68 kB / 1.099 GB, free: 10.51 MB / 0.8575 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005325/0.7954, allocations: 0.8476 MB / 1.1 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005355/0.7959, allocations: 293.7 kB / 1.1 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7959, allocations: 0 / 1.1 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.845e-06/0.7959, allocations: 0 / 1.1 GB, free: 9.324 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005464/0.7965, allocations: 0.546 MB / 1.1 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001688/0.7982, allocations: 0.9301 MB / 1.101 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.7985, allocations: 0.6967 MB / 1.102 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001019/0.7986, allocations: 16.48 kB / 1.102 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.7987, allocations: 27.42 kB / 1.102 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.7987, allocations: 0 / 1.102 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01646/0.8151, allocations: 4.294 MB / 1.106 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.8154, allocations: 242.8 kB / 1.107 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.757/2.572, allocations: 0 / 1.107 GB, free: 2.711 MB / 0.8575 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/linux/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) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp_res.mat does not exist to compare? outputFormat=mat