Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.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.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 108.6 kB / 16.41 MB, free: 6.5 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.001228/0.001228, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.437/1.437, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002521/0.002521, allocations: 285.6 kB / 291.5 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 1.036/1.036, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002793/0.002793, allocations: 99.84 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4505, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2255/0.676, allocations: 188.3 MB / 0.951 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.4373/1.113, allocations: 10.77 MB / 0.9615 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001408/1.115, allocations: 39.88 kB / 0.9615 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001423/1.116, allocations: 0.5068 MB / 0.962 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006713/1.123, allocations: 2.666 MB / 0.9646 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006055/1.129, allocations: 2.471 MB / 0.967 GB, free: 1.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003978/1.133, allocations: 2.771 MB / 0.9697 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/1.134, allocations: 0.6747 MB / 0.9704 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/1.136, allocations: 1.029 MB / 0.9714 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/1.138, allocations: 1.06 MB / 0.9724 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/1.139, allocations: 99.5 kB / 0.9725 GB, free: 1.641 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005974/1.145, allocations: 3.012 MB / 0.9755 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000857/1.145, allocations: 453 kB / 0.9759 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001137/1.147, allocations: 0.5773 MB / 0.9765 GB, free: 1.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007075/1.154, allocations: 2.98 MB / 0.9794 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/1.154, allocations: 0 / 0.9794 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.603e-06/1.154, allocations: 1.156 kB / 0.9794 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.092e-05/1.154, allocations: 0 / 0.9794 GB, free: 1.438 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.00384/1.158, allocations: 1.718 MB / 0.9811 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/1.158, allocations: 11.06 kB / 0.9811 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00188/1.159, allocations: 300.2 kB / 0.9814 GB, free: 16.45 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001408/1.161, allocations: 0.8405 MB / 0.9822 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/1.161, allocations: 52.22 kB / 0.9822 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/1.161, allocations: 72.84 kB / 0.9823 GB, free: 16.11 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001456/1.163, allocations: 0.9925 MB / 0.9833 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.163, allocations: 0.75 kB / 0.9833 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/1.163, allocations: 30 kB / 0.9833 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.07e-05/1.163, allocations: 79.42 kB / 0.9834 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/1.164, allocations: 1.009 MB / 0.9844 GB, free: 16.02 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.005738/1.17, allocations: 3.581 MB / 0.9879 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009296/1.171, allocations: 0.6301 MB / 0.9885 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004505/1.171, allocations: 361 kB / 0.9888 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002948/1.172, allocations: 199.8 kB / 0.989 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.172, allocations: 37.81 kB / 0.989 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=62): time 2.394e-06/1.172, allocations: 3.25 kB / 0.989 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=62): time 0.001785/1.173, allocations: 1.025 MB / 0.99 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.093e-05/1.173, allocations: 119 kB / 0.9902 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008716/1.174, allocations: 0.7979 MB / 0.9909 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.423e-05/1.174, allocations: 40.8 kB / 0.991 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/1.175, allocations: 427.7 kB / 0.9914 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/1.175, allocations: 240.3 kB / 0.9916 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/1.175, allocations: 140.6 kB / 0.9918 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001514/1.175, allocations: 333.8 kB / 0.9921 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004807/1.176, allocations: 342.3 kB / 0.9924 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006078/1.176, allocations: 467.1 kB / 0.9928 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/1.177, allocations: 0.7647 MB / 0.9936 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/1.177, allocations: 3.969 kB / 0.9936 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001367/1.179, allocations: 0.9379 MB / 0.9945 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.179, allocations: 6.062 kB / 0.9945 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/1.179, allocations: 3.562 kB / 0.9945 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/1.179, allocations: 8.594 kB / 0.9945 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/1.179, allocations: 147.7 kB / 0.9947 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.179, allocations: 6.438 kB / 0.9947 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007842/1.18, allocations: 82.56 kB / 0.9947 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/1.18, allocations: 28.16 kB / 0.9948 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007439/1.181, allocations: 0.5396 MB / 0.9953 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005637/1.182, allocations: 455.4 kB / 0.9957 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009263/1.183, allocations: 0.7326 MB / 0.9965 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.434e-06/1.183, allocations: 3.938 kB / 0.9965 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001268/1.184, allocations: 0.8952 MB / 0.9973 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/1.184, allocations: 8.469 kB / 0.9973 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.184, allocations: 4.5 kB / 0.9973 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.943e-06/1.184, allocations: 5.062 kB / 0.9973 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006205/1.184, allocations: 153.9 kB / 0.9975 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/1.184, allocations: 5.375 kB / 0.9975 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007609/1.185, allocations: 69.66 kB / 0.9976 GB, free: 12.63 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/1.185, allocations: 29.27 kB / 0.9976 GB, free: 12.63 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (88): * Single equations (assignments): 88 * 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.0002499/1.186, allocations: 218.6 kB / 0.9978 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001555/1.186, allocations: 101.5 kB / 0.9979 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/1.187, allocations: 0.8069 MB / 0.9987 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/1.187, allocations: 7.75 kB / 0.9987 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/1.187, allocations: 0 / 0.9987 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008864/1.188, allocations: 0.7454 MB / 0.9994 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00299/1.191, allocations: 2.095 MB / 1.001 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/1.191, allocations: 4.25 kB / 1.001 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006399/1.191, allocations: 138.9 kB / 1.002 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/1.191, allocations: 6.828 kB / 1.002 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/1.192, allocations: 15.69 kB / 1.002 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/1.192, allocations: 8.562 kB / 1.002 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/1.192, allocations: 13.52 kB / 1.002 GB, free: 11.72 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001656/1.193, allocations: 1.358 MB / 1.003 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/1.194, allocations: 259.4 kB / 1.003 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001203/1.194, allocations: 19.53 kB / 1.003 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005753/1.194, allocations: 22.28 kB / 1.003 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.876e-05/1.194, allocations: 50.64 kB / 1.003 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/1.194, allocations: 21.41 kB / 1.003 GB, free: 11.25 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006245/1.195, allocations: 0.5592 MB / 1.004 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/1.195, allocations: 1.203 kB / 1.004 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001769/1.197, allocations: 0.7543 MB / 1.005 GB, free: 11.03 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m) * 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 (64): * Single equations (assignments): 64 * 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 Backend phase and start with SimCode phase: time 0.001217/1.198, allocations: 0.5473 MB / 1.005 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001905/1.2, allocations: 1.127 MB / 1.006 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.474e-06/1.2, allocations: 6.859 kB / 1.006 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004499/1.2, allocations: 353.7 kB / 1.007 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002393/1.203, allocations: 0.5295 MB / 1.007 GB, free: 10.75 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002932/1.206, allocations: 1.935 MB / 1.009 GB, free: 9.977 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006707/1.206, allocations: 1.078 MB / 1.01 GB, free: 9.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001167/1.208, allocations: 407.7 kB / 1.01 GB, free: 9.242 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002265/1.208, allocations: 76.19 kB / 1.011 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of SimCode: time 8.21e-07/1.208, allocations: 0.8438 kB / 1.011 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of Templates: time 0.03828/1.246, allocations: 23.11 MB / 1.033 GB, free: 13.45 MB / 0.7481 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)