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.006937/0.006937, allocations: 108.3 kB / 15.71 MB, free: 5.926 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.001616/0.001616, allocations: 191.8 kB / 16.64 MB, free: 5.863 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.306/1.306, allocations: 222.9 MB / 240.3 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00213/0.00213, allocations: 284.1 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9378/0.9378, allocations: 169.3 MB / 0.4983 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 103.8 kB / 0.6814 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4146, allocations: 86.97 MB / 0.7663 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.6298/1.044, allocations: 209.9 MB / 0.9713 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01542/1.06, allocations: 9.873 MB / 0.9809 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003203/1.063, allocations: 59.19 kB / 0.981 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00217/1.065, allocations: 0.7705 MB / 0.9817 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007021/1.072, allocations: 2.806 MB / 0.9845 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003482/1.076, allocations: 1.381 MB / 0.9858 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004729/1.081, allocations: 4.062 MB / 0.9898 GB, free: 1.531 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/1.082, allocations: 1.334 MB / 0.9911 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002462/1.085, allocations: 1.366 MB / 0.9924 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/1.087, allocations: 1.22 MB / 0.9936 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002175/1.087, allocations: 144 kB / 0.9938 GB, free: 1.367 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004329/1.092, allocations: 2.388 MB / 0.9961 GB, free: 1.344 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006361/1.092, allocations: 0.6022 MB / 0.9967 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001102/1.093, allocations: 0.8566 MB / 0.9975 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00501/1.098, allocations: 3.013 MB / 1 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.099, allocations: 0 / 1 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.384e-06/1.099, allocations: 0.9688 kB / 1 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.011e-05/1.099, allocations: 0 / 1 GB, free: 0.9922 MB / 0.7169 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.003175/1.102, allocations: 1.902 MB / 1.002 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/1.102, allocations: 8.281 kB / 1.002 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003142/1.105, allocations: 491.8 kB / 1.003 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001877/1.107, allocations: 1.119 MB / 1.004 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/1.107, allocations: 84.98 kB / 1.004 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/1.107, allocations: 120.9 kB / 1.004 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001805/1.109, allocations: 1.149 MB / 1.005 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.11e-05/1.109, allocations: 4.938 kB / 1.005 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001067/1.109, allocations: 48.94 kB / 1.005 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.635e-05/1.109, allocations: 49.95 kB / 1.005 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/1.111, allocations: 1.076 MB / 1.006 GB, free: 15.49 MB / 0.7325 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.005711/1.116, allocations: 4.188 MB / 1.01 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/1.118, allocations: 0.7816 MB / 1.011 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006827/1.118, allocations: 486.1 kB / 1.012 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004229/1.119, allocations: 298.2 kB / 1.012 GB, free: 13.55 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/1.119, allocations: 51.34 kB / 1.012 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=83): time 3.056e-06/1.119, allocations: 0 / 1.012 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of matching and sorting (n=89): time 0.005423/1.124, allocations: 2.838 MB / 1.015 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/1.124, allocations: 61.16 kB / 1.015 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/1.125, allocations: 0.9801 MB / 1.016 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000107/1.125, allocations: 47.08 kB / 1.016 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003764/1.126, allocations: 0.5363 MB / 1.016 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003123/1.126, allocations: 316.6 kB / 1.017 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/1.126, allocations: 156.8 kB / 1.017 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001347/1.127, allocations: 341.4 kB / 1.017 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004887/1.127, allocations: 342 kB / 1.017 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/1.128, allocations: 484.3 kB / 1.018 GB, free: 11.67 MB / 0.7325 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.005778/1.133, allocations: 3.042 MB / 1.021 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/1.133, allocations: 2.938 kB / 1.021 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001559/1.135, allocations: 1.003 MB / 1.022 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/1.135, allocations: 9.203 kB / 1.022 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/1.135, allocations: 10.33 kB / 1.022 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.135, allocations: 8.906 kB / 1.022 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007113/1.136, allocations: 182.8 kB / 1.022 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.468e-05/1.136, allocations: 6.75 kB / 1.022 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/1.137, allocations: 34.8 kB / 1.022 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-05/1.137, allocations: 35.22 kB / 1.022 GB, free: 11.11 MB / 0.7325 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.0006413/1.138, allocations: 385 kB / 1.023 GB, free: 10.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/1.138, allocations: 124.1 kB / 1.023 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002889/1.138, allocations: 148.3 kB / 1.023 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/1.138, allocations: 11.22 kB / 1.023 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.085e-05/1.138, allocations: 4 kB / 1.023 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0014/1.14, allocations: 1.094 MB / 1.024 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00439/1.144, allocations: 3.047 MB / 1.027 GB, free: 9.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/1.144, allocations: 18.84 kB / 1.027 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006608/1.145, allocations: 162.2 kB / 1.027 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003247/1.145, allocations: 97.89 kB / 1.027 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.04e-05/1.145, allocations: 34.2 kB / 1.027 GB, free: 9.84 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/1.147, allocations: 3.091 MB / 1.03 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/1.147, allocations: 12.75 kB / 1.03 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002339/1.15, allocations: 1.737 MB / 1.032 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005667/1.15, allocations: 307.8 kB / 1.032 GB, free: 5.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001448/1.151, allocations: 28.58 kB / 1.032 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009097/1.151, allocations: 43 kB / 1.032 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.152, allocations: 92.3 kB / 1.032 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.643e-05/1.152, allocations: 43.67 kB / 1.032 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008694/1.153, allocations: 0.7009 MB / 1.033 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/1.153, allocations: 2.406 kB / 1.033 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001068/1.154, allocations: 371.4 kB / 1.033 GB, free: 5.477 MB / 0.7325 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.0004684/1.154, allocations: 234.7 kB / 1.034 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001272/1.155, allocations: 0.8516 MB / 1.034 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.142e-06/1.155, allocations: 3.25 kB / 1.034 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000859/1.156, allocations: 0.6696 MB / 1.035 GB, free: 4.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003856/1.16, allocations: 0.9234 MB / 1.036 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004051/1.164, allocations: 2.773 MB / 1.039 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007988/1.165, allocations: 1.248 MB / 1.04 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001241/1.166, allocations: 335.5 kB / 1.04 GB, free: 1.957 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002545/1.167, allocations: 104.9 kB / 1.04 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/1.167, allocations: 0 / 1.04 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of Templates: time 0.04477/1.211, allocations: 28.35 MB / 1.068 GB, free: 7.246 MB / 0.7637 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)