Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6876/0.6876, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009951/0.0009951, allocations: 186.2 kB / 187.3 MB, free: 11.88 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.208/1.208, allocations: 221.3 MB / 441.4 MB, free: 4.594 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000807/0.0008069, allocations: 92.58 kB / 0.5124 GB, free: 24.21 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001674/0.001674, allocations: 282.2 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 2.918e-05/2.92e-05, allocations: 4 kB / 0.6835 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3493, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.965/4.314, allocations: 2.125 GB / 2.89 GB, free: 216 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/4.314, allocations: 91.19 kB / 2.89 GB, free: 215.9 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.6/5.914, allocations: 489.5 MB / 3.368 GB, free: 145.2 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.356e-06/5.914, allocations: 4.047 kB / 3.368 GB, free: 145.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.749e-05/5.914, allocations: 21.75 kB / 3.368 GB, free: 145.2 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002048/5.916, allocations: 1.069 MB / 3.369 GB, free: 144.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/5.916, allocations: 9.625 kB / 3.369 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001368/5.916, allocations: 105.8 kB / 3.369 GB, free: 144.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001985/5.918, allocations: 304.6 kB / 3.369 GB, free: 144.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/5.92, allocations: 0.7444 MB / 3.37 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/5.92, allocations: 46.47 kB / 3.37 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/5.92, allocations: 60.75 kB / 3.37 GB, free: 144.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009785/5.921, allocations: 0.5845 MB / 3.371 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/5.921, allocations: 7.188 kB / 3.371 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/5.921, allocations: 19.38 kB / 3.371 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.148e-05/5.921, allocations: 19.72 kB / 3.371 GB, free: 144.4 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008296/5.922, allocations: 0.5161 MB / 3.371 GB, free: 144.4 MB / 0.698 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.003205/5.925, allocations: 2.744 MB / 3.374 GB, free: 143.1 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006206/5.926, allocations: 443.2 kB / 3.374 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003063/5.926, allocations: 252.8 kB / 3.375 GB, free: 143 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/5.926, allocations: 102.6 kB / 3.375 GB, free: 142.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/5.926, allocations: 45.48 kB / 3.375 GB, free: 142.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 2.494e-06/5.926, allocations: 0 / 3.375 GB, free: 142.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.002473/5.929, allocations: 1.327 MB / 3.376 GB, free: 142.5 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.465e-05/5.929, allocations: 59.38 kB / 3.376 GB, free: 142.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005005/5.929, allocations: 467.9 kB / 3.377 GB, free: 142.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/5.93, allocations: 38.33 kB / 3.377 GB, free: 142.3 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002043/5.93, allocations: 353.1 kB / 3.377 GB, free: 142.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/5.93, allocations: 173.5 kB / 3.377 GB, free: 142.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/5.93, allocations: 6.75 kB / 3.377 GB, free: 142.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001162/5.93, allocations: 377.7 kB / 3.378 GB, free: 141.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002438/5.93, allocations: 178.6 kB / 3.378 GB, free: 141.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/5.931, allocations: 293.4 kB / 3.378 GB, free: 141.6 MB / 0.698 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 (vol1.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001959/5.933, allocations: 0.7866 MB / 3.379 GB, free: 141.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/5.933, allocations: 0 / 3.379 GB, free: 141.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007741/5.933, allocations: 0.5864 MB / 3.379 GB, free: 141.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001364/5.933, allocations: 0.7072 MB / 3.38 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/5.933, allocations: 3.438 kB / 3.38 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001478/5.934, allocations: 38.91 kB / 3.38 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/5.934, allocations: 106 kB / 3.38 GB, free: 140.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001123/5.935, allocations: 2.099 MB / 3.382 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007167/5.936, allocations: 50.86 kB / 3.382 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/5.936, allocations: 21.02 kB / 3.382 GB, free: 138.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.793e-06/5.936, allocations: 3.688 kB / 3.382 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006673/5.937, allocations: 0.5097 MB / 3.383 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-06/5.937, allocations: 0 / 3.383 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.021e-05/5.937, allocations: 39.92 kB / 3.383 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/5.937, allocations: 98.83 kB / 3.383 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007904/5.938, allocations: 1.514 MB / 3.384 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/5.939, allocations: 48.12 kB / 3.384 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.384e-05/5.939, allocations: 19.16 kB / 3.384 GB, free: 137.4 MB / 0.698 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: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001355/5.939, allocations: 135.9 kB / 3.385 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.503e-05/5.939, allocations: 73.08 kB / 3.385 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008325/5.94, allocations: 0.5645 MB / 3.385 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/5.94, allocations: 3.438 kB / 3.385 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/5.94, allocations: 0 / 3.385 GB, free: 137.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006596/5.94, allocations: 0.7867 MB / 3.386 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001977/5.942, allocations: 1.545 MB / 3.387 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/5.942, allocations: 0 / 3.387 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/5.943, allocations: 130 kB / 3.388 GB, free: 136.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001007/5.943, allocations: 30.7 kB / 3.388 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.17e-05/5.943, allocations: 13.91 kB / 3.388 GB, free: 136.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008383/5.944, allocations: 1.953 MB / 3.39 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/5.944, allocations: 7.031 kB / 3.39 GB, free: 134.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009928/5.945, allocations: 0.9755 MB / 3.39 GB, free: 134.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002756/5.945, allocations: 197.9 kB / 3.391 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/5.945, allocations: 15.52 kB / 3.391 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005435/5.946, allocations: 45.72 kB / 3.391 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/5.946, allocations: 34.84 kB / 3.391 GB, free: 134.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/5.946, allocations: 24.3 kB / 3.391 GB, free: 134.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003611/5.946, allocations: 364.1 kB / 3.391 GB, free: 134 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.71e-07/5.946, allocations: 0 / 3.391 GB, free: 134 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001489/5.948, allocations: 492.6 kB / 3.392 GB, free: 134 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002775/5.951, allocations: 2.918 MB / 3.394 GB, free: 132.7 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001435/5.952, allocations: 1.005 MB / 3.395 GB, free: 132.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/5.952, allocations: 3 kB / 3.395 GB, free: 132.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004022/5.953, allocations: 369.4 kB / 3.396 GB, free: 132.4 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/5.954, allocations: 458.3 kB / 3.396 GB, free: 132.4 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/5.957, allocations: 1.494 MB / 3.398 GB, free: 132 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003867/5.957, allocations: 1.018 MB / 3.399 GB, free: 131.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0009685/5.958, allocations: 275.7 kB / 3.399 GB, free: 131.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/5.958, allocations: 258.5 kB / 3.399 GB, free: 131.3 MB / 0.698 GB Notification: Performance of SimCode: time 3.91e-07/5.958, allocations: 0 / 3.399 GB, free: 131.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06893/6.027, allocations: 44.16 MB / 3.442 GB, free: 130.2 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001581/6.028, allocations: 257.2 kB / 3.443 GB, free: 129.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.139/9.167, allocations: 0 / 3.443 GB, free: 129.9 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesAir_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_CoupledVolumesAir.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.CoupledVolumesAir.pipe 2>&1)