Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.66/1.66, allocations: 285.4 MB / 298 MB, free: 5.992 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.001077/0.001077, allocations: 172.8 kB / 366.4 MB, free: 2.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.502/1.502, allocations: 205.1 MB / 0.6248 GB, free: 7.719 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.0009061/0.0009061, allocations: 99.16 kB / 0.738 GB, free: 40.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.201e-05/3.221e-05, allocations: 0 / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.797, allocations: 115.3 MB / 0.971 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.137/6.934, allocations: 2.126 GB / 3.097 GB, free: 350.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003853/6.934, allocations: 89.27 kB / 3.097 GB, free: 350.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.038/8.973, allocations: 0.6195 GB / 3.716 GB, free: 111.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.824e-06/8.973, allocations: 0 / 3.716 GB, free: 111.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001111/8.973, allocations: 39.94 kB / 3.716 GB, free: 111.1 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.003752/8.977, allocations: 1.577 MB / 3.718 GB, free: 109.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/8.977, allocations: 8.031 kB / 3.718 GB, free: 109.5 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001881/8.977, allocations: 152.3 kB / 3.718 GB, free: 109.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002302/8.979, allocations: 365.8 kB / 3.718 GB, free: 108.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/8.982, allocations: 1.212 MB / 3.72 GB, free: 107.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.513e-05/8.983, allocations: 85.98 kB / 3.72 GB, free: 107.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/8.983, allocations: 100 kB / 3.72 GB, free: 107.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001796/8.985, allocations: 1.078 MB / 3.721 GB, free: 106.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.582e-05/8.985, allocations: 0 / 3.721 GB, free: 106.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.012e-05/8.985, allocations: 51.95 kB / 3.721 GB, free: 106.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/8.985, allocations: 38 kB / 3.721 GB, free: 106.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/8.986, allocations: 0.7574 MB / 3.722 GB, free: 105.5 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.00586/8.992, allocations: 5.136 MB / 3.727 GB, free: 100 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00091/8.993, allocations: 0.6678 MB / 3.727 GB, free: 99.37 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000444/8.993, allocations: 330.8 kB / 3.728 GB, free: 99.05 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005712/8.994, allocations: 311.8 kB / 3.728 GB, free: 98.69 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/8.994, allocations: 51.11 kB / 3.728 GB, free: 98.63 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.987e-06/8.994, allocations: 0 / 3.728 GB, free: 98.63 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001504/8.995, allocations: 0.689 MB / 3.729 GB, free: 97.93 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/8.995, allocations: 166.8 kB / 3.729 GB, free: 97.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008943/8.996, allocations: 0.7507 MB / 3.73 GB, free: 96.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.226e-05/8.996, allocations: 37.7 kB / 3.73 GB, free: 96.92 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003242/8.997, allocations: 0.5508 MB / 3.73 GB, free: 96.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001883/8.997, allocations: 252.4 kB / 3.73 GB, free: 96.11 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/8.997, allocations: 12 kB / 3.73 GB, free: 96.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001142/8.997, allocations: 338 kB / 3.731 GB, free: 95.77 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003503/8.997, allocations: 245.4 kB / 3.731 GB, free: 95.53 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000472/8.998, allocations: 471.1 kB / 3.731 GB, free: 94.98 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004928/8.998, allocations: 313.9 kB / 3.732 GB, free: 94.67 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/8.998, allocations: 0 / 3.732 GB, free: 94.67 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001123/9, allocations: 0.8109 MB / 3.732 GB, free: 93.85 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004471/9, allocations: 1.674 MB / 3.734 GB, free: 92.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/9, allocations: 4 kB / 3.734 GB, free: 92.05 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.931e-05/9, allocations: 8 kB / 3.734 GB, free: 92.04 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00153/9.002, allocations: 255.7 kB / 3.734 GB, free: 91.79 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001159/9.003, allocations: 1.409 MB / 3.736 GB, free: 90.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/9.004, allocations: 123.3 kB / 3.736 GB, free: 90.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.672e-05/9.004, allocations: 35.92 kB / 3.736 GB, free: 90.09 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/9.004, allocations: 15.89 kB / 3.736 GB, free: 90.07 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001001/9.005, allocations: 0.6778 MB / 3.737 GB, free: 89.39 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/9.005, allocations: 4.562 kB / 3.737 GB, free: 89.39 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/9.005, allocations: 15.98 kB / 3.737 GB, free: 89.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/9.006, allocations: 255.7 kB / 3.737 GB, free: 89.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009676/9.007, allocations: 1.401 MB / 3.738 GB, free: 87.59 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001121/9.009, allocations: 127.3 kB / 3.738 GB, free: 87.46 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.147e-05/9.009, allocations: 35.98 kB / 3.738 GB, free: 87.43 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.0002484/9.009, allocations: 152.7 kB / 3.738 GB, free: 87.27 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/9.009, allocations: 118.5 kB / 3.739 GB, free: 87.16 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001609/9.011, allocations: 0.7894 MB / 3.739 GB, free: 86.36 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/9.011, allocations: 4 kB / 3.739 GB, free: 86.35 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/9.011, allocations: 0 / 3.739 GB, free: 86.35 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001002/9.012, allocations: 0.7029 MB / 3.74 GB, free: 85.61 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0031/9.015, allocations: 1.95 MB / 3.742 GB, free: 83.58 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/9.015, allocations: 4 kB / 3.742 GB, free: 83.58 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007039/9.016, allocations: 151.8 kB / 3.742 GB, free: 83.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004004/9.016, allocations: 52.92 kB / 3.742 GB, free: 83.38 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.093e-05/9.016, allocations: 16 kB / 3.742 GB, free: 83.36 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001093/9.017, allocations: 1.387 MB / 3.744 GB, free: 81.84 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/9.017, allocations: 0 / 3.744 GB, free: 81.84 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/9.019, allocations: 1.337 MB / 3.745 GB, free: 80.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005086/9.02, allocations: 263.5 kB / 3.745 GB, free: 80.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/9.02, allocations: 16 kB / 3.745 GB, free: 80.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007215/9.02, allocations: 75.94 kB / 3.745 GB, free: 80.05 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/9.02, allocations: 48.45 kB / 3.745 GB, free: 80 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.831e-05/9.021, allocations: 27.98 kB / 3.745 GB, free: 79.98 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007495/9.021, allocations: 0.5819 MB / 3.746 GB, free: 79.38 MB / 0.948 GB Notification: Performance of sort global known variables: time 8.72e-07/9.021, allocations: 0 / 3.746 GB, free: 79.38 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002382/9.024, allocations: 0.721 MB / 3.746 GB, free: 78.66 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.004967/9.029, allocations: 4.041 MB / 3.75 GB, free: 74.46 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002644/9.031, allocations: 1.132 MB / 3.752 GB, free: 73.33 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/9.031, allocations: 4.125 kB / 3.752 GB, free: 73.33 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006582/9.032, allocations: 449.6 kB / 3.752 GB, free: 72.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002807/9.035, allocations: 0.4909 MB / 3.752 GB, free: 72.39 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005075/9.04, allocations: 1.956 MB / 3.754 GB, free: 70.37 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006842/9.041, allocations: 1.169 MB / 3.756 GB, free: 69.17 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001752/9.042, allocations: 356.3 kB / 3.756 GB, free: 68.82 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005871/9.043, allocations: 447.3 kB / 3.756 GB, free: 68.38 MB / 0.948 GB Notification: Performance of SimCode: time 1.703e-06/9.043, allocations: 0 / 3.756 GB, free: 68.38 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09613/9.139, allocations: 60.28 MB / 3.815 GB, free: 8.348 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002097/9.139, allocations: 244 kB / 3.815 GB, free: 8.027 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.85/13.99, allocations: 0 / 3.815 GB, free: 8.027 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_maint.8.0.x_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)