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.247/2.247, allocations: 387.4 MB / 394.9 MB, free: 13.4 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.001214/0.001214, allocations: 188.6 kB / 487.4 MB, free: 5.074 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.685/1.685, allocations: 221.5 MB / 0.7824 GB, free: 1.051 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000978/0.000978, allocations: 95.8 kB / 0.9219 GB, free: 2.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.166e-05/2.168e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2869/0.2869, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.179/4.466, allocations: 1.714 GB / 2.92 GB, free: 170.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/4.466, allocations: 95.94 kB / 2.92 GB, free: 170.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.05927/4.525, allocations: 30.73 MB / 2.95 GB, free: 139.6 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.385e-06/4.525, allocations: 0 / 2.95 GB, free: 139.6 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.967e-06/4.525, allocations: 4 kB / 2.95 GB, free: 139.6 MB / 1.151 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.0005263/4.526, allocations: 442.7 kB / 2.951 GB, free: 139.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/4.526, allocations: 8.031 kB / 2.951 GB, free: 139.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001073/4.527, allocations: 175 kB / 2.951 GB, free: 138.9 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/4.527, allocations: 299 kB / 2.951 GB, free: 138.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.606e-05/4.527, allocations: 154.6 kB / 2.951 GB, free: 138.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.412e-05/4.527, allocations: 158.6 kB / 2.952 GB, free: 138.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.381e-05/4.527, allocations: 152 kB / 2.952 GB, free: 138.1 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.069e-05/4.528, allocations: 101 kB / 2.952 GB, free: 138 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.898e-05/4.528, allocations: 75.28 kB / 2.952 GB, free: 137.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/4.528, allocations: 154.5 kB / 2.952 GB, free: 137.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/4.528, allocations: 154.5 kB / 2.952 GB, free: 137.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/4.528, allocations: 498.4 kB / 2.953 GB, free: 137.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/4.528, allocations: 173.1 kB / 2.953 GB, free: 136.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.252e-05/4.528, allocations: 84.08 kB / 2.953 GB, free: 136.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/4.528, allocations: 75.28 kB / 2.953 GB, free: 136.8 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.611e-05/4.528, allocations: 109.8 kB / 2.953 GB, free: 136.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.103e-06/4.528, allocations: 0 / 2.953 GB, free: 136.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.0002574/4.528, allocations: 65.5 kB / 2.953 GB, free: 136.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.595e-05/4.529, allocations: 51.41 kB / 2.953 GB, free: 136.5 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002191/4.529, allocations: 197.9 kB / 2.953 GB, free: 136.3 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/4.529, allocations: 25.7 kB / 2.953 GB, free: 136.3 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.812e-05/4.529, allocations: 108.1 kB / 2.954 GB, free: 136.2 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/4.529, allocations: 0 / 2.954 GB, free: 136.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-06/4.529, allocations: 0 / 2.954 GB, free: 136.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/4.529, allocations: 326.8 kB / 2.954 GB, free: 135.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/4.529, allocations: 16 kB / 2.954 GB, free: 135.8 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/4.529, allocations: 16 kB / 2.954 GB, free: 135.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00256/4.532, allocations: 0.6049 MB / 2.954 GB, free: 135.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/4.532, allocations: 0 / 2.954 GB, free: 135.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00286/4.534, allocations: 0.7126 MB / 2.955 GB, free: 134.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 6.309e-05/4.535, allocations: 94.52 kB / 2.955 GB, free: 134.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/4.535, allocations: 4 kB / 2.955 GB, free: 134.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005783/4.535, allocations: 124.7 kB / 2.955 GB, free: 134.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.498e-05/4.535, allocations: 4 kB / 2.955 GB, free: 134.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003794/4.536, allocations: 0.564 MB / 2.956 GB, free: 133.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001374/4.536, allocations: 7.969 kB / 2.956 GB, free: 133.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/4.536, allocations: 4 kB / 2.956 GB, free: 133.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.906e-06/4.536, allocations: 4 kB / 2.956 GB, free: 133.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002685/4.538, allocations: 0.6525 MB / 2.957 GB, free: 133 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/4.538, allocations: 0 / 2.957 GB, free: 133 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003151/4.539, allocations: 108.7 kB / 2.957 GB, free: 132.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.862e-05/4.539, allocations: 7.984 kB / 2.957 GB, free: 132.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009702/4.54, allocations: 1.3 MB / 2.958 GB, free: 131.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/4.54, allocations: 4.062 kB / 2.958 GB, free: 131.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/4.54, allocations: 4.281 kB / 2.958 GB, free: 131.4 MB / 1.151 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 () * 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.134e-05/4.54, allocations: 176.3 kB / 2.958 GB, free: 131.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.391e-05/4.54, allocations: 150.5 kB / 2.958 GB, free: 131.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/4.54, allocations: 120.8 kB / 2.958 GB, free: 131 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/4.54, allocations: 110.2 kB / 2.959 GB, free: 130.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.295e-05/4.54, allocations: 188.5 kB / 2.959 GB, free: 130.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.821e-05/4.54, allocations: 184.2 kB / 2.959 GB, free: 130.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.035e-05/4.54, allocations: 184.2 kB / 2.959 GB, free: 130.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001839/4.541, allocations: 421.7 kB / 2.959 GB, free: 129.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.236e-05/4.541, allocations: 101 kB / 2.96 GB, free: 129.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/4.541, allocations: 108.9 kB / 2.96 GB, free: 129.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.274e-05/4.541, allocations: 192.1 kB / 2.96 GB, free: 129.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.306e-05/4.541, allocations: 180.3 kB / 2.96 GB, free: 129.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.158e-05/4.541, allocations: 180.2 kB / 2.96 GB, free: 129.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.471e-05/4.541, allocations: 184.2 kB / 2.96 GB, free: 128.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.456e-05/4.541, allocations: 304.7 kB / 2.961 GB, free: 128.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.525e-05/4.541, allocations: 205.9 kB / 2.961 GB, free: 128.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/4.541, allocations: 184.2 kB / 2.961 GB, free: 128.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/4.541, allocations: 101 kB / 2.961 GB, free: 128 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.487e-05/4.541, allocations: 184.2 kB / 2.961 GB, free: 127.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/4.541, allocations: 113 kB / 2.961 GB, free: 127.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001022/4.541, allocations: 149.2 kB / 2.962 GB, free: 127.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.3e-07/4.541, allocations: 0 / 2.962 GB, free: 127.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.000463/4.542, allocations: 99.92 kB / 2.962 GB, free: 127.5 MB / 1.151 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 () * 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.0009223/4.543, allocations: 1.43 MB / 2.963 GB, free: 126 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004011/4.543, allocations: 178.5 kB / 2.963 GB, free: 125.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/4.543, allocations: 0 / 2.963 GB, free: 125.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.195e-06/4.543, allocations: 0 / 2.963 GB, free: 125.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/4.544, allocations: 0.5421 MB / 2.964 GB, free: 125.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003475/4.544, allocations: 249.3 kB / 2.964 GB, free: 125 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/4.544, allocations: 0.7009 MB / 2.965 GB, free: 124.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001465/4.544, allocations: 28.48 kB / 2.965 GB, free: 124.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.611e-05/4.544, allocations: 31.36 kB / 2.965 GB, free: 124.2 MB / 1.151 GB Notification: Performance of SimCode: time 2.41e-07/4.544, allocations: 0 / 2.965 GB, free: 124.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02589/4.57, allocations: 8.113 MB / 2.973 GB, free: 116.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001501/4.57, allocations: 155.5 kB / 2.973 GB, free: 116 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/6.488, allocations: 3.938 kB / 2.973 GB, free: 116 MB / 1.151 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