Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.483/2.483, allocations: 284.9 MB / 292.4 MB, free: 10.51 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001482/0.001481, allocations: 180.8 kB / 360.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.074/2.074, allocations: 205.3 MB / 0.6191 GB, free: 12.17 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001069/0.001069, allocations: 104.4 kB / 0.7321 GB, free: 44.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.514e-05/2.528e-05, allocations: 4 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8046/0.8047, allocations: 115.3 MB / 0.9634 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.819/7.623, allocations: 2.125 GB / 3.088 GB, free: 285.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/7.624, allocations: 89.48 kB / 3.088 GB, free: 285.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.898/10.52, allocations: 0.6127 GB / 3.701 GB, free: 110.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.234e-06/10.52, allocations: 0 / 3.701 GB, free: 110.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001772/10.52, allocations: 36 kB / 3.701 GB, free: 110.2 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.005046/10.53, allocations: 1.579 MB / 3.703 GB, free: 108.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/10.53, allocations: 8.031 kB / 3.703 GB, free: 108.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003534/10.53, allocations: 369.8 kB / 3.703 GB, free: 108.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004762/10.54, allocations: 1.195 MB / 3.704 GB, free: 107 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.273e-05/10.54, allocations: 43.92 kB / 3.704 GB, free: 106.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/10.54, allocations: 64 kB / 3.704 GB, free: 106.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001991/10.54, allocations: 0.6873 MB / 3.705 GB, free: 106.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002299/10.54, allocations: 0.9426 MB / 3.706 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.465e-05/10.54, allocations: 4 kB / 3.706 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001299/10.54, allocations: 0 / 3.706 GB, free: 105.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.638e-05/10.54, allocations: 38 kB / 3.706 GB, free: 105.1 MB / 0.948 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.00888/10.55, allocations: 4.919 MB / 3.711 GB, free: 99.86 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/10.55, allocations: 0.6377 MB / 3.711 GB, free: 99.21 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000655/10.55, allocations: 310.4 kB / 3.712 GB, free: 98.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/10.55, allocations: 311.8 kB / 3.712 GB, free: 98.55 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/10.55, allocations: 43.78 kB / 3.712 GB, free: 98.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.407e-06/10.55, allocations: 0 / 3.712 GB, free: 98.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.002536/10.55, allocations: 0.7085 MB / 3.713 GB, free: 97.78 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.241e-05/10.56, allocations: 170.8 kB / 3.713 GB, free: 97.58 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00109/10.56, allocations: 0.5881 MB / 3.713 GB, free: 96.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001917/10.56, allocations: 25.7 kB / 3.713 GB, free: 96.94 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004508/10.56, allocations: 0.5503 MB / 3.714 GB, free: 96.38 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/10.56, allocations: 248.3 kB / 3.714 GB, free: 96.13 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/10.56, allocations: 0 / 3.714 GB, free: 96.13 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/10.56, allocations: 334 kB / 3.714 GB, free: 95.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005537/10.56, allocations: 221.5 kB / 3.715 GB, free: 95.59 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006997/10.56, allocations: 461.1 kB / 3.715 GB, free: 95.04 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/10.56, allocations: 352.3 kB / 3.715 GB, free: 94.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/10.56, allocations: 8 kB / 3.715 GB, free: 94.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002234/10.56, allocations: 0.792 MB / 3.716 GB, free: 93.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003538/10.56, allocations: 1.676 MB / 3.718 GB, free: 92.09 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/10.56, allocations: 4 kB / 3.718 GB, free: 92.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/10.56, allocations: 12 kB / 3.718 GB, free: 92.07 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/10.57, allocations: 259.6 kB / 3.718 GB, free: 91.82 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001498/10.57, allocations: 1.354 MB / 3.719 GB, free: 90.35 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001845/10.57, allocations: 99.53 kB / 3.72 GB, free: 90.25 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/10.57, allocations: 28 kB / 3.72 GB, free: 90.22 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/10.57, allocations: 4 kB / 3.72 GB, free: 90.22 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001905/10.57, allocations: 0.6587 MB / 3.72 GB, free: 89.56 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/10.57, allocations: 4 kB / 3.72 GB, free: 89.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/10.57, allocations: 12 kB / 3.72 GB, free: 89.54 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002838/10.57, allocations: 263.8 kB / 3.72 GB, free: 89.29 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/10.58, allocations: 1.35 MB / 3.722 GB, free: 87.82 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/10.58, allocations: 91.53 kB / 3.722 GB, free: 87.73 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/10.58, allocations: 39.92 kB / 3.722 GB, free: 87.69 MB / 0.948 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.000294/10.58, allocations: 132.6 kB / 3.722 GB, free: 87.55 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001945/10.58, allocations: 0.6812 MB / 3.723 GB, free: 86.86 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/10.58, allocations: 106.7 kB / 3.723 GB, free: 86.76 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002562/10.58, allocations: 0.7767 MB / 3.724 GB, free: 85.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/10.58, allocations: 4 kB / 3.724 GB, free: 85.97 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/10.58, allocations: 4 kB / 3.724 GB, free: 85.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002302/10.58, allocations: 0.7146 MB / 3.724 GB, free: 85.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005788/10.59, allocations: 1.845 MB / 3.726 GB, free: 83.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.211e-05/10.59, allocations: 4 kB / 3.726 GB, free: 83.29 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/10.59, allocations: 152 kB / 3.726 GB, free: 83.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00078/10.59, allocations: 48.81 kB / 3.726 GB, free: 83.09 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000177/10.59, allocations: 8 kB / 3.726 GB, free: 83.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/10.59, allocations: 1.324 MB / 3.728 GB, free: 81.64 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/10.59, allocations: 4.125 kB / 3.728 GB, free: 81.64 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003498/10.6, allocations: 1.336 MB / 3.729 GB, free: 80.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008808/10.6, allocations: 255.6 kB / 3.729 GB, free: 79.95 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/10.6, allocations: 11.98 kB / 3.729 GB, free: 79.93 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001422/10.6, allocations: 59.84 kB / 3.729 GB, free: 79.88 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/10.6, allocations: 52.44 kB / 3.729 GB, free: 79.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.27e-05/10.6, allocations: 20 kB / 3.729 GB, free: 79.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008336/10.6, allocations: 459.9 kB / 3.73 GB, free: 79.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 5.91e-07/10.6, allocations: 0 / 3.73 GB, free: 79.34 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004626/10.61, allocations: 0.6544 MB / 3.73 GB, free: 78.69 MB / 0.948 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.007156/10.61, allocations: 4.238 MB / 3.735 GB, free: 74.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004317/10.62, allocations: 1.068 MB / 3.736 GB, free: 73.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/10.62, allocations: 4 kB / 3.736 GB, free: 73.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/10.62, allocations: 423.7 kB / 3.736 GB, free: 72.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/10.62, allocations: 433.7 kB / 3.736 GB, free: 72.38 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006171/10.63, allocations: 1.876 MB / 3.738 GB, free: 70.44 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/10.63, allocations: 1.169 MB / 3.739 GB, free: 69.24 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002348/10.63, allocations: 315.5 kB / 3.74 GB, free: 68.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008977/10.63, allocations: 447.3 kB / 3.74 GB, free: 68.49 MB / 0.948 GB Notification: Performance of SimCode: time 1.042e-06/10.63, allocations: 0 / 3.74 GB, free: 68.49 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1182/10.75, allocations: 38.86 MB / 3.778 GB, free: 29.81 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002666/10.75, allocations: 174.2 kB / 3.778 GB, free: 29.62 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.253/15.01, allocations: 3.938 kB / 3.778 GB, free: 29.62 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_8.0.0_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)