Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,fileNamePrefix="BuildingSystems_BuildingSystems_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.0009882/0.0009882, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001007/0.001007, allocations: 196.1 kB / 16.26 MB, free: 6.621 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.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001998/0.001998, allocations: 283 kB / 290.4 MB, free: 2.156 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9178/0.9178, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 94 kB / 0.5948 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.134, allocations: 86.98 MB / 0.6797 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4549/0.5889, allocations: 207.2 MB / 0.8821 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0132/0.6021, allocations: 9.809 MB / 0.8917 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001545/0.6037, allocations: 53.34 kB / 0.8917 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.6053, allocations: 0.6839 MB / 0.8924 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00575/0.6111, allocations: 2.645 MB / 0.895 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.614, allocations: 1.272 MB / 0.8962 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003927/0.6179, allocations: 4.06 MB / 0.9002 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.6193, allocations: 1.299 MB / 0.9014 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.621, allocations: 1.367 MB / 0.9028 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002054/0.623, allocations: 1.319 MB / 0.9041 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.6232, allocations: 144 kB / 0.9042 GB, free: 1.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003893/0.6271, allocations: 2.505 MB / 0.9066 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000519/0.6277, allocations: 0.6078 MB / 0.9072 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007823/0.6285, allocations: 0.8595 MB / 0.9081 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003383/0.6318, allocations: 3.159 MB / 0.9112 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6319, allocations: 0 / 0.9112 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6319, allocations: 0 / 0.9112 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.528e-05/0.6319, allocations: 0 / 0.9112 GB, free: 10.74 MB / 0.6231 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.002615/0.6345, allocations: 1.905 MB / 0.913 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.6346, allocations: 12.03 kB / 0.913 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001865/0.6347, allocations: 168.8 kB / 0.9132 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003072/0.6378, allocations: 481.7 kB / 0.9136 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001545/0.6394, allocations: 1.065 MB / 0.9147 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/0.6395, allocations: 82.14 kB / 0.9148 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001502/0.6396, allocations: 112 kB / 0.9149 GB, free: 6.812 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.6414, allocations: 1.157 MB / 0.916 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.806e-05/0.6415, allocations: 3.938 kB / 0.916 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.6416, allocations: 48 kB / 0.9161 GB, free: 5.574 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-05/0.6416, allocations: 42.14 kB / 0.9161 GB, free: 5.531 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/0.6432, allocations: 1.075 MB / 0.9171 GB, free: 4.449 MB / 0.6231 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.005163/0.6484, allocations: 4.207 MB / 0.9213 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.6495, allocations: 0.7903 MB / 0.922 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006098/0.6501, allocations: 483.2 kB / 0.9225 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003866/0.6505, allocations: 296.3 kB / 0.9228 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/0.6506, allocations: 51.48 kB / 0.9228 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 3.026e-06/0.6506, allocations: 0 / 0.9228 GB, free: 14.29 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.005333/0.6559, allocations: 2.844 MB / 0.9256 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.656, allocations: 68.41 kB / 0.9257 GB, free: 11.28 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.657, allocations: 0.9677 MB / 0.9266 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.103e-05/0.6571, allocations: 49.69 kB / 0.9267 GB, free: 10.24 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/0.6575, allocations: 0.5395 MB / 0.9272 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/0.6578, allocations: 311.4 kB / 0.9275 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002265/0.658, allocations: 158.6 kB / 0.9276 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.6581, allocations: 341.9 kB / 0.928 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000485/0.6586, allocations: 341.8 kB / 0.9283 GB, free: 8.547 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005851/0.6592, allocations: 485.7 kB / 0.9287 GB, free: 8.039 MB / 0.6387 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.005715/0.6649, allocations: 3.05 MB / 0.9317 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.6649, allocations: 0 / 0.9317 GB, free: 4.902 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001387/0.6663, allocations: 1.015 MB / 0.9327 GB, free: 3.883 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.6663, allocations: 8 kB / 0.9327 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.6664, allocations: 8.359 kB / 0.9327 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.6664, allocations: 8 kB / 0.9327 GB, free: 3.859 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007164/0.6671, allocations: 187.7 kB / 0.9329 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.6671, allocations: 8 kB / 0.9329 GB, free: 3.668 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009946/0.6681, allocations: 71.8 kB / 0.933 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.343e-05/0.6682, allocations: 35.98 kB / 0.933 GB, free: 3.562 MB / 0.6387 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.0004847/0.6687, allocations: 387.4 kB / 0.9334 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002067/0.6689, allocations: 130.4 kB / 0.9335 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002926/0.6692, allocations: 144.3 kB / 0.9337 GB, free: 2.898 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.6692, allocations: 8 kB / 0.9337 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.166e-06/0.6692, allocations: 0 / 0.9337 GB, free: 2.891 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001417/0.6706, allocations: 1.098 MB / 0.9347 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004248/0.6749, allocations: 3.055 MB / 0.9377 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.6749, allocations: 12.06 kB / 0.9377 GB, free: 14.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006873/0.6756, allocations: 159.8 kB / 0.9379 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/0.6759, allocations: 97.64 kB / 0.938 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.963e-05/0.676, allocations: 32 kB / 0.938 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.6782, allocations: 3.09 MB / 0.941 GB, free: 10.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/0.6782, allocations: 15.94 kB / 0.941 GB, free: 10.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002072/0.6803, allocations: 1.729 MB / 0.9427 GB, free: 8.93 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004281/0.6807, allocations: 315.5 kB / 0.943 GB, free: 8.602 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/0.6809, allocations: 35.88 kB / 0.9431 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009823/0.6819, allocations: 77.22 kB / 0.9431 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.682, allocations: 88.11 kB / 0.9432 GB, free: 8.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.939e-05/0.6821, allocations: 43.98 kB / 0.9433 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007667/0.6829, allocations: 0.6995 MB / 0.9439 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6829, allocations: 0 / 0.9439 GB, free: 7.66 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009518/0.6838, allocations: 380 kB / 0.9443 GB, free: 7.289 MB / 0.6544 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.002728/0.6866, allocations: 2.415 MB / 0.9467 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001513/0.6881, allocations: 0.9605 MB / 0.9476 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6881, allocations: 0 / 0.9476 GB, free: 3.77 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008354/0.689, allocations: 0.6691 MB / 0.9483 GB, free: 3.078 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003759/0.6927, allocations: 0.9244 MB / 0.9492 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01267/0.7054, allocations: 10.7 MB / 0.9596 GB, free: 6.852 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006873/0.7061, allocations: 1.253 MB / 0.9608 GB, free: 5.57 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001055/0.7072, allocations: 339 kB / 0.9612 GB, free: 5.234 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005248/0.7077, allocations: 471.3 kB / 0.9616 GB, free: 4.773 MB / 0.67 GB Notification: Performance of SimCode: time 4.21e-07/0.7077, allocations: 0 / 0.9616 GB, free: 4.773 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2101/0.9178, allocations: 37.99 MB / 0.9987 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003336/0.9182, allocations: 286.7 kB / 0.999 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.503, allocations: 0 / 0.999 GB, free: 15.05 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_MixingVolumes_Validation_MixingVolumeMFactor.fmu > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)