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.001041/0.001042, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00102/0.00102, allocations: 191.2 kB / 16.14 MB, free: 6.715 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001972/0.001972, allocations: 289.5 kB / 290.2 MB, free: 2.246 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9043/0.9043, allocations: 169.2 MB / 0.4977 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001633/0.001633, allocations: 103.9 kB / 0.5946 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1364, allocations: 86.98 MB / 0.6795 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4487/0.5851, allocations: 207.6 MB / 0.8823 GB, free: 2.547 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.5981, allocations: 9.957 MB / 0.892 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/0.5995, allocations: 54 kB / 0.8921 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001641/0.6012, allocations: 0.667 MB / 0.8927 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005386/0.6066, allocations: 2.647 MB / 0.8953 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002653/0.6093, allocations: 1.253 MB / 0.8965 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004457/0.6137, allocations: 5.635 MB / 0.902 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.6149, allocations: 1.125 MB / 0.9031 GB, free: 2.883 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.6164, allocations: 1.163 MB / 0.9043 GB, free: 1.715 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002001/0.6184, allocations: 1.275 MB / 0.9055 GB, free: 452 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001666/0.6186, allocations: 76 kB / 0.9056 GB, free: 376 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004201/0.6228, allocations: 2.755 MB / 0.9083 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004764/0.6233, allocations: 0.5297 MB / 0.9088 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007329/0.624, allocations: 0.7775 MB / 0.9096 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003161/0.6272, allocations: 3.085 MB / 0.9126 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.6272, allocations: 0 / 0.9126 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.406e-06/0.6272, allocations: 0 / 0.9126 GB, free: 9.199 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.6273, allocations: 3.938 kB / 0.9126 GB, free: 9.195 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.002626/0.6299, allocations: 1.901 MB / 0.9144 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.6299, allocations: 12.03 kB / 0.9144 GB, free: 7.223 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001921/0.6301, allocations: 168.8 kB / 0.9146 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003082/0.6332, allocations: 497.6 kB / 0.9151 GB, free: 6.559 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.6347, allocations: 1.061 MB / 0.9161 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.72e-05/0.6348, allocations: 78.14 kB / 0.9162 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.6349, allocations: 112 kB / 0.9163 GB, free: 5.266 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.6367, allocations: 1.157 MB / 0.9174 GB, free: 4.078 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/0.6367, allocations: 7.938 kB / 0.9174 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001008/0.6368, allocations: 48 kB / 0.9175 GB, free: 4.023 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.357e-05/0.6369, allocations: 50.06 kB / 0.9175 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001578/0.6385, allocations: 1.066 MB / 0.9186 GB, free: 2.898 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.005059/0.6436, allocations: 4.221 MB / 0.9227 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.6447, allocations: 0.7856 MB / 0.9235 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006116/0.6453, allocations: 487.5 kB / 0.9239 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003654/0.6457, allocations: 292.2 kB / 0.9242 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.6457, allocations: 43.56 kB / 0.9242 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 3.237e-06/0.6457, allocations: 3.984 kB / 0.9242 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=89): time 0.004972/0.6507, allocations: 2.84 MB / 0.927 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.6508, allocations: 60.41 kB / 0.9271 GB, free: 9.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/0.6518, allocations: 0.9755 MB / 0.928 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.58e-05/0.6519, allocations: 41.7 kB / 0.9281 GB, free: 8.691 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/0.6523, allocations: 0.5473 MB / 0.9286 GB, free: 8.137 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.6525, allocations: 311.4 kB / 0.9289 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002361/0.6527, allocations: 162.6 kB / 0.9291 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.6529, allocations: 334 kB / 0.9294 GB, free: 7.328 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004934/0.6534, allocations: 345.8 kB / 0.9297 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006139/0.654, allocations: 489.9 kB / 0.9302 GB, free: 6.473 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.005744/0.6597, allocations: 3.045 MB / 0.9331 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.6597, allocations: 0 / 0.9331 GB, free: 3.344 MB / 0.6387 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001491/0.6612, allocations: 1.015 MB / 0.9341 GB, free: 2.32 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.6613, allocations: 4 kB / 0.9341 GB, free: 2.316 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.6613, allocations: 4 kB / 0.9341 GB, free: 2.312 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.6613, allocations: 8.375 kB / 0.9341 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007252/0.662, allocations: 179.7 kB / 0.9343 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.6621, allocations: 8 kB / 0.9343 GB, free: 2.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.6631, allocations: 79.78 kB / 0.9344 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.227e-05/0.6632, allocations: 32 kB / 0.9344 GB, free: 2.012 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.0005385/0.6637, allocations: 387.4 kB / 0.9348 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000185/0.6639, allocations: 130.4 kB / 0.9349 GB, free: 1.496 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.6641, allocations: 152.2 kB / 0.9351 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.6641, allocations: 8 kB / 0.9351 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.6642, allocations: 0 / 0.9351 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00141/0.6656, allocations: 1.094 MB / 0.9361 GB, free: 172 kB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004243/0.6698, allocations: 3.043 MB / 0.9391 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.6699, allocations: 12.19 kB / 0.9391 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000676/0.6705, allocations: 167.7 kB / 0.9393 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003069/0.6709, allocations: 97.66 kB / 0.9394 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.784e-05/0.6709, allocations: 28 kB / 0.9394 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002103/0.673, allocations: 2.881 MB / 0.9422 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.6731, allocations: 15.94 kB / 0.9422 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.6752, allocations: 1.733 MB / 0.9439 GB, free: 7.609 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004379/0.6756, allocations: 311.7 kB / 0.9442 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/0.6758, allocations: 24 kB / 0.9443 GB, free: 7.262 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009788/0.6768, allocations: 77.83 kB / 0.9443 GB, free: 7.188 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.6769, allocations: 92.08 kB / 0.9444 GB, free: 7.098 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.887e-05/0.677, allocations: 47.98 kB / 0.9445 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007954/0.6778, allocations: 0.6956 MB / 0.9451 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6778, allocations: 0 / 0.9451 GB, free: 6.348 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001004/0.6788, allocations: 372 kB / 0.9455 GB, free: 5.984 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.002707/0.6815, allocations: 2.413 MB / 0.9479 GB, free: 3.43 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001154/0.6827, allocations: 0.8239 MB / 0.9487 GB, free: 2.602 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.98e-06/0.6827, allocations: 4 kB / 0.9487 GB, free: 2.598 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008413/0.6836, allocations: 0.6742 MB / 0.9493 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003677/0.6873, allocations: 0.8897 MB / 0.9502 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.7006, allocations: 10.7 MB / 0.9606 GB, free: 5.707 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008586/0.7015, allocations: 1.249 MB / 0.9619 GB, free: 4.43 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001185/0.7027, allocations: 339 kB / 0.9622 GB, free: 4.094 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006024/0.7033, allocations: 474.4 kB / 0.9626 GB, free: 3.633 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.7033, allocations: 0 / 0.9626 GB, free: 3.633 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06164/0.7649, allocations: 36.87 MB / 0.9986 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002012/0.7651, allocations: 286.5 kB / 0.9989 GB, free: 14.98 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.319, allocations: 0 / 0.9989 GB, free: 14.98 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)