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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008493/0.0008492, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00516/0.00516, allocations: 169.8 kB / 16.27 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.327/1.327, allocations: 205.4 MB / 222.4 MB, free: 5.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.672/1.672, allocations: 292.7 MB / 0.5502 GB, free: 14.43 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005565/0.0005566, allocations: 12.34 kB / 0.6744 GB, free: 26.02 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2217, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Examples.MixingVolumeMoistAir): time 0.6352/0.857, allocations: 194 MB / 0.9774 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.8697, allocations: 10.28 MB / 0.9874 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.8714, allocations: 51.61 kB / 0.9875 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001316/0.8727, allocations: 474 kB / 0.9879 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.004633/0.8774, allocations: 1.838 MB / 0.9897 GB, free: 12.06 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003139/0.8805, allocations: 1.235 MB / 0.9909 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004101/0.8846, allocations: 3.649 MB / 0.9945 GB, free: 9.438 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.8859, allocations: 0.9869 MB / 0.9955 GB, free: 8.832 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003676/0.8896, allocations: 1.465 MB / 0.9969 GB, free: 8.207 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001413/0.891, allocations: 0.913 MB / 0.9978 GB, free: 7.906 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.8911, allocations: 52.77 kB / 0.9978 GB, free: 7.902 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003952/0.8951, allocations: 2.375 MB / 1 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.8954, allocations: 348.3 kB / 1 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005763/0.896, allocations: 0.634 MB / 1.001 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003026/0.899, allocations: 2.487 MB / 1.004 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.899, allocations: 7 kB / 1.004 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.899, allocations: 0 / 1.004 GB, free: 4.668 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.314e-05/0.8991, allocations: 0 / 1.004 GB, free: 4.668 MB / 0.7325 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.002474/0.9015, allocations: 1.563 MB / 1.005 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.9016, allocations: 7.906 kB / 1.005 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001693/0.9018, allocations: 159.8 kB / 1.005 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002064/0.9038, allocations: 366.6 kB / 1.006 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.9053, allocations: 0.9136 MB / 1.006 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.593e-05/0.9053, allocations: 74.72 kB / 1.007 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.9055, allocations: 113.3 kB / 1.007 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00165/0.9071, allocations: 1.099 MB / 1.008 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.9072, allocations: 3.062 kB / 1.008 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.632e-05/0.9073, allocations: 42.94 kB / 1.008 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.93e-05/0.9073, allocations: 35.06 kB / 1.008 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001351/0.9087, allocations: 0.8107 MB / 1.009 GB, free: 1.289 MB / 0.7325 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.005556/0.9142, allocations: 5.076 MB / 1.014 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/0.9154, allocations: 0.7059 MB / 1.014 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005294/0.9159, allocations: 355.2 kB / 1.015 GB, free: 12.35 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006041/0.9165, allocations: 327.1 kB / 1.015 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.9166, allocations: 46.12 kB / 1.015 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=70): time 2.746e-06/0.9166, allocations: 0 / 1.015 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=70): time 0.001852/0.9185, allocations: 0.9377 MB / 1.016 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.132e-05/0.9185, allocations: 60.66 kB / 1.016 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009501/0.9195, allocations: 0.8782 MB / 1.017 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.392e-05/0.9195, allocations: 38.89 kB / 1.017 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003848/0.9199, allocations: 0.5505 MB / 1.017 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002462/0.9202, allocations: 253.9 kB / 1.018 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.738e-05/0.9203, allocations: 74.34 kB / 1.018 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.9204, allocations: 338.6 kB / 1.018 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.9208, allocations: 246 kB / 1.018 GB, free: 9.711 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005593/0.9214, allocations: 445.2 kB / 1.019 GB, free: 9.363 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00103/0.9225, allocations: 0.7106 MB / 1.019 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9225, allocations: 0 / 1.019 GB, free: 8.879 MB / 0.7481 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001286/0.9238, allocations: 0.8366 MB / 1.02 GB, free: 8.453 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002302/0.924, allocations: 228.9 kB / 1.02 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.924, allocations: 5.125 kB / 1.02 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.924, allocations: 8.469 kB / 1.02 GB, free: 8.172 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.9255, allocations: 256.7 kB / 1.021 GB, free: 8.105 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001288/0.9268, allocations: 1.4 MB / 1.022 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008117/0.9276, allocations: 116 kB / 1.022 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.684e-05/0.9277, allocations: 32.62 kB / 1.022 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.9277, allocations: 5.875 kB / 1.022 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001157/0.9289, allocations: 0.708 MB / 1.023 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.9289, allocations: 5.094 kB / 1.023 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.713e-06/0.9289, allocations: 12.66 kB / 1.023 GB, free: 6.23 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001392/0.9303, allocations: 247 kB / 1.023 GB, free: 6.172 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.9315, allocations: 1.397 MB / 1.024 GB, free: 4.723 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008053/0.9323, allocations: 111.1 kB / 1.025 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.9324, allocations: 29.47 kB / 1.025 GB, free: 4.648 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005027/0.9329, allocations: 368.8 kB / 1.025 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.933, allocations: 113.4 kB / 1.025 GB, free: 4.289 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.9346, allocations: 0.7898 MB / 1.026 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.181e-06/0.9346, allocations: 8.844 kB / 1.026 GB, free: 3.832 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.185e-06/0.9347, allocations: 4 kB / 1.026 GB, free: 3.828 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/0.9359, allocations: 0.6982 MB / 1.027 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002972/0.9389, allocations: 1.929 MB / 1.028 GB, free: 2.094 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.9389, allocations: 11.03 kB / 1.028 GB, free: 2.086 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006701/0.9396, allocations: 148.6 kB / 1.029 GB, free: 2.051 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003881/0.94, allocations: 37.48 kB / 1.029 GB, free: 2.035 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.309e-05/0.94, allocations: 27.92 kB / 1.029 GB, free: 2.016 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.9413, allocations: 1.359 MB / 1.03 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.9413, allocations: 3.938 kB / 1.03 GB, free: 0.6133 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002069/0.9433, allocations: 1.259 MB / 1.031 GB, free: 15.87 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.9437, allocations: 260 kB / 1.031 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.9438, allocations: 13.78 kB / 1.031 GB, free: 15.64 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/0.9444, allocations: 54.61 kB / 1.031 GB, free: 15.61 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.9445, allocations: 51.03 kB / 1.032 GB, free: 15.58 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.511e-05/0.9446, allocations: 24.33 kB / 1.032 GB, free: 15.57 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006606/0.9453, allocations: 0.5888 MB / 1.032 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9453, allocations: 2.906 kB / 1.032 GB, free: 15.23 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001187/0.9465, allocations: 0.533 MB / 1.033 GB, free: 15.11 MB / 0.7637 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002582/0.949, allocations: 1.908 MB / 1.035 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003257/0.9523, allocations: 1.186 MB / 1.036 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.9523, allocations: 192 / 1.036 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.000704/0.953, allocations: 450.2 kB / 1.036 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.9556, allocations: 0.5013 MB / 1.037 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01209/0.9677, allocations: 8.989 MB / 1.045 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006812/0.9684, allocations: 1.14 MB / 1.046 GB, free: 2.367 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00102/0.9694, allocations: 272.8 kB / 1.047 GB, free: 2.098 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005661/0.97, allocations: 451.3 kB / 1.047 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of SimCode: time 5.31e-07/0.97, allocations: 0 / 1.047 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7043/1.674, allocations: 25.97 MB / 1.073 GB, free: 8.094 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003782/1.675, allocations: 284.4 kB / 1.073 GB, free: 7.711 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.431/4.106, allocations: 0 / 1.073 GB, free: 7.711 MB / 0.795 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/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)