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.0009196/0.0009196, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009044/0.0009044, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.672/1.672, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.776/1.776, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005447/0.0005447, allocations: 13.91 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3186, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.7687/1.087, allocations: 156.6 MB / 0.9402 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01682/1.104, allocations: 9.974 MB / 0.9499 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001995/1.106, allocations: 39.53 kB / 0.95 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001649/1.108, allocations: 0.4958 MB / 0.9504 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008528/1.116, allocations: 1.961 MB / 0.9524 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007648/1.124, allocations: 2.149 MB / 0.9545 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003659/1.128, allocations: 1.523 MB / 0.9559 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/1.129, allocations: 0.5883 MB / 0.9565 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001907/1.131, allocations: 0.7809 MB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/1.132, allocations: 0.6892 MB / 0.958 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001406/1.132, allocations: 43.56 kB / 0.958 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005565/1.138, allocations: 1.953 MB / 0.9599 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006323/1.139, allocations: 349.2 kB / 0.9602 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008492/1.14, allocations: 233.7 kB / 0.9605 GB, free: 21.11 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004168/1.144, allocations: 1.9 MB / 0.9623 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.144, allocations: 0 / 0.9623 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.454e-06/1.144, allocations: 0 / 0.9623 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.914e-05/1.144, allocations: 0 / 0.9623 GB, free: 20.95 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.003738/1.147, allocations: 1.452 MB / 0.9637 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.079e-05/1.148, allocations: 8.344 kB / 0.9637 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001928/1.148, allocations: 117.8 kB / 0.9638 GB, free: 20.07 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001898/1.15, allocations: 295.4 kB / 0.9641 GB, free: 20.01 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/1.151, allocations: 0.7425 MB / 0.9649 GB, free: 19.72 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.587e-05/1.151, allocations: 51.22 kB / 0.9649 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/1.151, allocations: 68.7 kB / 0.965 GB, free: 19.71 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001748/1.153, allocations: 0.9919 MB / 0.9659 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/1.153, allocations: 0 / 0.9659 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.322e-05/1.153, allocations: 29.38 kB / 0.966 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/1.153, allocations: 72.19 kB / 0.966 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/1.155, allocations: 1.021 MB / 0.967 GB, free: 19.61 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.005899/1.161, allocations: 3.569 MB / 0.9705 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000913/1.162, allocations: 0.6544 MB / 0.9712 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.827e-05/1.162, allocations: 24.77 kB / 0.9712 GB, free: 18.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/1.162, allocations: 41.27 kB / 0.9712 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=62): time 2.354e-06/1.162, allocations: 1.781 kB / 0.9712 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62): time 0.00191/1.164, allocations: 1.024 MB / 0.9722 GB, free: 18.1 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/1.164, allocations: 112.4 kB / 0.9723 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009584/1.165, allocations: 0.7961 MB / 0.9731 GB, free: 17.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.028e-05/1.165, allocations: 40.77 kB / 0.9731 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002759/1.165, allocations: 415.8 kB / 0.9735 GB, free: 17.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001744/1.165, allocations: 226.2 kB / 0.9738 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-05/1.165, allocations: 11.31 kB / 0.9738 GB, free: 17.32 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.166, allocations: 334.8 kB / 0.9741 GB, free: 17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004522/1.166, allocations: 319.7 kB / 0.9744 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00054/1.167, allocations: 466.7 kB / 0.9748 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005542/1.167, allocations: 404 kB / 0.9752 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.167, allocations: 0 / 0.9752 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00133/1.169, allocations: 0.9043 MB / 0.9761 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003963/1.169, allocations: 0.8777 MB / 0.977 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/1.169, allocations: 7.172 kB / 0.977 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/1.169, allocations: 12.89 kB / 0.977 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006903/1.17, allocations: 146.9 kB / 0.9771 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.347e-05/1.17, allocations: 5.906 kB / 0.9771 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009773/1.171, allocations: 117.9 kB / 0.9772 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.49e-05/1.171, allocations: 27.97 kB / 0.9773 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/1.171, allocations: 6.062 kB / 0.9773 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001131/1.172, allocations: 0.7668 MB / 0.978 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/1.172, allocations: 3 kB / 0.978 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.955e-06/1.172, allocations: 6.531 kB / 0.978 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/1.173, allocations: 150.6 kB / 0.9782 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/1.173, allocations: 5.312 kB / 0.9782 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007369/1.173, allocations: 95.89 kB / 0.9783 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/1.173, allocations: 32.22 kB / 0.9783 GB, free: 15.36 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005412/1.174, allocations: 371.1 kB / 0.9787 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/1.174, allocations: 93.64 kB / 0.9787 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/1.175, allocations: 0.8038 MB / 0.9795 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/1.175, allocations: 7.656 kB / 0.9795 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.175, allocations: 0 / 0.9795 GB, free: 14.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009333/1.176, allocations: 0.738 MB / 0.9803 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/1.179, allocations: 2.097 MB / 0.9823 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.179, allocations: 3.062 kB / 0.9823 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006219/1.18, allocations: 134.6 kB / 0.9824 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/1.18, allocations: 7.719 kB / 0.9824 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.549e-05/1.18, allocations: 15.06 kB / 0.9825 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.959e-06/1.18, allocations: 17.66 kB / 0.9825 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/1.18, allocations: 5.75 kB / 0.9825 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001852/1.182, allocations: 1.555 MB / 0.984 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004932/1.182, allocations: 260.8 kB / 0.9842 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001248/1.183, allocations: 20.19 kB / 0.9843 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006273/1.183, allocations: 49.34 kB / 0.9843 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.491e-05/1.183, allocations: 46.09 kB / 0.9844 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.601e-05/1.183, allocations: 25.42 kB / 0.9844 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007221/1.184, allocations: 0.5464 MB / 0.9849 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/1.184, allocations: 4 kB / 0.9849 GB, free: 12.74 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002166/1.186, allocations: 0.7436 MB / 0.9856 GB, free: 12.61 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003956/1.19, allocations: 3.508 MB / 0.9891 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001902/1.192, allocations: 1.16 MB / 0.9902 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.192, allocations: 0 / 0.9902 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000487/1.193, allocations: 372.7 kB / 0.9906 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/1.195, allocations: 0.5025 MB / 0.9911 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005168/1.2, allocations: 4.467 MB / 0.9954 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006614/1.201, allocations: 1.096 MB / 0.9965 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001412/1.202, allocations: 411.7 kB / 0.9969 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000425/1.203, allocations: 337.7 kB / 0.9972 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of SimCode: time 7.31e-07/1.203, allocations: 0 / 0.9972 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3807/1.584, allocations: 29.77 MB / 1.026 GB, free: 14.43 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/1.584, allocations: 244.5 kB / 1.027 GB, free: 14.19 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.629/4.213, allocations: 64 / 1.027 GB, free: 14.19 MB / 0.7637 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/linux/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) Environment - environmentSimulation: