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.001238/0.001237, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001223/0.001223, allocations: 196 kB / 16.53 MB, free: 6.672 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.232/1.232, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001983/0.001983, allocations: 282.9 kB / 290.7 MB, free: 1.992 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8813/0.8813, allocations: 169.3 MB / 0.4982 GB, free: 13.92 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001837/0.001837, allocations: 99.33 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1426, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4559/0.5985, allocations: 209.9 MB / 0.8852 GB, free: 356 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01292/0.6114, allocations: 9.876 MB / 0.8949 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.613, allocations: 61.22 kB / 0.8949 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.6148, allocations: 0.7744 MB / 0.8957 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00587/0.6207, allocations: 2.799 MB / 0.8984 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.6237, allocations: 1.375 MB / 0.8998 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004597/0.6283, allocations: 4.071 MB / 0.9037 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001676/0.63, allocations: 1.325 MB / 0.905 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002718/0.6327, allocations: 1.347 MB / 0.9064 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.635, allocations: 1.227 MB / 0.9075 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002252/0.6353, allocations: 144 kB / 0.9077 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004434/0.6397, allocations: 2.389 MB / 0.91 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005606/0.6403, allocations: 0.6078 MB / 0.9106 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009112/0.6412, allocations: 0.8556 MB / 0.9114 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00372/0.6449, allocations: 2.984 MB / 0.9144 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.6449, allocations: 3.984 kB / 0.9144 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.253e-06/0.6449, allocations: 0 / 0.9144 GB, free: 7.578 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.648e-05/0.645, allocations: 0 / 0.9144 GB, free: 7.578 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.002637/0.6476, allocations: 1.905 MB / 0.9162 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.6476, allocations: 12.03 kB / 0.9162 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/0.6478, allocations: 168.8 kB / 0.9164 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002984/0.6508, allocations: 489.7 kB / 0.9169 GB, free: 4.949 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.6524, allocations: 1.065 MB / 0.9179 GB, free: 3.836 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.6524, allocations: 82.14 kB / 0.918 GB, free: 3.754 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.6526, allocations: 109.9 kB / 0.9181 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00178/0.6544, allocations: 1.153 MB / 0.9192 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.6544, allocations: 3.938 kB / 0.9192 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.6545, allocations: 51.98 kB / 0.9193 GB, free: 2.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.948e-05/0.6546, allocations: 38.14 kB / 0.9193 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.6562, allocations: 1.074 MB / 0.9204 GB, free: 1.289 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.005326/0.6615, allocations: 4.241 MB / 0.9245 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.6627, allocations: 0.7864 MB / 0.9253 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006146/0.6633, allocations: 482.7 kB / 0.9257 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003733/0.6637, allocations: 304.3 kB / 0.926 GB, free: 11.15 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.6637, allocations: 47.78 kB / 0.9261 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 2.134e-06/0.6637, allocations: 0 / 0.9261 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.004983/0.6687, allocations: 2.84 MB / 0.9288 GB, free: 8.168 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.6688, allocations: 60.41 kB / 0.9289 GB, free: 8.098 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.6698, allocations: 0.9716 MB / 0.9298 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.6699, allocations: 45.7 kB / 0.9299 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003659/0.6703, allocations: 0.5434 MB / 0.9304 GB, free: 6.508 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.6705, allocations: 315.4 kB / 0.9307 GB, free: 6.195 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.6707, allocations: 154.6 kB / 0.9309 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.6708, allocations: 345.9 kB / 0.9312 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.6713, allocations: 337.8 kB / 0.9315 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.6719, allocations: 489.9 kB / 0.932 GB, free: 4.848 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.005711/0.6777, allocations: 3.051 MB / 0.935 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.6777, allocations: 0 / 0.935 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001423/0.6791, allocations: 1.011 MB / 0.9359 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.6791, allocations: 11.98 kB / 0.936 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.6792, allocations: 4 kB / 0.936 GB, free: 0.6758 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.6792, allocations: 4 kB / 0.936 GB, free: 0.6719 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/0.6799, allocations: 183.7 kB / 0.9361 GB, free: 0.4922 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.6799, allocations: 8.375 kB / 0.9362 GB, free: 496 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009067/0.6808, allocations: 24 kB / 0.9362 GB, free: 472 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.159e-05/0.6809, allocations: 35.98 kB / 0.9362 GB, free: 436 kB / 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.0005146/0.6814, allocations: 384.2 kB / 0.9366 GB, free: 44 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.6817, allocations: 138.4 kB / 0.9367 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.6819, allocations: 140.3 kB / 0.9368 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.6819, allocations: 8 kB / 0.9368 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/0.6819, allocations: 4 kB / 0.9369 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00146/0.6834, allocations: 1.098 MB / 0.9379 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004311/0.6877, allocations: 3.047 MB / 0.9409 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.6878, allocations: 8 kB / 0.9409 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006879/0.6885, allocations: 159.7 kB / 0.9411 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003211/0.6888, allocations: 110.1 kB / 0.9412 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-05/0.6889, allocations: 32 kB / 0.9412 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002238/0.6911, allocations: 3.09 MB / 0.9442 GB, free: 7.676 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.6911, allocations: 11.94 kB / 0.9442 GB, free: 7.664 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002229/0.6934, allocations: 1.737 MB / 0.9459 GB, free: 5.793 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005479/0.6939, allocations: 303.5 kB / 0.9462 GB, free: 5.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002065/0.6941, allocations: 35.92 kB / 0.9462 GB, free: 5.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009308/0.6951, allocations: 45.55 kB / 0.9463 GB, free: 5.398 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/0.6952, allocations: 88.09 kB / 0.9464 GB, free: 5.312 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.873e-05/0.6953, allocations: 43.98 kB / 0.9464 GB, free: 5.27 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008476/0.6961, allocations: 0.6995 MB / 0.9471 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6961, allocations: 0 / 0.9471 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001041/0.6972, allocations: 372 kB / 0.9475 GB, free: 4.199 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.002785/0.7, allocations: 2.401 MB / 0.9498 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001478/0.7015, allocations: 0.9613 MB / 0.9507 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.7015, allocations: 4 kB / 0.9507 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00085/0.7023, allocations: 0.6696 MB / 0.9514 GB, free: 15.99 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003882/0.7062, allocations: 0.9302 MB / 0.9523 GB, free: 15.09 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0124/0.7186, allocations: 10.29 MB / 0.9623 GB, free: 4.18 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008433/0.7195, allocations: 1.257 MB / 0.9636 GB, free: 2.895 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001198/0.7207, allocations: 331 kB / 0.9639 GB, free: 2.566 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005828/0.7213, allocations: 477.4 kB / 0.9643 GB, free: 2.102 MB / 0.67 GB Notification: Performance of SimCode: time 7.51e-07/0.7213, allocations: 4 kB / 0.9643 GB, free: 2.098 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06664/0.788, allocations: 38.23 MB / 1.002 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.564/10.35, allocations: 4.062 kB / 1.002 GB, free: 12.48 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)