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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.136/2.136, allocations: 390.3 MB / 405.3 MB, free: 13.45 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001189/0.001188, allocations: 181.1 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 223.1 MB / 0.7948 GB, free: 18.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008272/0.0008273, allocations: 98.52 kB / 0.9346 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003295/0.0003295, allocations: 11.56 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2414, allocations: 142.3 MB / 1.223 GB, free: 89.47 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.43/3.671, allocations: 1.715 GB / 2.938 GB, free: 270.3 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/3.672, allocations: 97 kB / 2.938 GB, free: 270.2 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.06442/3.736, allocations: 34.86 MB / 2.972 GB, free: 235.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.543e-06/3.736, allocations: 0 / 2.972 GB, free: 235.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 7.484e-06/3.736, allocations: 0 / 2.972 GB, free: 235.2 MB / 1.167 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.0006222/3.737, allocations: 487.3 kB / 2.973 GB, free: 234.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/3.737, allocations: 12.03 kB / 2.973 GB, free: 234.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.329e-05/3.737, allocations: 113.8 kB / 2.973 GB, free: 234.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/3.738, allocations: 167.1 kB / 2.973 GB, free: 234.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/3.738, allocations: 307 kB / 2.973 GB, free: 234 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/3.738, allocations: 154.6 kB / 2.973 GB, free: 233.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.75e-05/3.738, allocations: 154.6 kB / 2.973 GB, free: 233.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.289e-05/3.738, allocations: 101 kB / 2.973 GB, free: 233.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/3.738, allocations: 83.17 kB / 2.974 GB, free: 233.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.636e-05/3.738, allocations: 150.6 kB / 2.974 GB, free: 233.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/3.738, allocations: 154.6 kB / 2.974 GB, free: 233.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.955e-05/3.739, allocations: 158.6 kB / 2.974 GB, free: 233.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/3.739, allocations: 0.5018 MB / 2.974 GB, free: 232.5 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.225e-05/3.739, allocations: 173.1 kB / 2.975 GB, free: 232.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/3.739, allocations: 83.22 kB / 2.975 GB, free: 232.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/3.739, allocations: 105.8 kB / 2.975 GB, free: 232.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/3.739, allocations: 0 / 2.975 GB, free: 232.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0002567/3.739, allocations: 65.44 kB / 2.975 GB, free: 232.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/3.739, allocations: 126.7 kB / 2.975 GB, free: 231.9 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/3.739, allocations: 206.1 kB / 2.975 GB, free: 231.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/3.739, allocations: 29.7 kB / 2.975 GB, free: 231.7 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/3.74, allocations: 104.1 kB / 2.975 GB, free: 231.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/3.74, allocations: 0 / 2.975 GB, free: 231.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/3.74, allocations: 0 / 2.975 GB, free: 231.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.746e-05/3.74, allocations: 322.8 kB / 2.976 GB, free: 231.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.208e-05/3.74, allocations: 12 kB / 2.976 GB, free: 231.2 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/3.74, allocations: 15.94 kB / 2.976 GB, free: 231.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.593e-05/3.74, allocations: 27.98 kB / 2.976 GB, free: 231.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/3.74, allocations: 0 / 2.976 GB, free: 231.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000462/3.74, allocations: 118.3 kB / 2.976 GB, free: 231.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 4.074e-05/3.74, allocations: 105 kB / 2.976 GB, free: 231 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/3.74, allocations: 0 / 2.976 GB, free: 231 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/3.741, allocations: 132.7 kB / 2.976 GB, free: 230.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.817e-05/3.741, allocations: 11.92 kB / 2.976 GB, free: 230.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003306/3.741, allocations: 0.5524 MB / 2.977 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/3.742, allocations: 15.88 kB / 2.977 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.629e-06/3.742, allocations: 7.922 kB / 2.977 GB, free: 230.2 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/3.742, allocations: 7.953 kB / 2.977 GB, free: 230.2 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001722/3.742, allocations: 72.95 kB / 2.977 GB, free: 230.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-06/3.742, allocations: 0 / 2.977 GB, free: 230.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003206/3.742, allocations: 112.8 kB / 2.977 GB, free: 230 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.055e-05/3.742, allocations: 7.984 kB / 2.977 GB, free: 230 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008524/3.743, allocations: 1.363 MB / 2.978 GB, free: 228.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/3.743, allocations: 0 / 2.978 GB, free: 228.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/3.743, allocations: 8.031 kB / 2.978 GB, free: 228.5 MB / 1.167 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 8.953e-05/3.743, allocations: 268.4 kB / 2.978 GB, free: 228.2 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/3.743, allocations: 116.9 kB / 2.979 GB, free: 228.1 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/3.743, allocations: 113.5 kB / 2.979 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.53e-05/3.743, allocations: 180.3 kB / 2.979 GB, free: 227.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.811e-05/3.743, allocations: 180.3 kB / 2.979 GB, free: 227.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.724e-05/3.743, allocations: 184.3 kB / 2.979 GB, free: 227.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001587/3.744, allocations: 457 kB / 2.98 GB, free: 226.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-05/3.744, allocations: 105 kB / 2.98 GB, free: 226.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.66e-05/3.744, allocations: 105 kB / 2.98 GB, free: 226.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.771e-05/3.744, allocations: 180.2 kB / 2.98 GB, free: 226.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/3.744, allocations: 180.2 kB / 2.98 GB, free: 226.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.66e-05/3.744, allocations: 180.2 kB / 2.98 GB, free: 226.2 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.932e-05/3.744, allocations: 192.2 kB / 2.98 GB, free: 226 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.335e-05/3.744, allocations: 311.5 kB / 2.981 GB, free: 225.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.825e-05/3.744, allocations: 198 kB / 2.981 GB, free: 225.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/3.744, allocations: 189.1 kB / 2.981 GB, free: 225.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/3.744, allocations: 101 kB / 2.981 GB, free: 225.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.828e-05/3.744, allocations: 184.6 kB / 2.981 GB, free: 224.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/3.744, allocations: 108.9 kB / 2.982 GB, free: 224.8 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001547/3.744, allocations: 161.2 kB / 2.982 GB, free: 224.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.01e-07/3.744, allocations: 0 / 2.982 GB, free: 224.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0005067/3.745, allocations: 107.9 kB / 2.982 GB, free: 224.6 MB / 1.167 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.0008949/3.746, allocations: 1.355 MB / 2.983 GB, free: 223.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0004311/3.746, allocations: 198.7 kB / 2.983 GB, free: 223 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/3.746, allocations: 4 kB / 2.983 GB, free: 223 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 2.255e-06/3.746, allocations: 0 / 2.983 GB, free: 223 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003156/3.747, allocations: 0.546 MB / 2.984 GB, free: 222.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005352/3.747, allocations: 0.5496 MB / 2.984 GB, free: 221.8 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/3.747, allocations: 0.7001 MB / 2.985 GB, free: 221.1 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 8.7e-05/3.747, allocations: 16.55 kB / 2.985 GB, free: 221.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.324e-05/3.747, allocations: 27.42 kB / 2.985 GB, free: 221.1 MB / 1.167 GB Notification: Performance of SimCode: time 2.51e-07/3.747, allocations: 0 / 2.985 GB, free: 221.1 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02412/3.772, allocations: 13.39 MB / 2.998 GB, free: 207.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001697/3.772, allocations: 234.1 kB / 2.998 GB, free: 207.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.037/5.809, allocations: 2.812 kB / 2.998 GB, free: 207.6 MB / 1.167 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