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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.9071/0.9071, allocations: 143.4 MB / 159.2 MB, free: 4.91 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 192.5 kB / 191.9 MB, free: 5.727 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.393/1.393, allocations: 222.9 MB / 447.3 MB, free: 5.859 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001305/0.001305, allocations: 103.7 kB / 0.517 GB, free: 3.715 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001926/0.001926, allocations: 278.9 kB / 0.5973 GB, free: 49.38 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 83.88 kB / 0.6885 GB, free: 3.848 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3558/0.3573, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.5266/0.884, allocations: 186.2 MB / 0.9497 GB, free: 68 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.8981, allocations: 11.17 MB / 0.9606 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.9005, allocations: 46.44 kB / 0.9607 GB, free: 15.81 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.9023, allocations: 429.7 kB / 0.9611 GB, free: 15.8 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.006778/0.9091, allocations: 2.417 MB / 0.9634 GB, free: 15.67 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005713/0.9149, allocations: 2.061 MB / 0.9655 GB, free: 15.6 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005033/0.9199, allocations: 4 MB / 0.9694 GB, free: 15.44 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.9213, allocations: 0.6551 MB / 0.97 GB, free: 15.22 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00212/0.9234, allocations: 0.8551 MB / 0.9708 GB, free: 15.05 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002336/0.9258, allocations: 1.072 MB / 0.9719 GB, free: 14.77 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.926, allocations: 50.19 kB / 0.9719 GB, free: 14.77 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006691/0.9327, allocations: 3.298 MB / 0.9752 GB, free: 13.23 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007088/0.9334, allocations: 396.1 kB / 0.9755 GB, free: 12.99 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0009371/0.9344, allocations: 0.5256 MB / 0.976 GB, free: 12.68 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.006726/0.9411, allocations: 3.027 MB / 0.979 GB, free: 10.99 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.9411, allocations: 0 / 0.979 GB, free: 10.99 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9411, allocations: 2 kB / 0.979 GB, free: 10.99 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.9412, allocations: 4 kB / 0.979 GB, free: 10.98 MB / 0.573 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.00354/0.9447, allocations: 1.67 MB / 0.9806 GB, free: 9.754 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.9448, allocations: 9.688 kB / 0.9806 GB, free: 9.754 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/0.9465, allocations: 287.3 kB / 0.9809 GB, free: 9.617 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001361/0.9478, allocations: 0.783 MB / 0.9817 GB, free: 9.016 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.618e-05/0.9479, allocations: 48.44 kB / 0.9817 GB, free: 8.996 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.948, allocations: 72.19 kB / 0.9818 GB, free: 8.973 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001457/0.9495, allocations: 0.9919 MB / 0.9828 GB, free: 8.41 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.9495, allocations: 0 / 0.9828 GB, free: 8.41 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.157e-05/0.9496, allocations: 24.86 kB / 0.9828 GB, free: 8.395 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.533e-05/0.9497, allocations: 76.06 kB / 0.9829 GB, free: 8.371 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001534/0.9512, allocations: 1.01 MB / 0.9838 GB, free: 7.863 MB / 0.573 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.005816/0.957, allocations: 3.574 MB / 0.9873 GB, free: 5.098 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009663/0.958, allocations: 0.6643 MB / 0.988 GB, free: 4.746 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005077/0.9585, allocations: 383 kB / 0.9884 GB, free: 4.555 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002642/0.9588, allocations: 192.6 kB / 0.9885 GB, free: 4.355 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.9589, allocations: 39.88 kB / 0.9886 GB, free: 4.312 MB / 0.573 GB Notification: Performance of pre-optimization done (n=62): time 2.775e-06/0.9589, allocations: 0 / 0.9886 GB, free: 4.312 MB / 0.573 GB Notification: Performance of matching and sorting (n=62): time 0.002016/0.9609, allocations: 1.022 MB / 0.9896 GB, free: 3.793 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.179e-05/0.961, allocations: 119.6 kB / 0.9897 GB, free: 3.66 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009104/0.9619, allocations: 0.7966 MB / 0.9905 GB, free: 3.211 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.359e-05/0.962, allocations: 36.23 kB / 0.9905 GB, free: 3.172 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.9623, allocations: 421.9 kB / 0.9909 GB, free: 2.805 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.9625, allocations: 224.1 kB / 0.9911 GB, free: 2.609 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/0.9628, allocations: 142.6 kB / 0.9913 GB, free: 2.461 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001198/0.9629, allocations: 341.9 kB / 0.9916 GB, free: 2.121 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005162/0.9634, allocations: 344.7 kB / 0.9919 GB, free: 1.781 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006242/0.9641, allocations: 465.6 kB / 0.9923 GB, free: 1.285 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001059/0.9651, allocations: 0.7704 MB / 0.9931 GB, free: 500 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.9651, allocations: 0 / 0.9931 GB, free: 500 kB / 0.573 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001487/0.9666, allocations: 0.9333 MB / 0.994 GB, free: 15.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.9667, allocations: 4 kB / 0.994 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.9667, allocations: 4 kB / 0.994 GB, free: 15.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.9667, allocations: 8.281 kB / 0.994 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006994/0.9674, allocations: 147.8 kB / 0.9942 GB, free: 15.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.521e-05/0.9674, allocations: 11.94 kB / 0.9942 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000886/0.9683, allocations: 103.2 kB / 0.9943 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.9684, allocations: 24 kB / 0.9943 GB, free: 15.25 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008015/0.9692, allocations: 0.537 MB / 0.9948 GB, free: 14.71 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005967/0.9698, allocations: 455.3 kB / 0.9953 GB, free: 14.22 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00104/0.9709, allocations: 0.733 MB / 0.996 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.574e-06/0.9709, allocations: 4 kB / 0.996 GB, free: 13.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001523/0.9724, allocations: 0.8864 MB / 0.9968 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.9724, allocations: 9.531 kB / 0.9969 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.134e-06/0.9725, allocations: 4 kB / 0.9969 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.9725, allocations: 4 kB / 0.9969 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007725/0.9733, allocations: 151.7 kB / 0.997 GB, free: 12.39 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.9733, allocations: 11.94 kB / 0.997 GB, free: 12.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.9743, allocations: 83.48 kB / 0.9971 GB, free: 12.29 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.208e-05/0.9744, allocations: 32 kB / 0.9971 GB, free: 12.26 MB / 0.5886 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.0002639/0.9746, allocations: 224.9 kB / 0.9973 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.9748, allocations: 90.88 kB / 0.9974 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.9765, allocations: 0.8058 MB / 0.9982 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.9765, allocations: 8 kB / 0.9982 GB, free: 11.13 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.9765, allocations: 3.938 kB / 0.9982 GB, free: 11.12 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/0.9777, allocations: 0.7399 MB / 0.999 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003638/0.9813, allocations: 2.087 MB / 1.001 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.9814, allocations: 7.938 kB / 1.001 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006477/0.982, allocations: 140.2 kB / 1.001 GB, free: 8.039 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.982, allocations: 8 kB / 1.001 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.988e-05/0.9821, allocations: 16 kB / 1.001 GB, free: 8.016 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.231e-06/0.9821, allocations: 4 kB / 1.001 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.9821, allocations: 8.094 kB / 1.001 GB, free: 8.004 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2117/1.194, allocations: 15.1 MB / 1.016 GB, free: 8.723 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006472/1.194, allocations: 267.7 kB / 1.016 GB, free: 8.441 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/1.195, allocations: 24 kB / 1.016 GB, free: 8.418 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007239/1.195, allocations: 39.91 kB / 1.016 GB, free: 8.379 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/1.196, allocations: 56.25 kB / 1.016 GB, free: 8.324 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-05/1.196, allocations: 20 kB / 1.016 GB, free: 8.305 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007724/1.196, allocations: 0.5576 MB / 1.017 GB, free: 7.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/1.196, allocations: 0 / 1.017 GB, free: 7.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.005139/1.202, allocations: 1.666 MB / 1.018 GB, free: 6.082 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 3 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1]) * 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.005819/1.207, allocations: 1.279 MB / 1.02 GB, free: 4.852 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00222/1.21, allocations: 1.175 MB / 1.021 GB, free: 3.684 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/1.21, allocations: 0 / 1.021 GB, free: 3.684 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005943/1.21, allocations: 374.1 kB / 1.021 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/1.213, allocations: 0.5033 MB / 1.022 GB, free: 2.828 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/1.217, allocations: 2.667 MB / 1.024 GB, free: 72 kB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/1.218, allocations: 1.097 MB / 1.025 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.001552/1.219, allocations: 439.8 kB / 1.026 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/1.22, allocations: 83.42 kB / 1.026 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of SimCode: time 4.81e-07/1.22, allocations: 0 / 1.026 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of Templates: time 0.1239/1.344, allocations: 88.89 MB / 1.113 GB, free: 5.832 MB / 0.698 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)