Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.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.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas,fileNamePrefix="Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas",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.388/2.388, allocations: 387.1 MB / 399.7 MB, free: 9.469 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.001007/0.001007, allocations: 176.8 kB / 492.3 MB, free: 0.6016 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.573/1.573, allocations: 221.3 MB / 0.7871 GB, free: 12.95 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.0008603/0.0008604, allocations: 87.95 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.259e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2297, allocations: 142.3 MB / 1.212 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 12.21/12.44, allocations: 4.671 GB / 5.883 GB, free: 302.6 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/12.44, allocations: 83.95 kB / 5.884 GB, free: 302.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.863/14.3, allocations: 0.5019 GB / 6.385 GB, free: 232.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.144e-06/14.3, allocations: 0 / 6.385 GB, free: 232.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001428/14.3, allocations: 27.98 kB / 6.385 GB, free: 232.3 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.003336/14.31, allocations: 1.172 MB / 6.387 GB, free: 231.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/14.31, allocations: 8.031 kB / 6.387 GB, free: 231 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003143/14.31, allocations: 106.5 kB / 6.387 GB, free: 230.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002817/14.31, allocations: 382.3 kB / 6.387 GB, free: 230.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002377/14.31, allocations: 0.8834 MB / 6.388 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.848e-05/14.31, allocations: 56.23 kB / 6.388 GB, free: 229.6 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/14.31, allocations: 64 kB / 6.388 GB, free: 229.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001216/14.31, allocations: 0.604 MB / 6.389 GB, free: 228.9 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/14.31, allocations: 0 / 6.389 GB, free: 228.9 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/14.31, allocations: 24 kB / 6.389 GB, free: 228.9 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.534e-05/14.31, allocations: 21.31 kB / 6.389 GB, free: 228.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009414/14.31, allocations: 0.5479 MB / 6.389 GB, free: 228.3 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003867/14.32, allocations: 2.801 MB / 6.392 GB, free: 225.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/14.32, allocations: 467.3 kB / 6.392 GB, free: 224.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/14.32, allocations: 248.9 kB / 6.393 GB, free: 224.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/14.32, allocations: 97.09 kB / 6.393 GB, free: 224.4 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/14.32, allocations: 38.56 kB / 6.393 GB, free: 224.4 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.665e-06/14.32, allocations: 0 / 6.393 GB, free: 224.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.006729/14.33, allocations: 2.499 MB / 6.395 GB, free: 221.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/14.33, allocations: 59.97 kB / 6.395 GB, free: 221.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000734/14.33, allocations: 0.5268 MB / 6.396 GB, free: 221.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 6.896e-05/14.33, allocations: 37.7 kB / 6.396 GB, free: 221.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001988/14.33, allocations: 360.4 kB / 6.396 GB, free: 220.8 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/14.33, allocations: 216.8 kB / 6.396 GB, free: 220.6 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.983e-05/14.33, allocations: 12 kB / 6.396 GB, free: 220.6 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000104/14.33, allocations: 382.7 kB / 6.397 GB, free: 220.2 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003508/14.33, allocations: 261.5 kB / 6.397 GB, free: 220 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/14.33, allocations: 364.8 kB / 6.397 GB, free: 219.6 MB / 1.151 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (0.9999999999999999 * vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005036/14.33, allocations: 1.388 MB / 6.399 GB, free: 218.2 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/14.33, allocations: 0 / 6.399 GB, free: 218.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002313/14.34, allocations: 1.061 MB / 6.4 GB, free: 217.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001532/14.34, allocations: 0.6146 MB / 6.4 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/14.34, allocations: 0 / 6.4 GB, free: 216.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001549/14.34, allocations: 457.2 kB / 6.401 GB, free: 216 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/14.34, allocations: 87.88 kB / 6.401 GB, free: 215.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006201/14.34, allocations: 4.753 MB / 6.406 GB, free: 211 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001091/14.35, allocations: 63.81 kB / 6.406 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-05/14.35, allocations: 20 kB / 6.406 GB, free: 210.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/14.35, allocations: 4 kB / 6.406 GB, free: 210.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002419/14.35, allocations: 0.9661 MB / 6.407 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/14.35, allocations: 0 / 6.407 GB, free: 209.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/14.35, allocations: 453.1 kB / 6.407 GB, free: 209.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/14.35, allocations: 75.91 kB / 6.407 GB, free: 209.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006016/14.36, allocations: 4.148 MB / 6.411 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/14.36, allocations: 75.75 kB / 6.411 GB, free: 205.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.901e-05/14.36, allocations: 23.98 kB / 6.411 GB, free: 205 MB / 1.151 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0002862/14.36, allocations: 134 kB / 6.411 GB, free: 204.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002339/14.36, allocations: 79.09 kB / 6.411 GB, free: 204.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/14.36, allocations: 1.065 MB / 6.412 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/14.36, allocations: 7.938 kB / 6.412 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/14.36, allocations: 4 kB / 6.412 GB, free: 203.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002069/14.36, allocations: 1.243 MB / 6.414 GB, free: 202.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004797/14.37, allocations: 2.301 MB / 6.416 GB, free: 200 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/14.37, allocations: 4 kB / 6.416 GB, free: 200 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/14.37, allocations: 63.89 kB / 6.416 GB, free: 200 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001775/14.37, allocations: 461.6 kB / 6.416 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.085e-05/14.37, allocations: 23.98 kB / 6.416 GB, free: 199.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005486/14.38, allocations: 4.634 MB / 6.421 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/14.38, allocations: 0 / 6.421 GB, free: 194.7 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/14.38, allocations: 1.476 MB / 6.422 GB, free: 193.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006364/14.38, allocations: 240.1 kB / 6.423 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/14.38, allocations: 31.92 kB / 6.423 GB, free: 192.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009511/14.38, allocations: 55.8 kB / 6.423 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/14.38, allocations: 48.48 kB / 6.423 GB, free: 192.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.547e-05/14.38, allocations: 23.98 kB / 6.423 GB, free: 192.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0005802/14.38, allocations: 423.1 kB / 6.423 GB, free: 192.4 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.61e-07/14.38, allocations: 0 / 6.423 GB, free: 192.4 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002502/14.38, allocations: 0.5702 MB / 6.424 GB, free: 191.8 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.T,vol1.dynBal.medium.p,vol1.dynBal.medium.Xi[1],vol1.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.004807/14.39, allocations: 3.352 MB / 6.427 GB, free: 188.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003191/14.39, allocations: 1.635 MB / 6.429 GB, free: 186.7 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/14.39, allocations: 0 / 6.429 GB, free: 186.7 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/14.39, allocations: 0.6173 MB / 6.429 GB, free: 186.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/14.39, allocations: 463.5 kB / 6.43 GB, free: 185.6 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003366/14.4, allocations: 1.709 MB / 6.431 GB, free: 183.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006013/14.4, allocations: 1.062 MB / 6.432 GB, free: 182.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00115/14.4, allocations: 254.2 kB / 6.433 GB, free: 182.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/14.4, allocations: 275.3 kB / 6.433 GB, free: 182.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.182e-06/14.4, allocations: 0 / 6.433 GB, free: 182.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08451/14.48, allocations: 52.13 MB / 6.484 GB, free: 130.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/14.49, allocations: 260.1 kB / 6.484 GB, free: 130.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.77/18.26, allocations: 0 / 6.484 GB, free: 130.1 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesSpecializedAirPerfectGas.fmu > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesSpecializedAirPerfectGas_res.mat does not exist to compare? outputFormat=mat