Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",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.001011/0.001012, allocations: 106 kB / 16.4 MB, free: 6.504 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.0009555/0.0009554, allocations: 193.2 kB / 17.34 MB, free: 5.742 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7237/0.7237, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 68.22 kB / 0.568 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1287, allocations: 77.93 MB / 0.6441 GB, free: 9.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5109/0.6396, allocations: 209.9 MB / 0.849 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01385/0.6535, allocations: 9.851 MB / 0.8586 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.655, allocations: 63.34 kB / 0.8587 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001726/0.6568, allocations: 0.7716 MB / 0.8595 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006064/0.6629, allocations: 2.794 MB / 0.8622 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002932/0.6658, allocations: 1.405 MB / 0.8636 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004012/0.6699, allocations: 4.061 MB / 0.8675 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.6713, allocations: 1.333 MB / 0.8688 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.673, allocations: 1.362 MB / 0.8702 GB, free: 4.453 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.6748, allocations: 1.234 MB / 0.8714 GB, free: 3.223 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001812/0.675, allocations: 144 kB / 0.8715 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003931/0.679, allocations: 2.381 MB / 0.8738 GB, free: 0.6953 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005535/0.6795, allocations: 0.6116 MB / 0.8744 GB, free: 84 kB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008705/0.6804, allocations: 0.8556 MB / 0.8753 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003612/0.684, allocations: 2.996 MB / 0.8782 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.6841, allocations: 0 / 0.8782 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.152e-06/0.6841, allocations: 0 / 0.8782 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.654e-05/0.6841, allocations: 0 / 0.8782 GB, free: 12.21 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002765/0.6869, allocations: 1.904 MB / 0.88 GB, free: 10.25 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.6869, allocations: 12.62 kB / 0.8801 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001972/0.6871, allocations: 164.8 kB / 0.8802 GB, free: 10.07 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002979/0.6901, allocations: 497.6 kB / 0.8807 GB, free: 9.582 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001824/0.6919, allocations: 1.124 MB / 0.8818 GB, free: 8.41 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.166e-05/0.692, allocations: 82.14 kB / 0.8819 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.6922, allocations: 115.9 kB / 0.882 GB, free: 8.215 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00175/0.6939, allocations: 1.149 MB / 0.8831 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.694, allocations: 3.938 kB / 0.8831 GB, free: 7.031 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/0.6941, allocations: 51.98 kB / 0.8831 GB, free: 6.98 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-05/0.6942, allocations: 42.12 kB / 0.8832 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.6958, allocations: 1.078 MB / 0.8842 GB, free: 5.852 MB / 0.6387 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.005627/0.7014, allocations: 4.19 MB / 0.8883 GB, free: 1.383 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001137/0.7026, allocations: 0.7894 MB / 0.8891 GB, free: 0.582 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006232/0.7032, allocations: 486.2 kB / 0.8896 GB, free: 112 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003953/0.7036, allocations: 292.3 kB / 0.8898 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.7036, allocations: 43.56 kB / 0.8899 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=83): time 2.144e-06/0.7037, allocations: 4 kB / 0.8899 GB, free: 15.71 MB / 0.6544 GB Notification: Performance of matching and sorting (n=89): time 0.00511/0.7088, allocations: 2.848 MB / 0.8927 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.626e-05/0.7088, allocations: 60.41 kB / 0.8927 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.7099, allocations: 0.9715 MB / 0.8937 GB, free: 11.71 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 7.222e-05/0.71, allocations: 45.7 kB / 0.8937 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003895/0.7104, allocations: 0.5396 MB / 0.8942 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.7107, allocations: 311.4 kB / 0.8945 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002204/0.7109, allocations: 158.6 kB / 0.8947 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.711, allocations: 341.9 kB / 0.895 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005/0.7115, allocations: 341.8 kB / 0.8953 GB, free: 9.973 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006254/0.7122, allocations: 481.9 kB / 0.8958 GB, free: 9.465 MB / 0.6544 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start (bou.p = volMFactor.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol1.dynBal.medium.p = vol1.dynBal.p_start (bou.p = vol1.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.005891/0.7181, allocations: 3.043 MB / 0.8988 GB, free: 6.336 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7181, allocations: 4 kB / 0.8988 GB, free: 6.332 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001462/0.7195, allocations: 1.015 MB / 0.8998 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.7196, allocations: 4 kB / 0.8998 GB, free: 5.309 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.7196, allocations: 8.312 kB / 0.8998 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.7196, allocations: 12 kB / 0.8998 GB, free: 5.289 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007379/0.7204, allocations: 183.7 kB / 0.9 GB, free: 5.109 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.7204, allocations: 4 kB / 0.9 GB, free: 5.105 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008777/0.7213, allocations: 27.98 kB / 0.9 GB, free: 5.078 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.523e-05/0.7213, allocations: 36 kB / 0.9 GB, free: 5.043 MB / 0.6544 GB Warning: The initial conditions are over specified. The following 3 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start volMFactor.dynBal.medium.p = volMFactor.dynBal.p_start vol1.dynBal.medium.p = vol1.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (108): * Single equations (assignments): 108 * 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.0004832/0.7218, allocations: 377.5 kB / 0.9004 GB, free: 4.664 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001808/0.722, allocations: 130.4 kB / 0.9005 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.7223, allocations: 156.3 kB / 0.9007 GB, free: 4.375 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/0.7223, allocations: 8.047 kB / 0.9007 GB, free: 4.367 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.101e-05/0.7224, allocations: 3.984 kB / 0.9007 GB, free: 4.363 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001435/0.7238, allocations: 1.094 MB / 0.9018 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.7282, allocations: 3.051 MB / 0.9047 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.118e-06/0.7283, allocations: 8 kB / 0.9047 GB, free: 15.96 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006726/0.7289, allocations: 163.7 kB / 0.9049 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003073/0.7293, allocations: 97.69 kB / 0.905 GB, free: 15.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.599e-05/0.7293, allocations: 28 kB / 0.905 GB, free: 15.67 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.7315, allocations: 3.086 MB / 0.908 GB, free: 12.3 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.7315, allocations: 21.48 kB / 0.908 GB, free: 12.29 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.7336, allocations: 1.733 MB / 0.9097 GB, free: 10.41 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004743/0.7341, allocations: 311.5 kB / 0.91 GB, free: 10.09 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.7343, allocations: 36.06 kB / 0.9101 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008609/0.7351, allocations: 37.11 kB / 0.9101 GB, free: 10.02 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/0.7353, allocations: 88.09 kB / 0.9102 GB, free: 9.93 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.7354, allocations: 47.98 kB / 0.9102 GB, free: 9.883 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000816/0.7362, allocations: 0.6995 MB / 0.9109 GB, free: 9.176 MB / 0.67 GB Notification: Performance of sort global known variables: time 2e-07/0.7362, allocations: 3.938 kB / 0.9109 GB, free: 9.172 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009488/0.7371, allocations: 368 kB / 0.9113 GB, free: 8.812 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 39 * Number of states: 6 (vol.dynBal.medium.Xi[1],vol.dynBal.U,volMFactor.dynBal.medium.Xi[1],volMFactor.dynBal.U,vol1.dynBal.medium.Xi[1],vol1.dynBal.U) * 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 (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002706/0.7398, allocations: 2.411 MB / 0.9136 GB, free: 6.262 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001231/0.7411, allocations: 0.848 MB / 0.9145 GB, free: 5.41 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.7411, allocations: 4.062 kB / 0.9145 GB, free: 5.406 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008622/0.742, allocations: 0.6661 MB / 0.9151 GB, free: 4.715 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003722/0.7457, allocations: 0.9335 MB / 0.916 GB, free: 3.805 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01151/0.7572, allocations: 9.674 MB / 0.9255 GB, free: 9.684 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007572/0.758, allocations: 1.257 MB / 0.9267 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0009629/0.759, allocations: 347 kB / 0.927 GB, free: 8.051 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005533/0.7595, allocations: 471.3 kB / 0.9275 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of SimCode: time 6.31e-07/0.7595, allocations: 0 / 0.9275 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/0.8778, allocations: 38.4 MB / 0.965 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.45, allocations: 8.812 kB / 0.965 GB, free: 1.641 MB / 0.7169 GB (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)