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.21/2.21, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001054/0.001054, allocations: 179.3 kB / 498.1 MB, free: 5.75 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.532/1.532, allocations: 223.2 MB / 0.7948 GB, free: 17.91 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.0009841/0.0009843, allocations: 95.33 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003585/0.0003586, allocations: 10.34 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.271, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.33/10.6, allocations: 4.671 GB / 5.894 GB, free: 2.016 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/10.6, allocations: 93.08 kB / 5.894 GB, free: 1.969 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 2.431/13.03, allocations: 0.5025 GB / 6.397 GB, free: 319.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.517e-06/13.03, allocations: 0 / 6.397 GB, free: 319.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001501/13.03, allocations: 27.66 kB / 6.397 GB, free: 319.2 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.004173/13.04, allocations: 1.323 MB / 6.398 GB, free: 318.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.898e-05/13.04, allocations: 7.438 kB / 6.398 GB, free: 318.6 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003716/13.04, allocations: 105.1 kB / 6.398 GB, free: 318.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/13.04, allocations: 382.2 kB / 6.398 GB, free: 318.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002352/13.04, allocations: 0.9037 MB / 6.399 GB, free: 318.3 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.783e-05/13.04, allocations: 48.53 kB / 6.399 GB, free: 318.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/13.04, allocations: 60.5 kB / 6.399 GB, free: 318.3 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/13.04, allocations: 0.6155 MB / 6.4 GB, free: 318.3 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.576e-05/13.04, allocations: 3.906 kB / 6.4 GB, free: 318.3 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.776e-05/13.04, allocations: 25.75 kB / 6.4 GB, free: 318.3 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/13.04, allocations: 33.53 kB / 6.4 GB, free: 318.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001038/13.05, allocations: 0.5603 MB / 6.401 GB, free: 318.2 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004434/13.05, allocations: 2.79 MB / 6.403 GB, free: 316.9 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007797/13.05, allocations: 471.3 kB / 6.404 GB, free: 316.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001633/13.05, allocations: 97.3 kB / 6.404 GB, free: 316.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/13.05, allocations: 44.59 kB / 6.404 GB, free: 316.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=45): time 2.715e-06/13.05, allocations: 1.125 kB / 6.404 GB, free: 316.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.009342/13.06, allocations: 2.965 MB / 6.407 GB, free: 316.1 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/13.06, allocations: 59.38 kB / 6.407 GB, free: 316 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008766/13.06, allocations: 0.5238 MB / 6.407 GB, free: 315.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 7.953e-05/13.06, allocations: 36.05 kB / 6.407 GB, free: 315.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002408/13.06, allocations: 368.6 kB / 6.408 GB, free: 315.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/13.06, allocations: 213.3 kB / 6.408 GB, free: 315.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/13.06, allocations: 15.34 kB / 6.408 GB, free: 315.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001299/13.06, allocations: 376.5 kB / 6.408 GB, free: 315.3 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/13.06, allocations: 269.7 kB / 6.409 GB, free: 315.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004185/13.06, allocations: 363.2 kB / 6.409 GB, free: 315.2 MB / 1.167 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.00559/13.07, allocations: 1.413 MB / 6.41 GB, free: 315.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/13.07, allocations: 3.953 kB / 6.41 GB, free: 315.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00291/13.07, allocations: 1.069 MB / 6.411 GB, free: 315 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002174/13.07, allocations: 0.6155 MB / 6.412 GB, free: 314.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/13.07, allocations: 0 / 6.412 GB, free: 314.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002095/13.07, allocations: 482.4 kB / 6.412 GB, free: 314.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004737/13.07, allocations: 83.27 kB / 6.412 GB, free: 314.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00659/13.08, allocations: 4.936 MB / 6.417 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/13.08, allocations: 61.98 kB / 6.417 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/13.08, allocations: 23.53 kB / 6.417 GB, free: 312.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/13.08, allocations: 5.031 kB / 6.417 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002359/13.08, allocations: 0.9796 MB / 6.418 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/13.08, allocations: 2.188 kB / 6.418 GB, free: 312.4 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/13.09, allocations: 487.8 kB / 6.419 GB, free: 312.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/13.09, allocations: 78.66 kB / 6.419 GB, free: 312.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006005/13.09, allocations: 4.351 MB / 6.423 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001076/13.09, allocations: 61.78 kB / 6.423 GB, free: 310.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.841e-05/13.09, allocations: 18.84 kB / 6.423 GB, free: 310.9 MB / 1.167 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 () * Number of clocked 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.0006621/13.09, allocations: 350.7 kB / 6.423 GB, free: 310.7 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/13.09, allocations: 72.72 kB / 6.424 GB, free: 310.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/13.1, allocations: 1.077 MB / 6.425 GB, free: 310.6 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/13.1, allocations: 6.969 kB / 6.425 GB, free: 310.6 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/13.1, allocations: 2.469 kB / 6.425 GB, free: 310.6 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002263/13.1, allocations: 1.265 MB / 6.426 GB, free: 310.2 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004563/13.1, allocations: 2.325 MB / 6.428 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/13.1, allocations: 0 / 6.428 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/13.1, allocations: 76.94 kB / 6.428 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002269/13.11, allocations: 479.2 kB / 6.429 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.334e-05/13.11, allocations: 22.7 kB / 6.429 GB, free: 309.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006022/13.11, allocations: 4.8 MB / 6.433 GB, free: 307.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/13.11, allocations: 0 / 6.433 GB, free: 307.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003005/13.12, allocations: 1.513 MB / 6.435 GB, free: 307.5 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005483/13.12, allocations: 233.8 kB / 6.435 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.717e-05/13.12, allocations: 25.06 kB / 6.435 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000743/13.12, allocations: 50.08 kB / 6.435 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/13.12, allocations: 56.94 kB / 6.435 GB, free: 307.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/13.12, allocations: 18.3 kB / 6.435 GB, free: 307.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0005291/13.12, allocations: 434.1 kB / 6.436 GB, free: 307.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.1e-07/13.12, allocations: 0 / 6.436 GB, free: 307.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002194/13.12, allocations: 0.5728 MB / 6.436 GB, free: 307.3 MB / 1.167 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 () * Number of clocked 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.00484/13.13, allocations: 3.366 MB / 6.439 GB, free: 306.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003254/13.13, allocations: 1.649 MB / 6.441 GB, free: 305.8 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/13.13, allocations: 0 / 6.441 GB, free: 305.8 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/13.13, allocations: 0.6301 MB / 6.442 GB, free: 305.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002076/13.13, allocations: 465.7 kB / 6.442 GB, free: 305.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008421/13.14, allocations: 6.306 MB / 6.448 GB, free: 303.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005792/13.14, allocations: 1.075 MB / 6.449 GB, free: 302.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0008964/13.14, allocations: 184.5 kB / 6.45 GB, free: 302.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003504/13.14, allocations: 289.1 kB / 6.45 GB, free: 302.5 MB / 1.167 GB Notification: Performance of SimCode: time 8.62e-07/13.14, allocations: 3.875 kB / 6.45 GB, free: 302.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07558/13.22, allocations: 48.03 MB / 6.497 GB, free: 301.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001896/13.22, allocations: 276.3 kB / 6.497 GB, free: 301 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.585/16.8, allocations: 0 / 6.497 GB, free: 301 MB / 1.167 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