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.567/2.567, allocations: 387.4 MB / 394.9 MB, free: 13.41 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.001567/0.001567, allocations: 184.8 kB / 487.4 MB, free: 5.051 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.752/1.752, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 91.91 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.064e-05/2.063e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2166/0.2166, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 11.8/12.01, allocations: 4.67 GB / 5.876 GB, free: 351.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/12.02, allocations: 91.03 kB / 5.876 GB, free: 351.8 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 1.918/13.93, allocations: 0.4967 GB / 6.373 GB, free: 284.9 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.204e-06/13.93, allocations: 0 / 6.373 GB, free: 284.9 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001491/13.93, allocations: 21.91 kB / 6.373 GB, free: 284.9 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.004011/13.94, allocations: 1.178 MB / 6.374 GB, free: 284 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/13.94, allocations: 6.562 kB / 6.374 GB, free: 284 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003313/13.94, allocations: 374.3 kB / 6.375 GB, free: 283.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002143/13.94, allocations: 0.8986 MB / 6.376 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/13.94, allocations: 19.94 kB / 6.376 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001062/13.94, allocations: 39.52 kB / 6.376 GB, free: 283.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001065/13.94, allocations: 0.5174 MB / 6.376 GB, free: 282.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/13.95, allocations: 0.5131 MB / 6.377 GB, free: 282.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/13.95, allocations: 7.953 kB / 6.377 GB, free: 282.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.446e-05/13.95, allocations: 0 / 6.377 GB, free: 282.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/13.95, allocations: 24.64 kB / 6.377 GB, free: 282.7 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.003595/13.95, allocations: 2.676 MB / 6.379 GB, free: 280.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006433/13.95, allocations: 437.6 kB / 6.38 GB, free: 279.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00026/13.95, allocations: 230.7 kB / 6.38 GB, free: 279.7 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001585/13.95, allocations: 103.3 kB / 6.38 GB, free: 279.5 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/13.95, allocations: 34.56 kB / 6.38 GB, free: 279.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/13.95, allocations: 4 kB / 6.38 GB, free: 279.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.006298/13.96, allocations: 2.395 MB / 6.382 GB, free: 277.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/13.96, allocations: 59.97 kB / 6.382 GB, free: 277 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/13.96, allocations: 470.5 kB / 6.383 GB, free: 276.5 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/13.96, allocations: 25.7 kB / 6.383 GB, free: 276.5 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/13.96, allocations: 364.1 kB / 6.383 GB, free: 276.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/13.96, allocations: 212.8 kB / 6.383 GB, free: 275.9 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/13.96, allocations: 0 / 6.383 GB, free: 275.9 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000137/13.96, allocations: 378.8 kB / 6.384 GB, free: 275.5 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003174/13.96, allocations: 257.5 kB / 6.384 GB, free: 275.3 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/13.96, allocations: 339.3 kB / 6.384 GB, free: 274.9 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.004957/13.96, allocations: 1.362 MB / 6.386 GB, free: 273.5 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/13.96, allocations: 0 / 6.386 GB, free: 273.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002136/13.97, allocations: 0.9912 MB / 6.387 GB, free: 272.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002126/13.97, allocations: 0.6224 MB / 6.387 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/13.97, allocations: 4 kB / 6.387 GB, free: 271.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001501/13.97, allocations: 414.8 kB / 6.388 GB, free: 271.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005066/13.97, allocations: 91.83 kB / 6.388 GB, free: 271.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/13.97, allocations: 4.58 MB / 6.392 GB, free: 266.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008333/13.97, allocations: 51.84 kB / 6.392 GB, free: 266.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.295e-05/13.97, allocations: 19.98 kB / 6.392 GB, free: 266.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/13.97, allocations: 4 kB / 6.392 GB, free: 266.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001993/13.98, allocations: 0.9078 MB / 6.393 GB, free: 265.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/13.98, allocations: 4 kB / 6.393 GB, free: 265.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/13.98, allocations: 408.7 kB / 6.394 GB, free: 265.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/13.98, allocations: 79.91 kB / 6.394 GB, free: 265.2 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005114/13.98, allocations: 3.967 MB / 6.398 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008257/13.98, allocations: 51.84 kB / 6.398 GB, free: 261.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/13.98, allocations: 31.94 kB / 6.398 GB, free: 261 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. Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.vol.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real $DER.vol1.dynBal.medium.T_degC:DUMMY_DER(fixed = false ) "Temperature of medium in [degC]" type: Real vol1.ports[1].m_flow:VARIABLE(flow=true min = -100000.0 max = 100000.0 unit = "kg/s" ) "Mass flow rate from the connection point into the component" type: Real [1] 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 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.0003031/13.98, allocations: 122.8 kB / 6.398 GB, free: 260.9 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002144/13.99, allocations: 0.9474 MB / 6.399 GB, free: 259.9 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/13.99, allocations: 71.16 kB / 6.399 GB, free: 259.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002328/13.99, allocations: 0.9986 MB / 6.4 GB, free: 258.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/13.99, allocations: 8 kB / 6.4 GB, free: 258.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/13.99, allocations: 0 / 6.4 GB, free: 258.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001972/13.99, allocations: 1.208 MB / 6.401 GB, free: 257.6 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003908/14, allocations: 2.169 MB / 6.403 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.032e-06/14, allocations: 0 / 6.403 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003768/14, allocations: 63.91 kB / 6.403 GB, free: 255.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/14, allocations: 441.7 kB / 6.403 GB, free: 254.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.199e-05/14, allocations: 11.98 kB / 6.403 GB, free: 254.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006291/14, allocations: 4.483 MB / 6.408 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/14, allocations: 0 / 6.408 GB, free: 250.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003252/14.01, allocations: 1.437 MB / 6.409 GB, free: 248.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007821/14.01, allocations: 240.1 kB / 6.409 GB, free: 248.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/14.01, allocations: 11.98 kB / 6.41 GB, free: 248.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001183/14.01, allocations: 35.97 kB / 6.41 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/14.01, allocations: 52.48 kB / 6.41 GB, free: 248.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.003e-05/14.01, allocations: 20.11 kB / 6.41 GB, free: 248.4 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0007518/14.01, allocations: 370.9 kB / 6.41 GB, free: 248 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.4e-07/14.01, allocations: 0 / 6.41 GB, free: 248 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003946/14.01, allocations: 0.578 MB / 6.411 GB, free: 247.4 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.006108/14.02, allocations: 3.445 MB / 6.414 GB, free: 244.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003149/14.02, allocations: 1.516 MB / 6.415 GB, free: 242.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/14.02, allocations: 0 / 6.415 GB, free: 242.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001068/14.02, allocations: 0.5855 MB / 6.416 GB, free: 241.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002378/14.03, allocations: 439.6 kB / 6.416 GB, free: 241.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003983/14.03, allocations: 1.665 MB / 6.418 GB, free: 239.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/14.03, allocations: 1.065 MB / 6.419 GB, free: 238.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001169/14.03, allocations: 234.1 kB / 6.419 GB, free: 238.5 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000377/14.03, allocations: 283.3 kB / 6.42 GB, free: 238.2 MB / 1.151 GB Notification: Performance of SimCode: time 9.82e-07/14.03, allocations: 0 / 6.42 GB, free: 238.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07381/14.11, allocations: 37.74 MB / 6.456 GB, free: 200.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001843/14.11, allocations: 201 kB / 6.457 GB, free: 200.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.27/17.38, allocations: 0 / 6.457 GB, free: 200.4 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