Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.768/1.768, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001741/0.001741, allocations: 189 kB / 377.1 MB, free: 1.512 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.923/1.923, allocations: 205.4 MB / 0.6366 GB, free: 8.613 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.0009808/0.0009808, allocations: 94.16 kB / 0.7509 GB, free: 63.11 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005382/0.0005383, allocations: 8 kB / 0.8748 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3141, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.524/5.838, allocations: 2.127 GB / 3.115 GB, free: 91.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/5.838, allocations: 96.61 kB / 3.115 GB, free: 91.13 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.703/8.541, allocations: 0.6202 GB / 3.735 GB, free: 161.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.003e-06/8.541, allocations: 0 / 3.735 GB, free: 161.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000145/8.541, allocations: 41.27 kB / 3.735 GB, free: 161.9 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.00436/8.546, allocations: 1.764 MB / 3.737 GB, free: 160.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.147e-05/8.546, allocations: 7.312 kB / 3.737 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002136/8.546, allocations: 155.6 kB / 3.737 GB, free: 160.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002215/8.548, allocations: 365.7 kB / 3.738 GB, free: 160.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/8.551, allocations: 1.227 MB / 3.739 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.989e-05/8.551, allocations: 82.69 kB / 3.739 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/8.551, allocations: 99.81 kB / 3.739 GB, free: 160 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/8.553, allocations: 1.125 MB / 3.74 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/8.553, allocations: 10.89 kB / 3.74 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.629e-05/8.553, allocations: 39.16 kB / 3.74 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.88e-05/8.553, allocations: 36.5 kB / 3.74 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001369/8.555, allocations: 0.8279 MB / 3.741 GB, free: 159.1 MB / 0.948 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.005528/8.56, allocations: 5.132 MB / 3.746 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/8.561, allocations: 0.7472 MB / 3.747 GB, free: 155.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005533/8.562, allocations: 315.7 kB / 3.747 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/8.562, allocations: 37.81 kB / 3.747 GB, free: 154.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=70): time 3.667e-06/8.562, allocations: 0 / 3.747 GB, free: 154.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=70): time 0.001952/8.564, allocations: 1.008 MB / 3.748 GB, free: 154.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/8.564, allocations: 170 kB / 3.748 GB, free: 154.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/8.565, allocations: 0.7572 MB / 3.749 GB, free: 153.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.114e-05/8.565, allocations: 45.52 kB / 3.749 GB, free: 153.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004116/8.566, allocations: 0.552 MB / 3.75 GB, free: 153.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002155/8.566, allocations: 249.8 kB / 3.75 GB, free: 153.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.367e-05/8.566, allocations: 15.25 kB / 3.75 GB, free: 153.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001251/8.566, allocations: 340.9 kB / 3.75 GB, free: 152.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004624/8.566, allocations: 267 kB / 3.75 GB, free: 152.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006313/8.567, allocations: 0.5001 MB / 3.751 GB, free: 152.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/8.568, allocations: 330.1 kB / 3.751 GB, free: 152.2 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/8.568, allocations: 3.188 kB / 3.751 GB, free: 152.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001393/8.569, allocations: 0.8688 MB / 3.752 GB, free: 151.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005393/8.57, allocations: 1.668 MB / 3.754 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/8.57, allocations: 3.25 kB / 3.754 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.132e-05/8.57, allocations: 10.62 kB / 3.754 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001647/8.571, allocations: 270.7 kB / 3.754 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/8.573, allocations: 1.417 MB / 3.755 GB, free: 148.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/8.574, allocations: 130.6 kB / 3.755 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.284e-05/8.574, allocations: 36.91 kB / 3.756 GB, free: 148.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/8.574, allocations: 4.656 kB / 3.756 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001196/8.575, allocations: 0.7388 MB / 3.756 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/8.575, allocations: 3.375 kB / 3.756 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/8.575, allocations: 11.19 kB / 3.756 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/8.577, allocations: 251.8 kB / 3.757 GB, free: 148.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/8.578, allocations: 1.413 MB / 3.758 GB, free: 146.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/8.579, allocations: 136 kB / 3.758 GB, free: 146.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.218e-05/8.579, allocations: 27.31 kB / 3.758 GB, free: 146.8 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 () * 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.0008149/8.58, allocations: 374.8 kB / 3.758 GB, free: 146.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/8.58, allocations: 110.9 kB / 3.759 GB, free: 146.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/8.582, allocations: 0.848 MB / 3.759 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/8.582, allocations: 7.156 kB / 3.759 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.335e-06/8.582, allocations: 0 / 3.759 GB, free: 146.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/8.583, allocations: 0.7557 MB / 3.76 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/8.586, allocations: 2.014 MB / 3.762 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/8.586, allocations: 3.969 kB / 3.762 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007352/8.587, allocations: 151 kB / 3.762 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004402/8.587, allocations: 55.12 kB / 3.762 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.193e-05/8.587, allocations: 18.78 kB / 3.762 GB, free: 144.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/8.589, allocations: 1.386 MB / 3.764 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/8.589, allocations: 192 / 3.764 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/8.591, allocations: 1.432 MB / 3.765 GB, free: 142.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005151/8.591, allocations: 257.7 kB / 3.765 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/8.591, allocations: 18.88 kB / 3.765 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007102/8.592, allocations: 74.39 kB / 3.765 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.413e-05/8.592, allocations: 49.97 kB / 3.765 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/8.592, allocations: 30.06 kB / 3.765 GB, free: 142.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007832/8.593, allocations: 0.5915 MB / 3.766 GB, free: 142 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.5e-07/8.593, allocations: 0 / 3.766 GB, free: 142 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002314/8.595, allocations: 0.7085 MB / 3.767 GB, free: 141.8 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 () * 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.005184/8.601, allocations: 4.14 MB / 3.771 GB, free: 139.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003002/8.604, allocations: 1.192 MB / 3.772 GB, free: 139 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/8.604, allocations: 3.875 kB / 3.772 GB, free: 139 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008154/8.604, allocations: 478.9 kB / 3.772 GB, free: 138.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002501/8.607, allocations: 489.3 kB / 3.773 GB, free: 138.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/8.617, allocations: 9.422 MB / 3.782 GB, free: 132.3 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000634/8.618, allocations: 1.169 MB / 3.783 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00118/8.619, allocations: 264.8 kB / 3.783 GB, free: 131.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/8.62, allocations: 457.8 kB / 3.784 GB, free: 131.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.012e-06/8.62, allocations: 0 / 3.784 GB, free: 131.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08338/8.703, allocations: 54.07 MB / 3.837 GB, free: 87.28 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001745/8.704, allocations: 254.4 kB / 3.837 GB, free: 86.94 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.372/13.08, allocations: 8.062 kB / 3.837 GB, free: 86.93 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Examples_MixingVolumeMoistAir.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir.pipe 2>&1)