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.001046/0.001046, allocations: 109.2 kB / 16.41 MB, free: 5.984 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.001055/0.001055, allocations: 194.6 kB / 17.34 MB, free: 5.602 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.263/1.263, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.709/0.709, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.58 kB / 0.568 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1319, allocations: 77.92 MB / 0.6441 GB, free: 9.508 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5119/0.6439, allocations: 209.9 MB / 0.849 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01338/0.6573, allocations: 9.858 MB / 0.8587 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002027/0.6594, allocations: 61 kB / 0.8587 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002036/0.6615, allocations: 0.7911 MB / 0.8595 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.006821/0.6683, allocations: 2.913 MB / 0.8623 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003379/0.6717, allocations: 1.394 MB / 0.8637 GB, free: 10.42 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005237/0.6769, allocations: 4.079 MB / 0.8677 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001896/0.6789, allocations: 1.326 MB / 0.869 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002344/0.6812, allocations: 1.417 MB / 0.8704 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002472/0.6837, allocations: 1.235 MB / 0.8716 GB, free: 2.965 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002951/0.684, allocations: 144 kB / 0.8717 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00463/0.6887, allocations: 2.393 MB / 0.874 GB, free: 436 kB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0006721/0.6894, allocations: 0.6078 MB / 0.8746 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001089/0.6905, allocations: 0.8595 MB / 0.8755 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004792/0.6953, allocations: 3.014 MB / 0.8784 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.6953, allocations: 0 / 0.8784 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6953, allocations: 4 kB / 0.8784 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.693e-05/0.6953, allocations: 0 / 0.8784 GB, free: 11.92 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.003039/0.6984, allocations: 1.949 MB / 0.8803 GB, free: 9.914 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.6984, allocations: 8.625 kB / 0.8803 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000201/0.6986, allocations: 176.8 kB / 0.8805 GB, free: 9.723 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003167/0.7018, allocations: 494.5 kB / 0.881 GB, free: 9.238 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002068/0.7039, allocations: 1.136 MB / 0.8821 GB, free: 8.055 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.215e-05/0.704, allocations: 82.12 kB / 0.8822 GB, free: 7.973 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001654/0.7042, allocations: 108 kB / 0.8823 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/0.706, allocations: 1.157 MB / 0.8834 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/0.7061, allocations: 7.875 kB / 0.8834 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.7062, allocations: 44 kB / 0.8834 GB, free: 6.629 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.256e-05/0.7062, allocations: 42.14 kB / 0.8835 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001604/0.7078, allocations: 1.074 MB / 0.8845 GB, free: 5.504 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.00585/0.7137, allocations: 4.207 MB / 0.8886 GB, free: 1.02 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.7148, allocations: 0.7934 MB / 0.8894 GB, free: 220 kB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.7155, allocations: 478.3 kB / 0.8899 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003711/0.7159, allocations: 296.3 kB / 0.8901 GB, free: 15.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.7159, allocations: 47.56 kB / 0.8902 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=83): time 2.675e-06/0.7159, allocations: 0 / 0.8902 GB, free: 15.34 MB / 0.6544 GB Notification: Performance of matching and sorting (n=89): time 0.005401/0.7213, allocations: 2.866 MB / 0.893 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.7214, allocations: 68.34 kB / 0.8931 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001146/0.7225, allocations: 0.9755 MB / 0.894 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.091e-05/0.7226, allocations: 41.7 kB / 0.8941 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.723, allocations: 0.5481 MB / 0.8946 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.7233, allocations: 325.2 kB / 0.8949 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.7235, allocations: 166.6 kB / 0.8951 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.7237, allocations: 338 kB / 0.8954 GB, free: 9.895 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000497/0.7242, allocations: 337.8 kB / 0.8957 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006006/0.7248, allocations: 493.9 kB / 0.8962 GB, free: 9.047 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.005684/0.7305, allocations: 3.039 MB / 0.8991 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.7305, allocations: 0 / 0.8991 GB, free: 5.922 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001564/0.7321, allocations: 1.016 MB / 0.9001 GB, free: 4.902 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.7321, allocations: 18.03 kB / 0.9001 GB, free: 4.887 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.688e-06/0.7321, allocations: 4 kB / 0.9002 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.7321, allocations: 8 kB / 0.9002 GB, free: 4.875 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007197/0.7329, allocations: 179.7 kB / 0.9003 GB, free: 4.699 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.7329, allocations: 15.98 kB / 0.9003 GB, free: 4.684 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.7339, allocations: 27.95 kB / 0.9004 GB, free: 4.656 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/0.734, allocations: 35.94 kB / 0.9004 GB, free: 4.621 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.000556/0.7345, allocations: 381.5 kB / 0.9008 GB, free: 4.238 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002063/0.7348, allocations: 135.2 kB / 0.9009 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002442/0.735, allocations: 148.3 kB / 0.901 GB, free: 3.953 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/0.735, allocations: 8 kB / 0.901 GB, free: 3.945 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.735, allocations: 4 kB / 0.9011 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001413/0.7365, allocations: 1.094 MB / 0.9021 GB, free: 2.773 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00448/0.7409, allocations: 3.048 MB / 0.9051 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.741, allocations: 12.25 kB / 0.9051 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006988/0.7417, allocations: 163.7 kB / 0.9053 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000314/0.742, allocations: 93.66 kB / 0.9054 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.931e-05/0.7421, allocations: 35.98 kB / 0.9054 GB, free: 15.24 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002253/0.7443, allocations: 3.087 MB / 0.9084 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.7444, allocations: 15.94 kB / 0.9084 GB, free: 11.86 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002259/0.7466, allocations: 1.746 MB / 0.9101 GB, free: 9.977 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006222/0.7473, allocations: 308.2 kB / 0.9104 GB, free: 9.656 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001652/0.7474, allocations: 31.92 kB / 0.9104 GB, free: 9.625 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009137/0.7484, allocations: 42.8 kB / 0.9105 GB, free: 9.586 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001253/0.7485, allocations: 84.11 kB / 0.9106 GB, free: 9.504 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.132e-05/0.7486, allocations: 47.98 kB / 0.9106 GB, free: 9.457 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009106/0.7495, allocations: 0.6995 MB / 0.9113 GB, free: 8.75 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7495, allocations: 4 kB / 0.9113 GB, free: 8.746 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001106/0.7506, allocations: 375.9 kB / 0.9117 GB, free: 8.379 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.002843/0.7535, allocations: 2.425 MB / 0.914 GB, free: 5.812 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001333/0.7548, allocations: 0.8441 MB / 0.9149 GB, free: 4.965 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.7548, allocations: 4 kB / 0.9149 GB, free: 4.961 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0008601/0.7557, allocations: 0.6696 MB / 0.9155 GB, free: 4.266 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/0.7598, allocations: 0.9446 MB / 0.9164 GB, free: 3.348 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.7719, allocations: 9.706 MB / 0.9259 GB, free: 9.191 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007937/0.7728, allocations: 1.253 MB / 0.9271 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001165/0.7739, allocations: 347 kB / 0.9275 GB, free: 7.562 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/0.7745, allocations: 471.3 kB / 0.9279 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of SimCode: time 5.61e-07/0.7746, allocations: 0 / 0.9279 GB, free: 7.102 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06634/0.8409, allocations: 38.4 MB / 0.9654 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.67, allocations: 11.8 kB / 0.9654 GB, free: 1.156 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 IBPSA_latest_IBPSA_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)