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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.2 MB / 239.9 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.382/2.382, allocations: 390.3 MB / 0.6653 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 8 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.7659, allocations: 142.3 MB / 0.9536 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.UACp): time 0.001578/0.7675, allocations: 1.354 MB / 0.9549 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1512/0.9188, allocations: 125.5 MB / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001036/0.9189, allocations: 0 / 1.077 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002293/0.9191, allocations: 43.8 kB / 1.078 GB, free: 0.9414 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.9202, allocations: 315 kB / 1.078 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.9203, allocations: 51.83 kB / 1.078 GB, free: 0.582 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.9205, allocations: 99.77 kB / 1.078 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.27e-05/0.9206, allocations: 11.66 kB / 1.078 GB, free: 484 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.9206, allocations: 55.83 kB / 1.078 GB, free: 428 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/0.9208, allocations: 55.77 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.9208, allocations: 8 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000732/0.9216, allocations: 367.5 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.9216, allocations: 19.84 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.724e-05/0.9217, allocations: 45.7 kB / 1.078 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003662/0.922, allocations: 231.4 kB / 1.079 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.922, allocations: 0 / 1.079 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.806e-06/0.9221, allocations: 7.938 kB / 1.079 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.029e-05/0.9221, allocations: 0 / 1.079 GB, free: 15.69 MB / 0.8419 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.000783/0.9229, allocations: 471.8 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/0.9229, allocations: 8.031 kB / 1.079 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.923, allocations: 105.8 kB / 1.079 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.9242, allocations: 179 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.9246, allocations: 303 kB / 1.08 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.164e-05/0.9247, allocations: 154.6 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.639e-05/0.9247, allocations: 158.6 kB / 1.08 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.306e-05/0.9248, allocations: 101 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.9249, allocations: 79.23 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.9249, allocations: 150.6 kB / 1.08 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.936e-05/0.925, allocations: 154.5 kB / 1.081 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.654e-05/0.925, allocations: 154.5 kB / 1.081 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.9254, allocations: 0.5096 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.456e-05/0.9255, allocations: 169.1 kB / 1.081 GB, free: 12.87 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.204e-05/0.9256, allocations: 75.28 kB / 1.081 GB, free: 12.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.256e-05/0.9256, allocations: 113.8 kB / 1.081 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.9256, allocations: 4 kB / 1.081 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0003042/0.9259, allocations: 65.53 kB / 1.082 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.926, allocations: 126.7 kB / 1.082 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/0.9263, allocations: 219 kB / 1.082 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.9263, allocations: 25.7 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/0.9264, allocations: 112.1 kB / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.555e-06/0.9264, allocations: 0 / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.9265, allocations: 0 / 1.082 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.9266, allocations: 318.8 kB / 1.082 GB, free: 11.78 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.9266, allocations: 16 kB / 1.082 GB, free: 11.76 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.533e-05/0.9267, allocations: 15.98 kB / 1.082 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.453e-05/0.9267, allocations: 20.12 kB / 1.082 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.9267, allocations: 3.938 kB / 1.082 GB, free: 11.72 MB / 0.8419 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005865/0.9273, allocations: 138.3 kB / 1.083 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.404e-05/0.9274, allocations: 96.95 kB / 1.083 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9274, allocations: 0 / 1.083 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007782/0.9282, allocations: 148.6 kB / 1.083 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.089e-05/0.9283, allocations: 11.88 kB / 1.083 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/0.9304, allocations: 1.522 MB / 1.084 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.9306, allocations: 4 kB / 1.084 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.986e-06/0.9306, allocations: 0 / 1.084 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-06/0.9306, allocations: 8.062 kB / 1.084 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001876/0.9308, allocations: 72.72 kB / 1.084 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-06/0.9308, allocations: 0 / 1.084 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004127/0.9312, allocations: 116.7 kB / 1.084 GB, free: 9.457 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-05/0.9313, allocations: 8 kB / 1.084 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001133/0.9324, allocations: 1.367 MB / 1.086 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001283/0.9325, allocations: 3.969 kB / 1.086 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.9326, allocations: 8.031 kB / 1.086 GB, free: 7.941 MB / 0.8419 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 0.0001547/0.9327, allocations: 264.4 kB / 1.086 GB, free: 7.672 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.825e-05/0.9328, allocations: 116.8 kB / 1.086 GB, free: 7.551 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.498e-05/0.9329, allocations: 117.5 kB / 1.086 GB, free: 7.43 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.115e-05/0.933, allocations: 176.3 kB / 1.086 GB, free: 7.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.458e-05/0.933, allocations: 188.5 kB / 1.087 GB, free: 7.059 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.001e-05/0.9331, allocations: 180.3 kB / 1.087 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.9334, allocations: 441.2 kB / 1.087 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.151e-05/0.9334, allocations: 104.9 kB / 1.087 GB, free: 6.277 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.086e-05/0.9335, allocations: 112.9 kB / 1.087 GB, free: 6.16 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.24e-05/0.9336, allocations: 184.2 kB / 1.088 GB, free: 5.973 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.297e-05/0.9337, allocations: 184.2 kB / 1.088 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001309/0.9338, allocations: 176.3 kB / 1.088 GB, free: 5.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001296/0.9339, allocations: 184.2 kB / 1.088 GB, free: 5.418 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.9341, allocations: 311.7 kB / 1.088 GB, free: 5.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.9343, allocations: 205.9 kB / 1.089 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.699e-05/0.9344, allocations: 192.1 kB / 1.089 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.9346, allocations: 105 kB / 1.089 GB, free: 4.559 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.93e-05/0.9347, allocations: 180.3 kB / 1.089 GB, free: 4.375 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.9348, allocations: 108.9 kB / 1.089 GB, free: 4.262 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002735/0.9351, allocations: 160.1 kB / 1.089 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9351, allocations: 0 / 1.089 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0005099/0.9356, allocations: 71.98 kB / 1.089 GB, free: 4.035 MB / 0.8419 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.0006483/0.9362, allocations: 0.8493 MB / 1.09 GB, free: 3.16 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005609/0.9368, allocations: 293.3 kB / 1.09 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9368, allocations: 0 / 1.09 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.637e-06/0.9368, allocations: 0 / 1.09 GB, free: 2.848 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005754/0.9374, allocations: 0.5478 MB / 1.091 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007839/0.9382, allocations: 0.5337 MB / 1.092 GB, free: 1.715 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.9386, allocations: 0.7005 MB / 1.092 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001077/0.9387, allocations: 16.8 kB / 1.092 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.9388, allocations: 27.42 kB / 1.092 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of SimCode: time 1.092e-06/0.9388, allocations: 0 / 1.092 GB, free: 0.9414 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.9556, allocations: 4.221 MB / 1.096 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002143/0.9559, allocations: 228.9 kB / 1.097 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.693, allocations: 0 / 1.097 GB, free: 12.7 MB / 0.8575 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