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.478/1.478, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001221/0.001221, allocations: 183.8 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.34/2.34, allocations: 205.4 MB / 0.5775 GB, free: 20.53 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.001105/0.001104, allocations: 86.36 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003778/0.0003781, allocations: 9.531 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2724, allocations: 106.3 MB / 0.9002 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.697/6.97, allocations: 2.245 GB / 3.145 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/6.97, allocations: 93.2 kB / 3.145 GB, free: 231.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.847/8.818, allocations: 0.6033 GB / 3.749 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.734e-06/8.818, allocations: 0 / 3.749 GB, free: 3.516 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002133/8.818, allocations: 35.94 kB / 3.749 GB, free: 3.48 MB / 0.8855 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.005238/8.823, allocations: 1.775 MB / 3.751 GB, free: 1.648 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/8.823, allocations: 8.031 kB / 3.751 GB, free: 1.641 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004971/8.824, allocations: 156.3 kB / 3.751 GB, free: 1.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002602/8.826, allocations: 365.8 kB / 3.751 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6221/9.448, allocations: 1.225 MB / 3.752 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/9.449, allocations: 78.64 kB / 3.752 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002875/9.449, allocations: 106.9 kB / 3.752 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/9.451, allocations: 1.133 MB / 3.754 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.608e-05/9.451, allocations: 0.5156 kB / 3.754 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/9.451, allocations: 45.91 kB / 3.754 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.24e-05/9.451, allocations: 38.45 kB / 3.754 GB, free: 165 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001548/9.453, allocations: 0.833 MB / 3.754 GB, free: 165 MB / 0.8855 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.006777/9.46, allocations: 5.138 MB / 3.759 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001304/9.461, allocations: 0.7347 MB / 3.76 GB, free: 162.3 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006037/9.462, allocations: 314.3 kB / 3.76 GB, free: 162 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.836e-05/9.462, allocations: 40.02 kB / 3.76 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.677e-06/9.462, allocations: 0 / 3.76 GB, free: 161.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.002267/9.464, allocations: 1.012 MB / 3.761 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.568e-05/9.464, allocations: 164 kB / 3.762 GB, free: 161.6 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001197/9.465, allocations: 0.7636 MB / 3.762 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 8.921e-05/9.465, allocations: 42.36 kB / 3.762 GB, free: 161.5 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004959/9.466, allocations: 0.5571 MB / 3.763 GB, free: 161.3 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/9.466, allocations: 252.2 kB / 3.763 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.754e-05/9.466, allocations: 16.41 kB / 3.763 GB, free: 161.2 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000106/9.466, allocations: 334.4 kB / 3.764 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006195/9.467, allocations: 267.1 kB / 3.764 GB, free: 160.9 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008507/9.468, allocations: 0.4968 MB / 3.764 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007008/9.468, allocations: 336.7 kB / 3.765 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.241e-06/9.468, allocations: 5.797 kB / 3.765 GB, free: 160.6 MB / 0.8855 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001898/9.47, allocations: 0.8547 MB / 3.765 GB, free: 160.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004254/9.471, allocations: 1.67 MB / 3.767 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/9.471, allocations: 5.156 kB / 3.767 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.604e-05/9.471, allocations: 12.53 kB / 3.767 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001742/9.473, allocations: 259.8 kB / 3.767 GB, free: 158.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00128/9.474, allocations: 1.412 MB / 3.769 GB, free: 157.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/9.475, allocations: 135.2 kB / 3.769 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/9.475, allocations: 33.73 kB / 3.769 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/9.475, allocations: 3.938 kB / 3.769 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001755/9.477, allocations: 0.7348 MB / 3.77 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/9.477, allocations: 7.5 kB / 3.77 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/9.477, allocations: 12.38 kB / 3.77 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00169/9.479, allocations: 254 kB / 3.77 GB, free: 157.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/9.48, allocations: 1.414 MB / 3.771 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/9.482, allocations: 125.1 kB / 3.771 GB, free: 156.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.7e-05/9.482, allocations: 35.45 kB / 3.771 GB, free: 156.1 MB / 0.8855 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 () * Number of clocked 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.0009713/9.483, allocations: 367.5 kB / 3.772 GB, free: 155.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003676/9.483, allocations: 120.6 kB / 3.772 GB, free: 155.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002259/9.485, allocations: 0.8467 MB / 3.773 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/9.485, allocations: 7.25 kB / 3.773 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/9.485, allocations: 3.75 kB / 3.773 GB, free: 155.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001586/9.487, allocations: 0.749 MB / 3.773 GB, free: 155.6 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004352/9.491, allocations: 2.017 MB / 3.775 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/9.491, allocations: 1.438 kB / 3.775 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008432/9.492, allocations: 158 kB / 3.776 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004732/9.493, allocations: 42.25 kB / 3.776 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.939e-05/9.493, allocations: 24.69 kB / 3.776 GB, free: 155.2 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/9.494, allocations: 1.385 MB / 3.777 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/9.494, allocations: 5.094 kB / 3.777 GB, free: 153.9 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002881/9.497, allocations: 1.418 MB / 3.778 GB, free: 153.5 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007949/9.498, allocations: 271.5 kB / 3.779 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/9.498, allocations: 17.34 kB / 3.779 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008188/9.499, allocations: 82.33 kB / 3.779 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/9.499, allocations: 43.2 kB / 3.779 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-05/9.499, allocations: 25.45 kB / 3.779 GB, free: 153.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001072/9.5, allocations: 0.6006 MB / 3.779 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.8e-07/9.5, allocations: 0 / 3.779 GB, free: 153.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.002777/9.503, allocations: 0.7234 MB / 3.78 GB, free: 153.2 MB / 0.8855 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 () * Number of clocked 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.006246/9.509, allocations: 4.123 MB / 3.784 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003222/9.512, allocations: 1.182 MB / 3.785 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/9.512, allocations: 0 / 3.785 GB, free: 151.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0008452/9.513, allocations: 481.1 kB / 3.786 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00262/9.516, allocations: 0.4901 MB / 3.786 GB, free: 151.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01079/9.527, allocations: 9.418 MB / 3.795 GB, free: 146.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006591/9.527, allocations: 1.168 MB / 3.797 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001268/9.529, allocations: 265.3 kB / 3.797 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/9.529, allocations: 468.3 kB / 3.797 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.333e-06/9.529, allocations: 0 / 3.797 GB, free: 145.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09929/9.629, allocations: 54.21 MB / 3.85 GB, free: 144.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001815/9.629, allocations: 272.6 kB / 3.85 GB, free: 144.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.033/13.66, allocations: 0 / 3.85 GB, free: 144.1 MB / 0.8855 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)