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.456/2.456, allocations: 390.3 MB / 402.8 MB, free: 6.66 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.001498/0.001498, allocations: 180.8 kB / 496.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.001017/0.001017, allocations: 99.95 kB / 0.9317 GB, free: 5.715 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.416e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3347, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.617/4.952, allocations: 1.716 GB / 2.935 GB, free: 120.9 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003437/4.952, allocations: 95.94 kB / 2.935 GB, free: 120.8 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.06819/5.02, allocations: 34.8 MB / 2.969 GB, free: 85.78 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.463e-06/5.02, allocations: 0 / 2.969 GB, free: 85.78 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.275e-06/5.02, allocations: 4 kB / 2.969 GB, free: 85.77 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.0004516/5.021, allocations: 434.8 kB / 2.969 GB, free: 85.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/5.021, allocations: 15.97 kB / 2.969 GB, free: 85.29 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.317e-05/5.021, allocations: 110.7 kB / 2.969 GB, free: 85.17 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/5.022, allocations: 175 kB / 2.969 GB, free: 85 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002242/5.022, allocations: 302.9 kB / 2.97 GB, free: 84.66 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/5.022, allocations: 158.6 kB / 2.97 GB, free: 84.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.415e-05/5.022, allocations: 150.6 kB / 2.97 GB, free: 84.36 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.807e-05/5.022, allocations: 101 kB / 2.97 GB, free: 84.25 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/5.022, allocations: 79.23 kB / 2.97 GB, free: 84.17 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/5.022, allocations: 150.6 kB / 2.97 GB, free: 84.02 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.449e-05/5.022, allocations: 162.5 kB / 2.97 GB, free: 83.86 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.607e-05/5.022, allocations: 162.5 kB / 2.971 GB, free: 83.7 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/5.023, allocations: 0.5018 MB / 2.971 GB, free: 83.15 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 5.195e-05/5.023, allocations: 169.1 kB / 2.971 GB, free: 82.98 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.342e-05/5.023, allocations: 80.14 kB / 2.971 GB, free: 82.89 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/5.023, allocations: 79.28 kB / 2.971 GB, free: 82.82 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/5.023, allocations: 117.8 kB / 2.971 GB, free: 82.69 MB / 1.167 GB Notification: Performance of pre-optimization done (n=0): time 1.252e-06/5.023, allocations: 0 / 2.971 GB, free: 82.69 MB / 1.167 GB Notification: Performance of matching and sorting (n=0): time 0.0002496/5.023, allocations: 53.55 kB / 2.972 GB, free: 82.63 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/5.023, allocations: 130.7 kB / 2.972 GB, free: 82.49 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001922/5.023, allocations: 202.1 kB / 2.972 GB, free: 82.29 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.093e-05/5.023, allocations: 25.7 kB / 2.972 GB, free: 82.26 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/5.023, allocations: 104 kB / 2.972 GB, free: 82.15 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.295e-06/5.023, allocations: 0 / 2.972 GB, free: 82.15 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-06/5.023, allocations: 4 kB / 2.972 GB, free: 82.15 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.318e-05/5.024, allocations: 322.8 kB / 2.972 GB, free: 81.82 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/5.024, allocations: 12 kB / 2.972 GB, free: 81.81 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.745e-05/5.024, allocations: 16 kB / 2.972 GB, free: 81.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.691e-05/5.024, allocations: 19.98 kB / 2.972 GB, free: 81.78 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/5.024, allocations: 4 kB / 2.972 GB, free: 81.77 MB / 1.167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004062/5.024, allocations: 122.3 kB / 2.972 GB, free: 81.64 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.271e-05/5.024, allocations: 92.95 kB / 2.973 GB, free: 81.55 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/5.024, allocations: 0 / 2.973 GB, free: 81.55 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005671/5.025, allocations: 136.7 kB / 2.973 GB, free: 81.41 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.883e-05/5.025, allocations: 4 kB / 2.973 GB, free: 81.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003447/5.025, allocations: 0.5602 MB / 2.973 GB, free: 80.82 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/5.025, allocations: 11.84 kB / 2.973 GB, free: 80.81 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/5.025, allocations: 7.953 kB / 2.973 GB, free: 80.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.565e-06/5.025, allocations: 4 kB / 2.973 GB, free: 80.8 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001602/5.025, allocations: 68.95 kB / 2.973 GB, free: 80.73 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-06/5.025, allocations: 0 / 2.973 GB, free: 80.73 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003035/5.026, allocations: 116.8 kB / 2.973 GB, free: 80.61 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.779e-05/5.026, allocations: 8 kB / 2.973 GB, free: 80.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008369/5.027, allocations: 1.355 MB / 2.975 GB, free: 79.11 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/5.027, allocations: 8.016 kB / 2.975 GB, free: 79.11 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/5.027, allocations: 3.938 kB / 2.975 GB, free: 79.1 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 () * 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.072e-05/5.027, allocations: 188.2 kB / 2.975 GB, free: 78.91 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/5.027, allocations: 112.8 kB / 2.975 GB, free: 78.79 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.604e-05/5.027, allocations: 125.5 kB / 2.975 GB, free: 78.66 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.628e-05/5.027, allocations: 176.3 kB / 2.975 GB, free: 78.48 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-05/5.027, allocations: 180.2 kB / 2.975 GB, free: 78.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-05/5.027, allocations: 180.3 kB / 2.976 GB, free: 78.11 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001644/5.027, allocations: 445.1 kB / 2.976 GB, free: 77.62 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.022e-05/5.027, allocations: 104.9 kB / 2.976 GB, free: 77.51 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.014e-05/5.027, allocations: 113 kB / 2.976 GB, free: 77.39 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.398e-05/5.027, allocations: 184.2 kB / 2.976 GB, free: 77.21 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/5.027, allocations: 176.3 kB / 2.977 GB, free: 77.03 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.02e-05/5.027, allocations: 176.3 kB / 2.977 GB, free: 76.85 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.092e-05/5.028, allocations: 184.2 kB / 2.977 GB, free: 76.66 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.936e-05/5.028, allocations: 323.6 kB / 2.977 GB, free: 76.32 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/5.028, allocations: 195 kB / 2.977 GB, free: 76.11 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/5.028, allocations: 180.3 kB / 2.978 GB, free: 75.92 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000142/5.028, allocations: 116.9 kB / 2.978 GB, free: 75.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/5.028, allocations: 180.3 kB / 2.978 GB, free: 75.62 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.16e-05/5.028, allocations: 109 kB / 2.978 GB, free: 75.5 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0001209/5.028, allocations: 153.2 kB / 2.978 GB, free: 75.36 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.2e-07/5.028, allocations: 0 / 2.978 GB, free: 75.36 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0005343/5.029, allocations: 111.9 kB / 2.978 GB, free: 75.25 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 () * 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.0009801/5.03, allocations: 1.34 MB / 2.98 GB, free: 73.89 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.000438/5.03, allocations: 187.3 kB / 2.98 GB, free: 73.69 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/5.03, allocations: 0 / 2.98 GB, free: 73.69 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 3.987e-06/5.03, allocations: 4 kB / 2.98 GB, free: 73.69 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/5.03, allocations: 0.5467 MB / 2.98 GB, free: 73.13 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000362/5.031, allocations: 251.5 kB / 2.981 GB, free: 72.86 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001631/5.031, allocations: 0.7009 MB / 2.981 GB, free: 72.13 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001485/5.031, allocations: 24.55 kB / 2.981 GB, free: 72.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/5.031, allocations: 23.42 kB / 2.981 GB, free: 72.08 MB / 1.167 GB Notification: Performance of SimCode: time 2.51e-07/5.031, allocations: 0 / 2.981 GB, free: 72.08 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02728/5.058, allocations: 15.33 MB / 2.996 GB, free: 56.98 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002333/5.059, allocations: 196.4 kB / 2.996 GB, free: 56.76 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.177/7.236, allocations: 2.109 kB / 2.996 GB, free: 56.76 MB / 1.167 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