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.00126/0.001261, allocations: 108.3 kB / 15.99 MB, free: 6.371 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.00121/0.00121, allocations: 194.9 kB / 16.91 MB, free: 6.199 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.255/1.255, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001984/0.001984, allocations: 291.9 kB / 291 MB, free: 14.5 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8885/0.8885, allocations: 169.2 MB / 0.4985 GB, free: 4.668 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001687/0.001687, allocations: 88.23 kB / 0.5953 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1725, allocations: 86.98 MB / 0.6803 GB, free: 8.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.4884/0.6609, allocations: 207.2 MB / 0.8826 GB, free: 116 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01479/0.6758, allocations: 9.809 MB / 0.8922 GB, free: 6.285 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002375/0.6782, allocations: 47.69 kB / 0.8922 GB, free: 6.238 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002247/0.6805, allocations: 0.6879 MB / 0.8929 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007117/0.6876, allocations: 2.642 MB / 0.8955 GB, free: 2.895 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.6913, allocations: 1.269 MB / 0.8967 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005289/0.6966, allocations: 4.06 MB / 0.9007 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001922/0.6986, allocations: 1.293 MB / 0.902 GB, free: 12.25 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002489/0.7011, allocations: 1.385 MB / 0.9033 GB, free: 10.86 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.7039, allocations: 1.316 MB / 0.9046 GB, free: 9.543 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003667/0.7042, allocations: 144 kB / 0.9047 GB, free: 9.402 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004708/0.709, allocations: 2.501 MB / 0.9072 GB, free: 6.895 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008861/0.7099, allocations: 0.6039 MB / 0.9078 GB, free: 6.289 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001537/0.7114, allocations: 0.8634 MB / 0.9086 GB, free: 5.422 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.7147, allocations: 2.276 MB / 0.9108 GB, free: 3.141 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.7147, allocations: 4 kB / 0.9108 GB, free: 3.137 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7147, allocations: 0 / 0.9108 GB, free: 3.137 MB / 0.67 GB Notification: Performance of Transformations before backend: time 6.655e-05/0.7148, allocations: 0 / 0.9108 GB, free: 3.137 MB / 0.67 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.003254/0.718, allocations: 1.893 MB / 0.9127 GB, free: 1.188 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.7181, allocations: 16.02 kB / 0.9127 GB, free: 1.172 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/0.7212, allocations: 494.8 kB / 0.9132 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.7228, allocations: 1.054 MB / 0.9142 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.396e-05/0.7229, allocations: 78.14 kB / 0.9143 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.7231, allocations: 111.9 kB / 0.9144 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.7249, allocations: 1.165 MB / 0.9155 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.609e-05/0.725, allocations: 0 / 0.9155 GB, free: 14.2 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.7251, allocations: 47.94 kB / 0.9156 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.65e-05/0.7251, allocations: 42.14 kB / 0.9156 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.7267, allocations: 1.07 MB / 0.9167 GB, free: 13.04 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.005511/0.7322, allocations: 4.224 MB / 0.9208 GB, free: 8.535 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0011/0.7333, allocations: 0.7855 MB / 0.9216 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006706/0.734, allocations: 491.2 kB / 0.922 GB, free: 7.266 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003726/0.7344, allocations: 284.3 kB / 0.9223 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.464e-05/0.7344, allocations: 47.56 kB / 0.9223 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=83): time 2.424e-06/0.7344, allocations: 0 / 0.9223 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of matching and sorting (n=89): time 0.005184/0.7396, allocations: 2.848 MB / 0.9251 GB, free: 3.941 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.7397, allocations: 60.41 kB / 0.9252 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.7408, allocations: 0.9716 MB / 0.9261 GB, free: 2.883 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/0.7409, allocations: 41.7 kB / 0.9262 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/0.7412, allocations: 0.5434 MB / 0.9267 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002411/0.7415, allocations: 319.4 kB / 0.927 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002235/0.7417, allocations: 158.6 kB / 0.9272 GB, free: 1.805 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.7418, allocations: 337.9 kB / 0.9275 GB, free: 1.469 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004714/0.7423, allocations: 337.8 kB / 0.9278 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005716/0.7429, allocations: 485.9 kB / 0.9283 GB, free: 0.6289 MB / 0.6856 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.005699/0.7486, allocations: 3.048 MB / 0.9312 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.7486, allocations: 0 / 0.9312 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001517/0.7501, allocations: 1.019 MB / 0.9322 GB, free: 12.47 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.7502, allocations: 10.12 kB / 0.9322 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.7502, allocations: 7.938 kB / 0.9322 GB, free: 12.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.7502, allocations: 8 kB / 0.9323 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007033/0.7509, allocations: 175.7 kB / 0.9324 GB, free: 12.28 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.7509, allocations: 8 kB / 0.9324 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001069/0.752, allocations: 81.45 kB / 0.9325 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.82e-05/0.7521, allocations: 35.98 kB / 0.9325 GB, free: 12.16 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.0005822/0.7527, allocations: 382.3 kB / 0.9329 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.7529, allocations: 130.4 kB / 0.933 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002722/0.7531, allocations: 148.2 kB / 0.9332 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.7532, allocations: 8 kB / 0.9332 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.7532, allocations: 0 / 0.9332 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001411/0.7546, allocations: 1.098 MB / 0.9343 GB, free: 10.31 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004379/0.759, allocations: 3.047 MB / 0.9372 GB, free: 7.086 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.759, allocations: 12 kB / 0.9372 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006755/0.7597, allocations: 163.8 kB / 0.9374 GB, free: 6.914 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000314/0.76, allocations: 110.2 kB / 0.9375 GB, free: 6.801 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-05/0.7601, allocations: 28 kB / 0.9375 GB, free: 6.773 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002388/0.7625, allocations: 3.086 MB / 0.9405 GB, free: 3.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.7625, allocations: 8 kB / 0.9405 GB, free: 3.402 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002353/0.7649, allocations: 1.741 MB / 0.9422 GB, free: 1.52 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006134/0.7655, allocations: 303.5 kB / 0.9425 GB, free: 1.203 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000157/0.7657, allocations: 31.98 kB / 0.9426 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000961/0.7666, allocations: 78.58 kB / 0.9426 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001251/0.7668, allocations: 88.11 kB / 0.9427 GB, free: 1.012 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/0.7668, allocations: 43.98 kB / 0.9428 GB, free: 0.9688 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0008496/0.7677, allocations: 0.7033 MB / 0.9435 GB, free: 264 kB / 0.7012 GB Notification: Performance of sort global known variables: time 2.21e-07/0.7677, allocations: 4 kB / 0.9435 GB, free: 260 kB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001084/0.7688, allocations: 376 kB / 0.9438 GB, free: 15.88 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.0004724/0.7693, allocations: 243.9 kB / 0.9441 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.7708, allocations: 0.9646 MB / 0.945 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.7708, allocations: 4 kB / 0.945 GB, free: 14.68 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008759/0.7717, allocations: 0.6662 MB / 0.9456 GB, free: 13.99 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/0.7754, allocations: 0.9305 MB / 0.9466 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/0.7795, allocations: 3.314 MB / 0.9498 GB, free: 9.621 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007883/0.7803, allocations: 1.249 MB / 0.951 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.7806, allocations: 103.4 kB / 0.9511 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of SimCode: time 6.81e-07/0.7806, allocations: 4 kB / 0.9511 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of Templates: time 0.3134/1.094, allocations: 27.11 MB / 0.9776 GB, free: 241.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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor.pipe 2>&1)