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.001796/0.001796, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00209/0.00209, allocations: 198.8 kB / 16.14 MB, free: 6.641 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.529/1.529, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002727/0.002727, allocations: 286.8 kB / 290.2 MB, free: 2.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.133/1.133, allocations: 178.6 MB / 0.5068 GB, free: 4.773 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002707, allocations: 95.14 kB / 0.6057 GB, free: 25.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1757/0.1784, allocations: 89.15 MB / 0.6928 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeMFactor): time 0.5525/0.7309, allocations: 207.6 MB / 0.8956 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.7469, allocations: 9.955 MB / 0.9053 GB, free: 2.629 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001886/0.7488, allocations: 55.62 kB / 0.9053 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/0.7508, allocations: 0.6645 MB / 0.906 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007078/0.7579, allocations: 2.647 MB / 0.9086 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003489/0.7614, allocations: 1.262 MB / 0.9098 GB, free: 14 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006979/0.7684, allocations: 5.639 MB / 0.9153 GB, free: 8.352 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001651/0.77, allocations: 1.125 MB / 0.9164 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002077/0.7721, allocations: 1.155 MB / 0.9175 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002664/0.7748, allocations: 1.274 MB / 0.9188 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.775, allocations: 68 kB / 0.9188 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005408/0.7804, allocations: 2.758 MB / 0.9215 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006625/0.7811, allocations: 0.5375 MB / 0.9221 GB, free: 1.391 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0009708/0.782, allocations: 0.7736 MB / 0.9228 GB, free: 0.6133 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004103/0.7862, allocations: 3.093 MB / 0.9258 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7862, allocations: 4 kB / 0.9258 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of FrontEnd: time 7.82e-07/0.7862, allocations: 0 / 0.9258 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.752e-05/0.7862, allocations: 3.938 kB / 0.9258 GB, free: 13.5 MB / 0.6544 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.00312/0.7893, allocations: 1.889 MB / 0.9277 GB, free: 11.56 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.7894, allocations: 15.97 kB / 0.9277 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003325/0.7927, allocations: 497.6 kB / 0.9282 GB, free: 11.05 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/0.7945, allocations: 1.061 MB / 0.9292 GB, free: 9.949 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.539e-05/0.7946, allocations: 78.14 kB / 0.9293 GB, free: 9.871 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001689/0.7948, allocations: 108 kB / 0.9294 GB, free: 9.766 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002065/0.7969, allocations: 1.169 MB / 0.9305 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.7969, allocations: 4 kB / 0.9305 GB, free: 8.562 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.797, allocations: 47.94 kB / 0.9306 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.341e-05/0.7971, allocations: 42.14 kB / 0.9306 GB, free: 8.473 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001838/0.7989, allocations: 1.07 MB / 0.9317 GB, free: 7.395 MB / 0.6544 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.006137/0.8051, allocations: 4.215 MB / 0.9358 GB, free: 2.898 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.8064, allocations: 0.7817 MB / 0.9365 GB, free: 2.105 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007268/0.8071, allocations: 486.2 kB / 0.937 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/0.8076, allocations: 292.3 kB / 0.9373 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.268e-05/0.8076, allocations: 47.56 kB / 0.9373 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=83): time 2.545e-06/0.8076, allocations: 0 / 0.9373 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of matching and sorting (n=89): time 0.005771/0.8134, allocations: 2.844 MB / 0.9401 GB, free: 14.3 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/0.8134, allocations: 60.41 kB / 0.9402 GB, free: 14.23 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001287/0.8147, allocations: 0.9754 MB / 0.9411 GB, free: 13.24 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.76e-05/0.8148, allocations: 45.7 kB / 0.9412 GB, free: 13.19 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004753/0.8153, allocations: 0.5357 MB / 0.9417 GB, free: 12.65 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.8156, allocations: 319.4 kB / 0.942 GB, free: 12.33 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.8159, allocations: 154.6 kB / 0.9421 GB, free: 12.18 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.8161, allocations: 345.9 kB / 0.9425 GB, free: 11.83 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005776/0.8167, allocations: 337.8 kB / 0.9428 GB, free: 11.5 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007165/0.8174, allocations: 477.9 kB / 0.9432 GB, free: 11 MB / 0.67 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.006492/0.8239, allocations: 3.048 MB / 0.9462 GB, free: 7.863 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.8239, allocations: 0 / 0.9462 GB, free: 7.863 MB / 0.67 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001702/0.8256, allocations: 1.011 MB / 0.9472 GB, free: 6.844 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.8256, allocations: 12.31 kB / 0.9472 GB, free: 6.832 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.8257, allocations: 8.047 kB / 0.9472 GB, free: 6.824 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.145e-05/0.8257, allocations: 7.984 kB / 0.9472 GB, free: 6.816 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007566/0.8264, allocations: 183.7 kB / 0.9474 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.012e-05/0.8265, allocations: 8 kB / 0.9474 GB, free: 6.629 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.8276, allocations: 75.8 kB / 0.9475 GB, free: 6.555 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.411e-05/0.8277, allocations: 35.98 kB / 0.9475 GB, free: 6.52 MB / 0.67 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.0006234/0.8283, allocations: 378 kB / 0.9479 GB, free: 6.141 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/0.8285, allocations: 138.4 kB / 0.948 GB, free: 6.004 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.8288, allocations: 148.3 kB / 0.9482 GB, free: 5.855 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.8288, allocations: 8 kB / 0.9482 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/0.8288, allocations: 0 / 0.9482 GB, free: 5.848 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001658/0.8305, allocations: 1.094 MB / 0.9492 GB, free: 4.68 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005176/0.8357, allocations: 3.047 MB / 0.9522 GB, free: 1.453 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.8357, allocations: 11.94 kB / 0.9522 GB, free: 1.441 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.8365, allocations: 167.7 kB / 0.9524 GB, free: 1.277 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003622/0.8369, allocations: 97.64 kB / 0.9525 GB, free: 1.176 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-05/0.837, allocations: 28 kB / 0.9525 GB, free: 1.148 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002819/0.8398, allocations: 2.87 MB / 0.9553 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/0.8398, allocations: 15.94 kB / 0.9553 GB, free: 14 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.8425, allocations: 1.741 MB / 0.957 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006286/0.8432, allocations: 303.5 kB / 0.9573 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001661/0.8434, allocations: 31.98 kB / 0.9573 GB, free: 11.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.8444, allocations: 73.97 kB / 0.9574 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.8445, allocations: 88.11 kB / 0.9575 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/0.8446, allocations: 43.98 kB / 0.9575 GB, free: 11.57 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001025/0.8457, allocations: 0.6995 MB / 0.9582 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8457, allocations: 0 / 0.9582 GB, free: 10.87 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00117/0.8468, allocations: 376 kB / 0.9586 GB, free: 10.5 MB / 0.6856 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.0005566/0.8474, allocations: 244.3 kB / 0.9588 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001464/0.8489, allocations: 0.8246 MB / 0.9596 GB, free: 9.441 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.8489, allocations: 4 kB / 0.9596 GB, free: 9.438 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.8499, allocations: 0.67 MB / 0.9603 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003979/0.8539, allocations: 0.9009 MB / 0.9612 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004751/0.8587, allocations: 3.259 MB / 0.9643 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.8597, allocations: 1.249 MB / 0.9656 GB, free: 3.168 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001463/0.8612, allocations: 339 kB / 0.9659 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.8615, allocations: 99.44 kB / 0.966 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of SimCode: time 4.91e-07/0.8615, allocations: 0 / 0.966 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of Templates: time 0.04996/0.9115, allocations: 27.17 MB / 0.9925 GB, free: 7.953 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)