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.375/2.375, allocations: 387.1 MB / 399.7 MB, free: 9.445 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.00121/0.00121, allocations: 171.7 kB / 492.3 MB, free: 0.6328 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.602/1.602, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001123/0.001123, allocations: 94.3 kB / 0.9267 GB, free: 13.99 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.398e-05/3.4e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.314, allocations: 142.4 MB / 1.213 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.902/5.216, allocations: 1.715 GB / 2.927 GB, free: 151.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/5.217, allocations: 91.94 kB / 2.927 GB, free: 151.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.06759/5.284, allocations: 34.8 MB / 2.961 GB, free: 116.2 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.352e-06/5.284, allocations: 0 / 2.961 GB, free: 116.2 MB / 1.151 GB Notification: Performance of Transformations before backend: time 9.508e-06/5.284, allocations: 0 / 2.961 GB, free: 116.2 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.0005518/5.285, allocations: 447.8 kB / 2.962 GB, free: 115.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/5.285, allocations: 11.97 kB / 2.962 GB, free: 115.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/5.285, allocations: 109.8 kB / 2.962 GB, free: 115.6 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/5.286, allocations: 175 kB / 2.962 GB, free: 115.5 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002581/5.286, allocations: 303 kB / 2.962 GB, free: 115.1 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/5.286, allocations: 150.6 kB / 2.963 GB, free: 115 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.033e-05/5.287, allocations: 156 kB / 2.963 GB, free: 114.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.118e-05/5.287, allocations: 109 kB / 2.963 GB, free: 114.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/5.287, allocations: 75.28 kB / 2.963 GB, free: 114.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.435e-05/5.287, allocations: 154.5 kB / 2.963 GB, free: 114.5 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.499e-05/5.287, allocations: 150.6 kB / 2.963 GB, free: 114.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.608e-05/5.287, allocations: 154.5 kB / 2.963 GB, free: 114.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002931/5.287, allocations: 0.5096 MB / 2.964 GB, free: 113.6 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 5.372e-05/5.287, allocations: 165.1 kB / 2.964 GB, free: 113.5 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.353e-05/5.287, allocations: 92.11 kB / 2.964 GB, free: 113.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/5.287, allocations: 75.28 kB / 2.964 GB, free: 113.3 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.072e-05/5.287, allocations: 113.8 kB / 2.964 GB, free: 113.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/5.287, allocations: 4 kB / 2.964 GB, free: 113.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=0): time 0.0002862/5.287, allocations: 53.59 kB / 2.964 GB, free: 113.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/5.287, allocations: 134.6 kB / 2.964 GB, free: 113 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/5.288, allocations: 198 kB / 2.965 GB, free: 112.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/5.288, allocations: 25.7 kB / 2.965 GB, free: 112.7 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/5.288, allocations: 108.1 kB / 2.965 GB, free: 112.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-06/5.288, allocations: 4 kB / 2.965 GB, free: 112.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/5.288, allocations: 0 / 2.965 GB, free: 112.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.105e-05/5.288, allocations: 318.8 kB / 2.965 GB, free: 112.3 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.79e-05/5.288, allocations: 16 kB / 2.965 GB, free: 112.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.992e-05/5.288, allocations: 16 kB / 2.965 GB, free: 112.3 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/5.288, allocations: 23.92 kB / 2.965 GB, free: 112.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/5.288, allocations: 0 / 2.965 GB, free: 112.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004697/5.289, allocations: 118.4 kB / 2.965 GB, free: 112.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/5.289, allocations: 98.05 kB / 2.965 GB, free: 112 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/5.289, allocations: 4 kB / 2.965 GB, free: 112 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005922/5.289, allocations: 128.7 kB / 2.966 GB, free: 111.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/5.289, allocations: 7.938 kB / 2.966 GB, free: 111.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003577/5.29, allocations: 0.5601 MB / 2.966 GB, free: 111.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001516/5.29, allocations: 7.969 kB / 2.966 GB, free: 111.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/5.29, allocations: 4.062 kB / 2.966 GB, free: 111.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/5.29, allocations: 4 kB / 2.966 GB, free: 111.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001734/5.29, allocations: 76.91 kB / 2.966 GB, free: 111.2 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-06/5.29, allocations: 0 / 2.966 GB, free: 111.2 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003224/5.29, allocations: 116.7 kB / 2.966 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.025e-05/5.29, allocations: 4 kB / 2.966 GB, free: 111.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008951/5.291, allocations: 1.359 MB / 2.968 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001284/5.291, allocations: 15.94 kB / 2.968 GB, free: 109.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.534e-06/5.291, allocations: 4.031 kB / 2.968 GB, free: 109.6 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.231e-05/5.292, allocations: 185.6 kB / 2.968 GB, free: 109.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.433e-05/5.292, allocations: 108.9 kB / 2.968 GB, free: 109.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/5.292, allocations: 121.5 kB / 2.968 GB, free: 109.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.408e-05/5.292, allocations: 180.3 kB / 2.968 GB, free: 108.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.566e-05/5.292, allocations: 184.2 kB / 2.968 GB, free: 108.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.834e-05/5.292, allocations: 176.3 kB / 2.969 GB, free: 108.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001655/5.292, allocations: 449.1 kB / 2.969 GB, free: 108.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.766e-05/5.292, allocations: 104.9 kB / 2.969 GB, free: 108 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/5.292, allocations: 105 kB / 2.969 GB, free: 107.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.982e-05/5.292, allocations: 184.1 kB / 2.969 GB, free: 107.7 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.721e-05/5.292, allocations: 180.3 kB / 2.969 GB, free: 107.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.505e-05/5.292, allocations: 184.3 kB / 2.97 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.149e-05/5.292, allocations: 180.2 kB / 2.97 GB, free: 107.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.628e-05/5.292, allocations: 311.7 kB / 2.97 GB, free: 106.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 8.108e-05/5.292, allocations: 210.8 kB / 2.97 GB, free: 106.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.955e-05/5.292, allocations: 180.3 kB / 2.971 GB, free: 106.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/5.293, allocations: 113 kB / 2.971 GB, free: 106.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/5.293, allocations: 180.3 kB / 2.971 GB, free: 106.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.741e-05/5.293, allocations: 104.9 kB / 2.971 GB, free: 106 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0001201/5.293, allocations: 157.2 kB / 2.971 GB, free: 105.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.293, allocations: 4 kB / 2.971 GB, free: 105.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0005319/5.293, allocations: 107.9 kB / 2.971 GB, free: 105.7 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.001046/5.294, allocations: 1.335 MB / 2.972 GB, free: 104.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.000451/5.295, allocations: 191.3 kB / 2.973 GB, free: 104.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/5.295, allocations: 4 kB / 2.973 GB, free: 104.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/5.295, allocations: 0 / 2.973 GB, free: 104.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003354/5.295, allocations: 0.5421 MB / 2.973 GB, free: 103.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/5.296, allocations: 258.4 kB / 2.973 GB, free: 103.3 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001532/5.296, allocations: 0.7009 MB / 2.974 GB, free: 102.6 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001549/5.296, allocations: 24.55 kB / 2.974 GB, free: 102.6 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.237e-05/5.296, allocations: 27.42 kB / 2.974 GB, free: 102.5 MB / 1.151 GB Notification: Performance of SimCode: time 2.5e-07/5.296, allocations: 0 / 2.974 GB, free: 102.5 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/5.328, allocations: 15.31 MB / 2.989 GB, free: 87.43 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001686/5.328, allocations: 196.6 kB / 2.989 GB, free: 87.21 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.227/7.555, allocations: 0 / 2.989 GB, free: 87.21 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