Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.288/2.288, allocations: 390.5 MB / 398 MB, free: 10.89 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.0009991/0.0009991, allocations: 172.9 kB / 491.2 MB, free: 1.562 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.516/1.516, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.001051/0.001051, allocations: 87.91 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.636e-05, allocations: 11.98 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3214, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.699/5.02, allocations: 1.715 GB / 2.927 GB, free: 123.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002551/5.021, allocations: 95.38 kB / 2.928 GB, free: 123.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.06122/5.082, allocations: 30.74 MB / 2.958 GB, free: 98.12 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.683e-06/5.082, allocations: 4 kB / 2.958 GB, free: 98.12 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.566e-06/5.082, allocations: 0 / 2.958 GB, free: 98.12 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.0004679/5.083, allocations: 441.5 kB / 2.958 GB, free: 97.66 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/5.083, allocations: 8.031 kB / 2.958 GB, free: 97.65 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/5.084, allocations: 177.3 kB / 2.958 GB, free: 97.48 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002498/5.084, allocations: 303.2 kB / 2.958 GB, free: 97.16 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.503e-05/5.084, allocations: 150.6 kB / 2.959 GB, free: 97.01 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/5.084, allocations: 150.6 kB / 2.959 GB, free: 96.86 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.185e-05/5.084, allocations: 150.6 kB / 2.959 GB, free: 96.71 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.585e-05/5.084, allocations: 116.9 kB / 2.959 GB, free: 96.59 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.564e-05/5.084, allocations: 75.28 kB / 2.959 GB, free: 96.52 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.508e-05/5.084, allocations: 152.9 kB / 2.959 GB, free: 96.37 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/5.084, allocations: 154.5 kB / 2.959 GB, free: 96.21 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002762/5.084, allocations: 493.8 kB / 2.96 GB, free: 95.72 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.12e-05/5.085, allocations: 171.3 kB / 2.96 GB, free: 95.54 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.642e-05/5.085, allocations: 80.14 kB / 2.96 GB, free: 95.46 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/5.085, allocations: 79.22 kB / 2.96 GB, free: 95.38 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/5.085, allocations: 115.8 kB / 2.96 GB, free: 95.26 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.322e-06/5.085, allocations: 0 / 2.96 GB, free: 95.26 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.0002684/5.085, allocations: 53.59 kB / 2.96 GB, free: 95.2 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.831e-05/5.085, allocations: 55.34 kB / 2.96 GB, free: 95.14 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/5.085, allocations: 198 kB / 2.961 GB, free: 94.97 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/5.085, allocations: 25.7 kB / 2.961 GB, free: 94.94 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/5.085, allocations: 106.5 kB / 2.961 GB, free: 94.85 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.023e-06/5.085, allocations: 0 / 2.961 GB, free: 94.85 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/5.085, allocations: 0 / 2.961 GB, free: 94.85 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/5.085, allocations: 323.5 kB / 2.961 GB, free: 94.53 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/5.085, allocations: 19.81 kB / 2.961 GB, free: 94.52 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.651e-05/5.085, allocations: 15.81 kB / 2.961 GB, free: 94.51 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002693/5.088, allocations: 0.6064 MB / 2.962 GB, free: 93.93 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/5.088, allocations: 0 / 2.962 GB, free: 93.93 MB / 1.151 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.003013/5.091, allocations: 0.709 MB / 2.962 GB, free: 93.25 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 4.52e-05/5.091, allocations: 92.95 kB / 2.962 GB, free: 93.15 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/5.091, allocations: 0 / 2.962 GB, free: 93.15 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000573/5.092, allocations: 127.7 kB / 2.963 GB, free: 93.03 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-05/5.092, allocations: 4 kB / 2.963 GB, free: 93.03 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003533/5.092, allocations: 0.5598 MB / 2.963 GB, free: 92.46 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001721/5.092, allocations: 11.88 kB / 2.963 GB, free: 92.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.093e-05/5.092, allocations: 0 / 2.963 GB, free: 92.45 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/5.092, allocations: 5.25 kB / 2.963 GB, free: 92.45 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002729/5.095, allocations: 0.6545 MB / 2.964 GB, free: 91.82 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.485e-06/5.095, allocations: 4 kB / 2.964 GB, free: 91.82 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003384/5.096, allocations: 120.2 kB / 2.964 GB, free: 91.71 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.639e-05/5.096, allocations: 4 kB / 2.964 GB, free: 91.7 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008853/5.096, allocations: 1.287 MB / 2.965 GB, free: 90.37 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/5.097, allocations: 7.938 kB / 2.965 GB, free: 90.36 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/5.097, allocations: 0 / 2.965 GB, free: 90.36 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 6.733e-05/5.097, allocations: 186.5 kB / 2.965 GB, free: 90.17 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.71e-05/5.097, allocations: 154.5 kB / 2.965 GB, free: 90.01 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.501e-05/5.097, allocations: 108.9 kB / 2.966 GB, free: 89.89 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.958e-05/5.097, allocations: 120.3 kB / 2.966 GB, free: 89.77 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-05/5.097, allocations: 184.4 kB / 2.966 GB, free: 89.59 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.247e-05/5.097, allocations: 176.3 kB / 2.966 GB, free: 89.41 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.58e-05/5.097, allocations: 186.6 kB / 2.966 GB, free: 89.22 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001659/5.097, allocations: 427.9 kB / 2.967 GB, free: 88.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.46e-05/5.097, allocations: 101 kB / 2.967 GB, free: 88.66 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.578e-05/5.097, allocations: 104.9 kB / 2.967 GB, free: 88.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.37e-05/5.097, allocations: 176.3 kB / 2.967 GB, free: 88.38 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/5.097, allocations: 184.2 kB / 2.967 GB, free: 88.19 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.613e-05/5.097, allocations: 186.9 kB / 2.967 GB, free: 88 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.953e-05/5.097, allocations: 180.2 kB / 2.967 GB, free: 87.82 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.194e-05/5.097, allocations: 318.9 kB / 2.968 GB, free: 87.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 7.318e-05/5.097, allocations: 202.9 kB / 2.968 GB, free: 87.27 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.18e-05/5.098, allocations: 180.3 kB / 2.968 GB, free: 87.08 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/5.098, allocations: 108.9 kB / 2.968 GB, free: 86.97 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/5.098, allocations: 180.2 kB / 2.968 GB, free: 86.79 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/5.098, allocations: 107.4 kB / 2.969 GB, free: 86.68 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001188/5.098, allocations: 151.9 kB / 2.969 GB, free: 86.55 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.098, allocations: 0 / 2.969 GB, free: 86.55 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005105/5.098, allocations: 99.91 kB / 2.969 GB, free: 86.48 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.001052/5.1, allocations: 1.439 MB / 2.97 GB, free: 85.04 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0004439/5.1, allocations: 186.7 kB / 2.97 GB, free: 84.87 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/5.1, allocations: 0 / 2.97 GB, free: 84.87 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 2.936e-06/5.1, allocations: 0 / 2.97 GB, free: 84.87 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/5.1, allocations: 0.5424 MB / 2.971 GB, free: 84.32 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004264/5.101, allocations: 246.1 kB / 2.971 GB, free: 84.05 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/5.101, allocations: 0.7048 MB / 2.972 GB, free: 83.32 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001674/5.101, allocations: 20.55 kB / 2.972 GB, free: 83.29 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/5.101, allocations: 23.94 kB / 2.972 GB, free: 83.28 MB / 1.151 GB Notification: Performance of SimCode: time 8.22e-07/5.101, allocations: 4 kB / 2.972 GB, free: 83.28 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03137/5.132, allocations: 8.116 MB / 2.98 GB, free: 75.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000158/5.133, allocations: 168.9 kB / 2.98 GB, free: 75 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.004/7.137, allocations: 0 / 2.98 GB, free: 75 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_UACp.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp_res.mat does not exist to compare? outputFormat=mat