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.8398/0.8398, allocations: 141.8 MB / 149.3 MB, free: 9.215 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 184.9 kB / 182.2 MB, free: 9.426 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.471/1.471, allocations: 221.5 MB / 436.4 MB, free: 13.31 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.0009262/0.000926, allocations: 92.03 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001783/0.001784, allocations: 289.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.344e-05/2.35e-05, allocations: 4 kB / 0.6766 GB, free: 12.73 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4638/0.4639, allocations: 82.77 MB / 0.7575 GB, free: 31.91 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.412/5.876, allocations: 2.125 GB / 2.882 GB, free: 217.3 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003212/5.876, allocations: 83.95 kB / 2.882 GB, free: 217.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.518/7.394, allocations: 484.3 MB / 3.355 GB, free: 4.559 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.833e-06/7.394, allocations: 0 / 3.355 GB, free: 4.559 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.776e-05/7.394, allocations: 23.98 kB / 3.355 GB, free: 4.535 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.001948/7.396, allocations: 1.079 MB / 3.356 GB, free: 3.406 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/7.396, allocations: 12.02 kB / 3.356 GB, free: 3.395 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001883/7.398, allocations: 300.3 kB / 3.357 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/7.399, allocations: 0.7375 MB / 3.357 GB, free: 2.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.526e-05/7.399, allocations: 20 kB / 3.357 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001086/7.399, allocations: 36 kB / 3.357 GB, free: 2.266 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007839/7.4, allocations: 0.4907 MB / 3.358 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007977/7.401, allocations: 0.4998 MB / 3.358 GB, free: 1.27 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/7.401, allocations: 3.938 kB / 3.358 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/7.401, allocations: 0 / 3.358 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.212e-05/7.401, allocations: 25.31 kB / 3.358 GB, free: 1.242 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.5979/7.999, allocations: 2.607 MB / 3.361 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008799/8, allocations: 434.2 kB / 3.361 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004133/8, allocations: 231.8 kB / 3.362 GB, free: 147.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002348/8.001, allocations: 101.4 kB / 3.362 GB, free: 147.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/8.001, allocations: 40.78 kB / 3.362 GB, free: 147.4 MB / 0.698 GB Notification: Performance of pre-optimization done (n=46): time 2.895e-06/8.001, allocations: 0 / 3.362 GB, free: 147.4 MB / 0.698 GB Notification: Performance of matching and sorting (n=49): time 0.003615/8.004, allocations: 1.259 MB / 3.363 GB, free: 147.1 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/8.004, allocations: 57.62 kB / 3.363 GB, free: 147 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007448/8.005, allocations: 424.3 kB / 3.363 GB, free: 146.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.673e-05/8.005, allocations: 26.52 kB / 3.363 GB, free: 146.9 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003372/8.006, allocations: 362.7 kB / 3.364 GB, free: 146.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/8.006, allocations: 164.2 kB / 3.364 GB, free: 146.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/8.006, allocations: 0 / 3.364 GB, free: 146.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001709/8.006, allocations: 371.8 kB / 3.364 GB, free: 146.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/8.006, allocations: 173.5 kB / 3.364 GB, free: 146.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/8.007, allocations: 275.4 kB / 3.365 GB, free: 146.2 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.00279/8.01, allocations: 0.7622 MB / 3.365 GB, free: 146.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/8.01, allocations: 0.875 kB / 3.365 GB, free: 146.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001327/8.011, allocations: 0.5497 MB / 3.366 GB, free: 146 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002953/8.011, allocations: 0.6998 MB / 3.367 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/8.011, allocations: 5.641 kB / 3.367 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002457/8.011, allocations: 38.61 kB / 3.367 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/8.012, allocations: 108.9 kB / 3.367 GB, free: 145.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001798/8.014, allocations: 2.045 MB / 3.369 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001064/8.015, allocations: 43.86 kB / 3.369 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/8.015, allocations: 22.33 kB / 3.369 GB, free: 143.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/8.015, allocations: 4.75 kB / 3.369 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000979/8.016, allocations: 462.8 kB / 3.369 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/8.016, allocations: 2.047 kB / 3.369 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001313/8.016, allocations: 36.08 kB / 3.369 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/8.017, allocations: 101.5 kB / 3.369 GB, free: 143.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/8.018, allocations: 1.45 MB / 3.371 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/8.019, allocations: 43.25 kB / 3.371 GB, free: 142.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/8.019, allocations: 19.3 kB / 3.371 GB, free: 142.1 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.0002839/8.019, allocations: 121.5 kB / 3.371 GB, free: 142 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009818/8.02, allocations: 496.8 kB / 3.372 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/8.02, allocations: 65.05 kB / 3.372 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009487/8.021, allocations: 0.5147 MB / 3.372 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/8.021, allocations: 5.125 kB / 3.372 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/8.021, allocations: 4.469 kB / 3.372 GB, free: 141.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007602/8.022, allocations: 0.7508 MB / 3.373 GB, free: 141.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002718/8.025, allocations: 1.434 MB / 3.374 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/8.025, allocations: 5.266 kB / 3.374 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006251/8.026, allocations: 135.2 kB / 3.374 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001224/8.026, allocations: 27.14 kB / 3.374 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/8.026, allocations: 10.8 kB / 3.374 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/8.027, allocations: 1.887 MB / 3.376 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/8.027, allocations: 3.812 kB / 3.376 GB, free: 139.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001268/8.028, allocations: 0.9425 MB / 3.377 GB, free: 138.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003493/8.028, allocations: 198.1 kB / 3.377 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.927e-05/8.029, allocations: 7.25 kB / 3.377 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005889/8.029, allocations: 38.92 kB / 3.377 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/8.029, allocations: 28.98 kB / 3.377 GB, free: 138.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/8.029, allocations: 22.44 kB / 3.377 GB, free: 138.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004026/8.03, allocations: 327.8 kB / 3.378 GB, free: 138.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.31e-07/8.03, allocations: 0 / 3.378 GB, free: 138.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001676/8.031, allocations: 446.6 kB / 3.378 GB, free: 138.7 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.003739/8.035, allocations: 3.034 MB / 3.381 GB, free: 137.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001821/8.037, allocations: 0.9507 MB / 3.382 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.461e-06/8.037, allocations: 6.438 kB / 3.382 GB, free: 137.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004714/8.037, allocations: 355.7 kB / 3.382 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/8.04, allocations: 422 kB / 3.383 GB, free: 137.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/8.043, allocations: 1.451 MB / 3.384 GB, free: 136.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007241/8.044, allocations: 1.017 MB / 3.385 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001066/8.045, allocations: 266.8 kB / 3.385 GB, free: 136 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/8.045, allocations: 261.5 kB / 3.386 GB, free: 136 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/8.045, allocations: 0 / 3.386 GB, free: 136 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06438/8.109, allocations: 29.88 MB / 3.415 GB, free: 135.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001877/8.11, allocations: 186.8 kB / 3.415 GB, free: 135.4 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.116/11.23, allocations: 0 / 3.415 GB, free: 135.4 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)