Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.599/1.599, allocations: 249.3 MB / 261.8 MB, free: 5.812 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 172.8 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.618/1.618, allocations: 205.2 MB / 0.572 GB, free: 10.69 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 92.2 kB / 0.6764 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.144e-05/3.147e-05, allocations: 0 / 0.788 GB, free: 97.03 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2298, allocations: 106.3 MB / 0.8919 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.834/7.064, allocations: 2.245 GB / 3.137 GB, free: 85 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/7.064, allocations: 86.33 kB / 3.137 GB, free: 84.96 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.666/9.731, allocations: 0.6027 GB / 3.74 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.593e-06/9.731, allocations: 0 / 3.74 GB, free: 140.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001266/9.731, allocations: 39.94 kB / 3.74 GB, free: 140.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003973/9.735, allocations: 1.575 MB / 3.741 GB, free: 139 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.637e-05/9.735, allocations: 8.031 kB / 3.741 GB, free: 138.9 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001929/9.735, allocations: 160.3 kB / 3.741 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00226/9.737, allocations: 373.8 kB / 3.742 GB, free: 138.4 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/9.74, allocations: 1.21 MB / 3.743 GB, free: 137.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.623e-05/9.741, allocations: 82.02 kB / 3.743 GB, free: 137.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/9.741, allocations: 107.9 kB / 3.743 GB, free: 137 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001762/9.742, allocations: 1.086 MB / 3.744 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/9.742, allocations: 4 kB / 3.744 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.405e-05/9.743, allocations: 44 kB / 3.744 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.309e-05/9.743, allocations: 38 kB / 3.744 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/9.744, allocations: 0.773 MB / 3.745 GB, free: 134.9 MB / 0.8698 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.005983/9.75, allocations: 5.135 MB / 3.75 GB, free: 129.5 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009174/9.751, allocations: 0.6541 MB / 3.751 GB, free: 128.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/9.751, allocations: 330.5 kB / 3.751 GB, free: 128.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005989/9.752, allocations: 315.8 kB / 3.751 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/9.752, allocations: 47.08 kB / 3.751 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=70): time 3.898e-06/9.752, allocations: 0 / 3.751 GB, free: 128.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70): time 0.001402/9.753, allocations: 0.6851 MB / 3.752 GB, free: 127.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.826e-05/9.753, allocations: 166.8 kB / 3.752 GB, free: 127.2 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008974/9.754, allocations: 0.7589 MB / 3.753 GB, free: 126.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.796e-05/9.754, allocations: 41.7 kB / 3.753 GB, free: 126.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/9.755, allocations: 0.5508 MB / 3.754 GB, free: 125.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/9.755, allocations: 248.3 kB / 3.754 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/9.755, allocations: 16 kB / 3.754 GB, free: 125.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001039/9.755, allocations: 334 kB / 3.754 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/9.755, allocations: 233.5 kB / 3.754 GB, free: 125 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004981/9.756, allocations: 482.7 kB / 3.755 GB, free: 124.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004281/9.756, allocations: 312.1 kB / 3.755 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/9.756, allocations: 7.938 kB / 3.755 GB, free: 124.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001085/9.758, allocations: 0.7956 MB / 3.756 GB, free: 123.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000453/9.758, allocations: 1.672 MB / 3.758 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/9.758, allocations: 4 kB / 3.758 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/9.758, allocations: 8 kB / 3.758 GB, free: 121.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001479/9.76, allocations: 255.7 kB / 3.758 GB, free: 121.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001494/9.761, allocations: 1.413 MB / 3.759 GB, free: 119.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/9.762, allocations: 131.2 kB / 3.759 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/9.762, allocations: 35.98 kB / 3.759 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/9.762, allocations: 4.625 kB / 3.759 GB, free: 119.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001199/9.764, allocations: 0.6777 MB / 3.76 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/9.764, allocations: 4 kB / 3.76 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/9.764, allocations: 11.95 kB / 3.76 GB, free: 118.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/9.765, allocations: 268.2 kB / 3.76 GB, free: 118.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/9.766, allocations: 1.401 MB / 3.762 GB, free: 117 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/9.768, allocations: 123.4 kB / 3.762 GB, free: 116.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/9.768, allocations: 39.98 kB / 3.762 GB, free: 116.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 4 (PI1.I.trigger_internal,PI.I.trigger_internal,QLat.local_reset,QSen.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 91 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0003046/9.768, allocations: 154.4 kB / 3.762 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/9.768, allocations: 114.6 kB / 3.762 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/9.77, allocations: 0.7814 MB / 3.763 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/9.77, allocations: 8 kB / 3.763 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/9.77, allocations: 0 / 3.763 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001113/9.771, allocations: 0.6913 MB / 3.763 GB, free: 115.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004061/9.775, allocations: 1.965 MB / 3.765 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/9.775, allocations: 224 / 3.765 GB, free: 113 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007744/9.776, allocations: 155.8 kB / 3.766 GB, free: 112.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004481/9.777, allocations: 48.81 kB / 3.766 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.552e-05/9.777, allocations: 16 kB / 3.766 GB, free: 112.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/9.778, allocations: 1.383 MB / 3.767 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/9.778, allocations: 4 kB / 3.767 GB, free: 111.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/9.78, allocations: 1.341 MB / 3.768 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007308/9.781, allocations: 271.6 kB / 3.769 GB, free: 109.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/9.781, allocations: 12 kB / 3.769 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/9.782, allocations: 75.84 kB / 3.769 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/9.782, allocations: 48.5 kB / 3.769 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.577e-05/9.782, allocations: 27.98 kB / 3.769 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001188/9.784, allocations: 0.5822 MB / 3.769 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.5e-07/9.784, allocations: 0 / 3.769 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003486/9.787, allocations: 0.7288 MB / 3.77 GB, free: 108.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],QSen.y,QLat.y,PI.I.y,PI1.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.006315/9.793, allocations: 4.033 MB / 3.774 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003014/9.796, allocations: 1.124 MB / 3.775 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/9.796, allocations: 0 / 3.775 GB, free: 102.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007841/9.797, allocations: 458.3 kB / 3.775 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003297/9.801, allocations: 499.6 kB / 3.776 GB, free: 101.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006471/9.807, allocations: 1.971 MB / 3.778 GB, free: 99.79 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/9.808, allocations: 1.169 MB / 3.779 GB, free: 98.59 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.002046/9.81, allocations: 352.3 kB / 3.779 GB, free: 98.24 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006839/9.811, allocations: 455.3 kB / 3.78 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of SimCode: time 2.114e-06/9.811, allocations: 0 / 3.78 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1149/9.926, allocations: 60.43 MB / 3.839 GB, free: 37.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002243/9.926, allocations: 228.2 kB / 3.839 GB, free: 37.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.497/14.42, allocations: 0 / 3.839 GB, free: 37.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_maint.7.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)