Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,fileNamePrefix="Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization",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.001436/0.001436, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001767/0.001767, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.363/1.363, allocations: 205.1 MB / 222.4 MB, free: 4.617 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.68/1.68, allocations: 292.3 MB / 0.5489 GB, free: 12.8 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.001415/0.001415, allocations: 65.58 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2174/0.2188, allocations: 114.5 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.5892/0.808, allocations: 187.8 MB / 0.9669 GB, free: 248 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.8207, allocations: 10.71 MB / 0.9774 GB, free: 15.26 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001319/0.8221, allocations: 42.53 kB / 0.9774 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/0.8234, allocations: 0.4945 MB / 0.9779 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005872/0.8293, allocations: 2.57 MB / 0.9804 GB, free: 14 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005943/0.8352, allocations: 2.449 MB / 0.9828 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003393/0.8386, allocations: 2.755 MB / 0.9855 GB, free: 11.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000963/0.8396, allocations: 0.7794 MB / 0.9863 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.8411, allocations: 0.9856 MB / 0.9872 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002159/0.8432, allocations: 1.061 MB / 0.9883 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002488/0.8435, allocations: 99.5 kB / 0.9883 GB, free: 10.01 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006743/0.8503, allocations: 2.992 MB / 0.9913 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007201/0.851, allocations: 439.4 kB / 0.9917 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008937/0.8519, allocations: 0.5758 MB / 0.9922 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006713/0.8586, allocations: 2.934 MB / 0.9951 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.8587, allocations: 0 / 0.9951 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.496e-06/0.8587, allocations: 3.984 kB / 0.9951 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.808e-05/0.8587, allocations: 4 kB / 0.9951 GB, free: 6.293 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.003594/0.8623, allocations: 1.667 MB / 0.9967 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8624, allocations: 13.34 kB / 0.9968 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001586/0.8625, allocations: 117 kB / 0.9969 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.8643, allocations: 289.6 kB / 0.9972 GB, free: 4.832 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001241/0.8656, allocations: 0.7713 MB / 0.9979 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/0.8657, allocations: 56.11 kB / 0.998 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.8658, allocations: 63.72 kB / 0.998 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.8673, allocations: 0.9951 MB / 0.999 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.977e-05/0.8673, allocations: 0 / 0.999 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.256e-05/0.8674, allocations: 30.75 kB / 0.999 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.222e-05/0.8675, allocations: 76.2 kB / 0.9991 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.869, allocations: 1.007 MB / 1 GB, free: 3.082 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.006262/0.8753, allocations: 3.589 MB / 1.004 GB, free: 320 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.8763, allocations: 0.6549 MB / 1.004 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005638/0.8769, allocations: 385.5 kB / 1.005 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/0.8772, allocations: 197 kB / 1.005 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.182e-05/0.8773, allocations: 41.88 kB / 1.005 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=62): time 3.357e-06/0.8773, allocations: 0 / 1.005 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62): time 0.002092/0.8794, allocations: 1.02 MB / 1.006 GB, free: 15.01 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.8795, allocations: 115.2 kB / 1.006 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.8805, allocations: 0.8006 MB / 1.007 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.8806, allocations: 36.2 kB / 1.007 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003512/0.881, allocations: 430.8 kB / 1.007 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/0.8812, allocations: 221.3 kB / 1.007 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002349/0.8815, allocations: 140.4 kB / 1.007 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001264/0.8816, allocations: 341.2 kB / 1.008 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005179/0.8821, allocations: 336.1 kB / 1.008 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006084/0.8827, allocations: 471.1 kB / 1.009 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.8838, allocations: 0.7665 MB / 1.009 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.8838, allocations: 0 / 1.009 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001496/0.8853, allocations: 0.9315 MB / 1.01 GB, free: 12 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.8853, allocations: 4.406 kB / 1.01 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.8854, allocations: 3.031 kB / 1.01 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.8854, allocations: 5.219 kB / 1.01 GB, free: 12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/0.8861, allocations: 145.8 kB / 1.01 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.8861, allocations: 5.219 kB / 1.01 GB, free: 11.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000791/0.8869, allocations: 89.69 kB / 1.01 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/0.887, allocations: 30.47 kB / 1.011 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007448/0.8877, allocations: 0.5357 MB / 1.011 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005499/0.8883, allocations: 461 kB / 1.011 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009622/0.8892, allocations: 0.7364 MB / 1.012 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.777e-06/0.8892, allocations: 4.094 kB / 1.012 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001312/0.8906, allocations: 0.8906 MB / 1.013 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.8906, allocations: 11.47 kB / 1.013 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.8906, allocations: 2.719 kB / 1.013 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.825e-06/0.8906, allocations: 5.625 kB / 1.013 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006115/0.8912, allocations: 147.4 kB / 1.013 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.8912, allocations: 5.094 kB / 1.013 GB, free: 10.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007615/0.892, allocations: 63.69 kB / 1.013 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.8921, allocations: 26.41 kB / 1.013 GB, free: 10.25 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002106/0.8923, allocations: 222.1 kB / 1.014 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.8925, allocations: 95.72 kB / 1.014 GB, free: 9.988 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/0.8938, allocations: 0.8068 MB / 1.014 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.8938, allocations: 4.938 kB / 1.014 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.8938, allocations: 0 / 1.014 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009222/0.8947, allocations: 0.7457 MB / 1.015 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.8977, allocations: 2.092 MB / 1.017 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.8977, allocations: 5.75 kB / 1.017 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006194/0.8983, allocations: 131.9 kB / 1.017 GB, free: 7.605 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.03e-05/0.8983, allocations: 11.61 kB / 1.017 GB, free: 7.602 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.696e-05/0.8984, allocations: 15.5 kB / 1.017 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.8984, allocations: 7.375 kB / 1.017 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.8984, allocations: 2.688 kB / 1.017 GB, free: 7.594 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/0.9001, allocations: 1.4 MB / 1.019 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/0.9005, allocations: 261.4 kB / 1.019 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001664/0.9007, allocations: 14.88 kB / 1.019 GB, free: 6.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006082/0.9013, allocations: 23.36 kB / 1.019 GB, free: 6.469 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.328e-05/0.9014, allocations: 48.36 kB / 1.019 GB, free: 6.441 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/0.9015, allocations: 25.39 kB / 1.019 GB, free: 6.434 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006599/0.9021, allocations: 0.5514 MB / 1.02 GB, free: 6.121 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9022, allocations: 6.031 kB / 1.02 GB, free: 6.117 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001657/0.9038, allocations: 0.7447 MB / 1.02 GB, free: 5.949 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * 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 (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003176/0.907, allocations: 2.385 MB / 1.023 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002134/0.9091, allocations: 1.316 MB / 1.024 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.9092, allocations: 8.062 kB / 1.024 GB, free: 2.977 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004943/0.9097, allocations: 366.1 kB / 1.024 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002369/0.912, allocations: 0.5364 MB / 1.025 GB, free: 2.098 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.9232, allocations: 8.216 MB / 1.033 GB, free: 9.562 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/0.9239, allocations: 1.085 MB / 1.034 GB, free: 8.449 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001342/0.9252, allocations: 413.1 kB / 1.034 GB, free: 8.047 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004769/0.9257, allocations: 331.3 kB / 1.035 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of SimCode: time 8.42e-07/0.9257, allocations: 0 / 1.035 GB, free: 7.723 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.366/3.291, allocations: 31.14 MB / 1.065 GB, free: 8.938 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.75/15.04, allocations: 5.125 kB / 1.065 GB, free: 8.938 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization_fmu --startTime=0 --stopTime=0.001 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeInitialization.fmu > Buildings_8_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)