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: translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 104.5 kB / 16.35 MB, free: 5.824 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.0011/0.001101, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.261/1.261, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001988/0.001988, allocations: 297.6 kB / 291.4 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8839/0.8839, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001704/0.001704, allocations: 98.61 kB / 0.5967 GB, free: 14.44 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1438, allocations: 86.97 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4604/0.6042, allocations: 209.9 MB / 0.8865 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.617, allocations: 9.871 MB / 0.8962 GB, free: 2.586 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.6182, allocations: 59.69 kB / 0.8962 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001588/0.6199, allocations: 0.7726 MB / 0.897 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005349/0.6252, allocations: 2.804 MB / 0.8997 GB, free: 14.93 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002774/0.628, allocations: 1.383 MB / 0.9011 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004096/0.6321, allocations: 4.067 MB / 0.9051 GB, free: 9.484 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00151/0.6337, allocations: 1.333 MB / 0.9064 GB, free: 8.121 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001879/0.6355, allocations: 1.366 MB / 0.9077 GB, free: 6.75 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002061/0.6376, allocations: 1.223 MB / 0.9089 GB, free: 5.531 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.6378, allocations: 144 kB / 0.909 GB, free: 5.391 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004161/0.642, allocations: 2.381 MB / 0.9113 GB, free: 3.004 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006009/0.6426, allocations: 0.6078 MB / 0.9119 GB, free: 2.395 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009454/0.6436, allocations: 0.8556 MB / 0.9128 GB, free: 1.535 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003894/0.6475, allocations: 3.011 MB / 0.9157 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.6475, allocations: 3.938 kB / 0.9157 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6475, allocations: 0 / 0.9157 GB, free: 14.51 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.219e-05/0.6475, allocations: 0 / 0.9157 GB, free: 14.51 MB / 0.6856 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.002805/0.6503, allocations: 1.905 MB / 0.9176 GB, free: 12.55 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.6504, allocations: 8.031 kB / 0.9176 GB, free: 12.54 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/0.6534, allocations: 489.6 kB / 0.9181 GB, free: 12.06 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.6553, allocations: 1.132 MB / 0.9192 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.569e-05/0.6554, allocations: 82.14 kB / 0.9192 GB, free: 10.8 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.6556, allocations: 108 kB / 0.9193 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001778/0.6574, allocations: 1.149 MB / 0.9205 GB, free: 9.516 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.6574, allocations: 7.938 kB / 0.9205 GB, free: 9.508 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.674e-05/0.6575, allocations: 51.92 kB / 0.9205 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.738e-05/0.6576, allocations: 50.12 kB / 0.9206 GB, free: 9.406 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.6591, allocations: 1.066 MB / 0.9216 GB, free: 8.332 MB / 0.6856 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.005606/0.6647, allocations: 4.192 MB / 0.9257 GB, free: 3.863 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001171/0.6659, allocations: 0.7817 MB / 0.9265 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006416/0.6666, allocations: 486.7 kB / 0.9269 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004021/0.667, allocations: 296.3 kB / 0.9272 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.667, allocations: 51.78 kB / 0.9273 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=83): time 2.434e-06/0.667, allocations: 0 / 0.9273 GB, free: 2.195 MB / 0.6856 GB Notification: Performance of matching and sorting (n=89): time 0.004985/0.672, allocations: 2.836 MB / 0.93 GB, free: 15.27 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.6721, allocations: 64.41 kB / 0.9301 GB, free: 15.2 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.6731, allocations: 0.9716 MB / 0.931 GB, free: 14.21 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.81e-05/0.6732, allocations: 41.7 kB / 0.9311 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003917/0.6736, allocations: 0.5395 MB / 0.9316 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.6739, allocations: 319.4 kB / 0.9319 GB, free: 13.3 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/0.6741, allocations: 158.6 kB / 0.9321 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.6742, allocations: 345.9 kB / 0.9324 GB, free: 12.79 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000491/0.6747, allocations: 337.8 kB / 0.9327 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000588/0.6753, allocations: 489.9 kB / 0.9332 GB, free: 11.95 MB / 0.7012 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.005647/0.681, allocations: 3.052 MB / 0.9362 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.681, allocations: 0 / 0.9362 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001432/0.6824, allocations: 1.008 MB / 0.9372 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.6825, allocations: 15.92 kB / 0.9372 GB, free: 7.773 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.107e-05/0.6825, allocations: 4 kB / 0.9372 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.6825, allocations: 8 kB / 0.9372 GB, free: 7.762 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007209/0.6832, allocations: 175.7 kB / 0.9373 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.6833, allocations: 8 kB / 0.9374 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008381/0.6841, allocations: 25.09 kB / 0.9374 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-05/0.6842, allocations: 35.98 kB / 0.9374 GB, free: 7.523 MB / 0.7012 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.0004878/0.6847, allocations: 385.8 kB / 0.9378 GB, free: 7.141 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.6849, allocations: 134.4 kB / 0.9379 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.6851, allocations: 144.3 kB / 0.938 GB, free: 6.859 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.134e-06/0.6851, allocations: 8 kB / 0.9381 GB, free: 6.852 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.6852, allocations: 7.938 kB / 0.9381 GB, free: 6.844 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001382/0.6865, allocations: 1.094 MB / 0.9391 GB, free: 5.676 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004374/0.6909, allocations: 3.047 MB / 0.9421 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.691, allocations: 8 kB / 0.9421 GB, free: 2.445 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006893/0.6917, allocations: 167.7 kB / 0.9423 GB, free: 2.281 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003496/0.692, allocations: 97.64 kB / 0.9424 GB, free: 2.18 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.027e-05/0.6921, allocations: 28 kB / 0.9424 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002364/0.6945, allocations: 3.09 MB / 0.9454 GB, free: 14.79 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/0.6945, allocations: 15.94 kB / 0.9454 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/0.6967, allocations: 1.741 MB / 0.9471 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006246/0.6974, allocations: 303.5 kB / 0.9474 GB, free: 12.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001479/0.6975, allocations: 31.98 kB / 0.9474 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008492/0.6984, allocations: 42.86 kB / 0.9475 GB, free: 12.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/0.6985, allocations: 96.09 kB / 0.9476 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.473e-05/0.6986, allocations: 44.12 kB / 0.9476 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008415/0.6994, allocations: 0.6917 MB / 0.9483 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6994, allocations: 4 kB / 0.9483 GB, free: 11.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009828/0.7004, allocations: 376 kB / 0.9487 GB, free: 11.3 MB / 0.7169 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.0004611/0.7009, allocations: 240.4 kB / 0.9489 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.7021, allocations: 0.8434 MB / 0.9497 GB, free: 10.22 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.7022, allocations: 4 kB / 0.9497 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008527/0.703, allocations: 0.6691 MB / 0.9504 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003354/0.7064, allocations: 0.92 MB / 0.9513 GB, free: 8.621 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003633/0.71, allocations: 2.78 MB / 0.954 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007465/0.7108, allocations: 1.253 MB / 0.9552 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009787/0.7118, allocations: 339 kB / 0.9555 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.712, allocations: 103.4 kB / 0.9556 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.712, allocations: 3.938 kB / 0.9556 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of Templates: time 0.276/0.988, allocations: 28.34 MB / 0.9833 GB, free: 240.3 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.makefile (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 & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)