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.001242/0.001242, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.00117/0.00117, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.311/1.311, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002308/0.002308, allocations: 294 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.931/0.931, allocations: 169.3 MB / 0.4988 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 102.8 kB / 0.5959 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1833/0.1853, allocations: 86.97 MB / 0.6808 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5208/0.7062, allocations: 209.9 MB / 0.8858 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01533/0.7215, allocations: 9.865 MB / 0.8954 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002174/0.7238, allocations: 63.69 kB / 0.8955 GB, free: 3.035 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002388/0.7262, allocations: 0.7687 MB / 0.8962 GB, free: 2.262 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008301/0.7346, allocations: 2.808 MB / 0.899 GB, free: 15.44 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003897/0.7385, allocations: 1.371 MB / 0.9003 GB, free: 14.08 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005923/0.7444, allocations: 4.068 MB / 0.9043 GB, free: 10 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002283/0.7467, allocations: 1.326 MB / 0.9056 GB, free: 8.645 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002662/0.7494, allocations: 1.354 MB / 0.9069 GB, free: 7.285 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.7519, allocations: 1.228 MB / 0.9081 GB, free: 6.062 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0003748/0.7523, allocations: 144 kB / 0.9082 GB, free: 5.922 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004629/0.7569, allocations: 2.381 MB / 0.9106 GB, free: 3.535 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0007827/0.7577, allocations: 0.6117 MB / 0.9112 GB, free: 2.922 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.7591, allocations: 0.8556 MB / 0.912 GB, free: 2.062 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.7637, allocations: 2.984 MB / 0.9149 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.7637, allocations: 0 / 0.9149 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.784e-06/0.7638, allocations: 0 / 0.9149 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.831e-05/0.7638, allocations: 0 / 0.9149 GB, free: 15.07 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.003347/0.7672, allocations: 1.901 MB / 0.9168 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.7672, allocations: 12.03 kB / 0.9168 GB, free: 13.1 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/0.7703, allocations: 485.7 kB / 0.9172 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.772, allocations: 1.061 MB / 0.9183 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.351e-05/0.7721, allocations: 82.12 kB / 0.9184 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001564/0.7722, allocations: 115.9 kB / 0.9185 GB, free: 11.32 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.774, allocations: 1.161 MB / 0.9196 GB, free: 10.13 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.7741, allocations: 3.984 kB / 0.9196 GB, free: 10.12 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/0.7742, allocations: 47.94 kB / 0.9197 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.557e-05/0.7742, allocations: 42.14 kB / 0.9197 GB, free: 10.04 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.7758, allocations: 1.07 MB / 0.9207 GB, free: 8.957 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.005673/0.7815, allocations: 4.239 MB / 0.9249 GB, free: 4.441 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.7827, allocations: 0.7894 MB / 0.9256 GB, free: 3.645 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005961/0.7833, allocations: 482.7 kB / 0.9261 GB, free: 3.176 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003726/0.7837, allocations: 300.3 kB / 0.9264 GB, free: 2.828 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/0.7837, allocations: 43.56 kB / 0.9264 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=83): time 2.534e-06/0.7837, allocations: 0 / 0.9264 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of matching and sorting (n=89): time 0.00513/0.7888, allocations: 2.84 MB / 0.9292 GB, free: 15.85 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.7889, allocations: 60.41 kB / 0.9293 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.79, allocations: 0.9755 MB / 0.9302 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.7901, allocations: 45.7 kB / 0.9303 GB, free: 14.73 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.7905, allocations: 0.5434 MB / 0.9308 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.7907, allocations: 315.4 kB / 0.9311 GB, free: 13.87 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002278/0.791, allocations: 158.6 kB / 0.9312 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.7911, allocations: 338 kB / 0.9316 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004868/0.7916, allocations: 341.8 kB / 0.9319 GB, free: 13.04 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005945/0.7922, allocations: 489.9 kB / 0.9324 GB, free: 12.52 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.00572/0.7979, allocations: 3.05 MB / 0.9353 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.7979, allocations: 3.938 kB / 0.9353 GB, free: 9.379 MB / 0.7012 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001503/0.7995, allocations: 1.011 MB / 0.9363 GB, free: 8.359 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.7995, allocations: 15.88 kB / 0.9363 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.7995, allocations: 4 kB / 0.9363 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.7995, allocations: 4 kB / 0.9364 GB, free: 8.336 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007166/0.8002, allocations: 179.7 kB / 0.9365 GB, free: 8.16 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.859e-05/0.8003, allocations: 11.98 kB / 0.9365 GB, free: 8.148 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.8013, allocations: 28.38 kB / 0.9366 GB, free: 8.121 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-05/0.8014, allocations: 36 kB / 0.9366 GB, free: 8.086 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.0005654/0.8019, allocations: 388.1 kB / 0.937 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.8022, allocations: 130.4 kB / 0.9371 GB, free: 7.574 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002905/0.8025, allocations: 148.3 kB / 0.9372 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.375e-06/0.8025, allocations: 8 kB / 0.9372 GB, free: 7.414 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.238e-05/0.8025, allocations: 4 kB / 0.9372 GB, free: 7.41 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001454/0.8039, allocations: 1.09 MB / 0.9383 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004579/0.8085, allocations: 3.047 MB / 0.9413 GB, free: 3.023 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/0.8086, allocations: 12 kB / 0.9413 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/0.8093, allocations: 163.7 kB / 0.9415 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003299/0.8096, allocations: 102.1 kB / 0.9415 GB, free: 2.746 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.625e-05/0.8097, allocations: 31.98 kB / 0.9416 GB, free: 2.715 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.812, allocations: 3.086 MB / 0.9446 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.812, allocations: 12.12 kB / 0.9446 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002347/0.8144, allocations: 1.737 MB / 0.9463 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/0.815, allocations: 307.5 kB / 0.9466 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.8152, allocations: 36.11 kB / 0.9466 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000978/0.8162, allocations: 45.66 kB / 0.9467 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.8164, allocations: 88.11 kB / 0.9468 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.025e-05/0.8165, allocations: 43.98 kB / 0.9468 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00097/0.8174, allocations: 0.6994 MB / 0.9475 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8175, allocations: 4 kB / 0.9475 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001138/0.8186, allocations: 372 kB / 0.9478 GB, free: 11.86 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.0005189/0.8191, allocations: 241.3 kB / 0.9481 GB, free: 11.63 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.8207, allocations: 0.9607 MB / 0.949 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.775e-06/0.8207, allocations: 4 kB / 0.949 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009113/0.8217, allocations: 0.6662 MB / 0.9497 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004286/0.826, allocations: 0.9249 MB / 0.9506 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/0.8304, allocations: 2.869 MB / 0.9534 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009901/0.8314, allocations: 1.245 MB / 0.9546 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003588/0.8317, allocations: 107.4 kB / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of SimCode: time 8.01e-07/0.8317, allocations: 0 / 0.9547 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of Templates: time 0.3055/1.137, allocations: 27.11 MB / 0.9812 GB, free: 238.7 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)