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.001078/0.001078, allocations: 101.2 kB / 16.27 MB, free: 5.969 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.001093/0.001093, allocations: 194.2 kB / 17.2 MB, free: 5.598 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.268/1.268, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7254/0.7254, allocations: 122.8 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001291, allocations: 59.91 kB / 0.4912 GB, free: 7.332 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.2892, allocations: 77.92 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4517/0.7409, allocations: 209.9 MB / 0.7722 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01157/0.7525, allocations: 9.869 MB / 0.7819 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001248/0.7538, allocations: 60.06 kB / 0.7819 GB, free: 1.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.7553, allocations: 0.7748 MB / 0.7827 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0053/0.7607, allocations: 2.809 MB / 0.7854 GB, free: 1.473 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.7634, allocations: 1.366 MB / 0.7867 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003469/0.7669, allocations: 4.062 MB / 0.7907 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00125/0.7682, allocations: 1.333 MB / 0.792 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001504/0.7697, allocations: 1.354 MB / 0.7933 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001595/0.7713, allocations: 1.227 MB / 0.7945 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001899/0.7715, allocations: 144.1 kB / 0.7947 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003741/0.7753, allocations: 2.383 MB / 0.797 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000458/0.7757, allocations: 0.6065 MB / 0.7976 GB, free: 1.238 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007226/0.7765, allocations: 0.8596 MB / 0.7984 GB, free: 1.078 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003004/0.7795, allocations: 2.976 MB / 0.8013 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.7795, allocations: 0.7812 kB / 0.8013 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.022e-06/0.7795, allocations: 0 / 0.8013 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.845e-05/0.7795, allocations: 0.875 kB / 0.8013 GB, free: 0.7461 MB / 0.5762 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.002555/0.7821, allocations: 1.896 MB / 0.8032 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.7821, allocations: 8.188 kB / 0.8032 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002104/0.7823, allocations: 174.6 kB / 0.8034 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002926/0.7853, allocations: 487.7 kB / 0.8038 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.7867, allocations: 1.062 MB / 0.8049 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.631e-05/0.7868, allocations: 86.05 kB / 0.8049 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.7869, allocations: 115.3 kB / 0.8051 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/0.7885, allocations: 1.152 MB / 0.8062 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/0.7886, allocations: 1.125 kB / 0.8062 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.7887, allocations: 47.28 kB / 0.8062 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.871e-05/0.7887, allocations: 44.39 kB / 0.8063 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.7902, allocations: 1.078 MB / 0.8073 GB, free: 15.21 MB / 0.5919 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.00486/0.795, allocations: 4.232 MB / 0.8115 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.7961, allocations: 0.795 MB / 0.8122 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/0.7966, allocations: 482.4 kB / 0.8127 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003764/0.797, allocations: 290.3 kB / 0.813 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.797, allocations: 48.67 kB / 0.813 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 2.184e-06/0.797, allocations: 1.125 kB / 0.813 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of matching and sorting (n=89): time 0.004861/0.8019, allocations: 2.851 MB / 0.8158 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.802, allocations: 61.44 kB / 0.8159 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009633/0.8029, allocations: 0.9759 MB / 0.8168 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.737e-05/0.803, allocations: 50.64 kB / 0.8169 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003399/0.8034, allocations: 0.5397 MB / 0.8174 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.8036, allocations: 312.2 kB / 0.8177 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.8038, allocations: 161.8 kB / 0.8178 GB, free: 11.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8039, allocations: 342.7 kB / 0.8182 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004491/0.8044, allocations: 339.8 kB / 0.8185 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005458/0.8049, allocations: 488.1 kB / 0.819 GB, free: 11.35 MB / 0.5919 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.005653/0.8106, allocations: 3.054 MB / 0.8219 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.8106, allocations: 0 / 0.8219 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001374/0.812, allocations: 1.008 MB / 0.8229 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.812, allocations: 7.25 kB / 0.8229 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.812, allocations: 4.906 kB / 0.8229 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.621e-05/0.812, allocations: 7 kB / 0.8229 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006931/0.8127, allocations: 180.5 kB / 0.8231 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.8128, allocations: 11 kB / 0.8231 GB, free: 9.664 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009202/0.8137, allocations: 30.98 kB / 0.8232 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.244e-05/0.8138, allocations: 34.53 kB / 0.8232 GB, free: 9.633 MB / 0.5919 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.0004891/0.8143, allocations: 384.8 kB / 0.8236 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.8145, allocations: 122 kB / 0.8237 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002524/0.8147, allocations: 149.7 kB / 0.8238 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.8147, allocations: 8.031 kB / 0.8238 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.8147, allocations: 0 / 0.8238 GB, free: 9.191 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001375/0.8161, allocations: 1.095 MB / 0.8249 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004115/0.8202, allocations: 3.041 MB / 0.8279 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.115e-06/0.8203, allocations: 7.688 kB / 0.8279 GB, free: 6.402 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006613/0.8209, allocations: 166.8 kB / 0.828 GB, free: 6.375 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003075/0.8213, allocations: 101.1 kB / 0.8281 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.69e-05/0.8213, allocations: 32.16 kB / 0.8282 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002196/0.8235, allocations: 3.1 MB / 0.8312 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.8235, allocations: 13.5 kB / 0.8312 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002062/0.8256, allocations: 1.746 MB / 0.8329 GB, free: 1.945 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.8261, allocations: 303.5 kB / 0.8332 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.8262, allocations: 28 kB / 0.8332 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008959/0.8271, allocations: 40.91 kB / 0.8333 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.8273, allocations: 86.52 kB / 0.8333 GB, free: 1.484 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.66e-05/0.8273, allocations: 43.98 kB / 0.8334 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0008004/0.8281, allocations: 0.6995 MB / 0.8341 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8281, allocations: 0 / 0.8341 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009652/0.8291, allocations: 368 kB / 0.8344 GB, free: 384 kB / 0.5919 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.002719/0.8318, allocations: 2.429 MB / 0.8368 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001448/0.8333, allocations: 0.9564 MB / 0.8377 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.237e-06/0.8333, allocations: 4 kB / 0.8377 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008502/0.8342, allocations: 0.6685 MB / 0.8384 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/0.8381, allocations: 0.9234 MB / 0.8393 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/0.8498, allocations: 10.27 MB / 0.8493 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007947/0.8506, allocations: 1.257 MB / 0.8505 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001173/0.8518, allocations: 339 kB / 0.8509 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005764/0.8524, allocations: 475.3 kB / 0.8513 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.8524, allocations: 0 / 0.8513 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06636/0.9188, allocations: 38.17 MB / 0.8886 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.485/10.4, allocations: 26.77 kB / 0.8886 GB, free: 8.816 MB / 0.6544 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)