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.00548/0.00548, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001032/0.001032, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00219/0.00219, allocations: 286.6 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9526/0.9526, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 99.84 kB / 0.6814 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1638, allocations: 86.97 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.5295/0.6934, allocations: 187.8 MB / 0.9498 GB, free: 6.902 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.7089, allocations: 10.76 MB / 0.9603 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001107/0.7101, allocations: 39.75 kB / 0.9604 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00128/0.7114, allocations: 0.4892 MB / 0.9608 GB, free: 11.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005971/0.7174, allocations: 2.583 MB / 0.9634 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005613/0.723, allocations: 2.46 MB / 0.9658 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003685/0.7267, allocations: 2.774 MB / 0.9685 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001407/0.7281, allocations: 0.7839 MB / 0.9692 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002046/0.7302, allocations: 1.016 MB / 0.9702 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002292/0.7325, allocations: 1.058 MB / 0.9713 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002843/0.7328, allocations: 96 kB / 0.9714 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005424/0.7382, allocations: 3.009 MB / 0.9743 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005713/0.7388, allocations: 434.8 kB / 0.9747 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0008542/0.7397, allocations: 0.5833 MB / 0.9753 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004723/0.7444, allocations: 2.961 MB / 0.9782 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.7444, allocations: 4 kB / 0.9782 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7444, allocations: 0 / 0.9782 GB, free: 9.789 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.242e-05/0.7445, allocations: 0 / 0.9782 GB, free: 9.789 MB / 0.7325 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.003511/0.748, allocations: 1.674 MB / 0.9798 GB, free: 8.062 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.748, allocations: 8.031 kB / 0.9798 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001781/0.7498, allocations: 294.5 kB / 0.9801 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001345/0.7512, allocations: 0.8355 MB / 0.9809 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.675e-05/0.7512, allocations: 53.28 kB / 0.981 GB, free: 6.832 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001181/0.7514, allocations: 67.98 kB / 0.981 GB, free: 6.766 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.7529, allocations: 0.9883 MB / 0.982 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.045e-05/0.7529, allocations: 3.984 kB / 0.982 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.229e-05/0.753, allocations: 23.98 kB / 0.982 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.992e-05/0.7531, allocations: 73.95 kB / 0.9821 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.7546, allocations: 1.012 MB / 0.9831 GB, free: 4.652 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.005727/0.7604, allocations: 3.583 MB / 0.9866 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.7615, allocations: 0.6574 MB / 0.9872 GB, free: 172 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005479/0.762, allocations: 388.3 kB / 0.9876 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/0.7623, allocations: 198.8 kB / 0.9878 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.7624, allocations: 43.11 kB / 0.9878 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=62): time 2.685e-06/0.7624, allocations: 0 / 0.9878 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of matching and sorting (n=62): time 0.001983/0.7644, allocations: 1.021 MB / 0.9888 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/0.7644, allocations: 115.4 kB / 0.9889 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.7655, allocations: 0.798 MB / 0.9897 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.482e-05/0.7656, allocations: 37.7 kB / 0.9897 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003162/0.7659, allocations: 428 kB / 0.9902 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.7661, allocations: 216.8 kB / 0.9904 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002388/0.7663, allocations: 142.6 kB / 0.9905 GB, free: 12.72 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.7665, allocations: 337.9 kB / 0.9908 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/0.767, allocations: 340.7 kB / 0.9911 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000635/0.7677, allocations: 460.8 kB / 0.9916 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.7688, allocations: 0.7743 MB / 0.9923 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.7688, allocations: 1.938 kB / 0.9923 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001513/0.7703, allocations: 0.9295 MB / 0.9932 GB, free: 9.82 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7704, allocations: 4 kB / 0.9933 GB, free: 9.816 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.7704, allocations: 4 kB / 0.9933 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.7704, allocations: 4 kB / 0.9933 GB, free: 9.809 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000675/0.7711, allocations: 148.1 kB / 0.9934 GB, free: 9.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.097e-05/0.7711, allocations: 23.86 kB / 0.9934 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007642/0.7719, allocations: 79.11 kB / 0.9935 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.772, allocations: 28 kB / 0.9935 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007831/0.7728, allocations: 0.5331 MB / 0.994 GB, free: 8.996 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006321/0.7734, allocations: 458.1 kB / 0.9945 GB, free: 8.508 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001028/0.7745, allocations: 0.733 MB / 0.9952 GB, free: 7.742 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.179e-06/0.7745, allocations: 5.562 kB / 0.9952 GB, free: 7.738 MB / 0.7481 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001354/0.7758, allocations: 0.8943 MB / 0.9961 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.7758, allocations: 6.031 kB / 0.9961 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7759, allocations: 4 kB / 0.9961 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.514e-06/0.7759, allocations: 8 kB / 0.9961 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006169/0.7765, allocations: 147.8 kB / 0.9962 GB, free: 6.676 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/0.7765, allocations: 7.938 kB / 0.9962 GB, free: 6.668 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006944/0.7772, allocations: 60.12 kB / 0.9963 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.051e-05/0.7773, allocations: 28 kB / 0.9963 GB, free: 6.582 MB / 0.7481 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.0002052/0.7775, allocations: 224.2 kB / 0.9965 GB, free: 6.359 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.7777, allocations: 94.81 kB / 0.9966 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001373/0.779, allocations: 0.8047 MB / 0.9974 GB, free: 5.449 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.7791, allocations: 8 kB / 0.9974 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.266e-06/0.7791, allocations: 5.5 kB / 0.9974 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/0.7801, allocations: 0.7399 MB / 0.9982 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003245/0.7833, allocations: 2.093 MB / 1 GB, free: 2.473 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.7834, allocations: 4 kB / 1 GB, free: 2.469 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006129/0.784, allocations: 139.7 kB / 1 GB, free: 2.332 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.784, allocations: 8 kB / 1 GB, free: 2.324 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.914e-05/0.7841, allocations: 16 kB / 1 GB, free: 2.309 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.393e-06/0.7841, allocations: 4 kB / 1 GB, free: 2.305 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.7841, allocations: 8.344 kB / 1 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.786, allocations: 1.36 MB / 1.002 GB, free: 0.8789 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/0.7864, allocations: 256 kB / 1.002 GB, free: 0.6094 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/0.7866, allocations: 16 kB / 1.002 GB, free: 0.5938 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.7871, allocations: 32.8 kB / 1.002 GB, free: 0.5625 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.552e-05/0.7872, allocations: 48.31 kB / 1.002 GB, free: 0.5156 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.7873, allocations: 23.98 kB / 1.002 GB, free: 0.4922 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007211/0.788, allocations: 0.5575 MB / 1.003 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.7e-07/0.788, allocations: 0 / 1.003 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001864/0.7899, allocations: 0.7489 MB / 1.003 GB, free: 15.19 MB / 0.7637 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.001482/0.7914, allocations: 0.5408 MB / 1.004 GB, free: 14.65 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002072/0.7934, allocations: 1.19 MB / 1.005 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.194e-05/0.7935, allocations: 0 / 1.005 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005668/0.794, allocations: 376.1 kB / 1.005 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/0.7964, allocations: 0.5303 MB / 1.006 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003274/0.7997, allocations: 1.9 MB / 1.008 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008507/0.8005, allocations: 1.081 MB / 1.009 GB, free: 9.496 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001296/0.8018, allocations: 414.2 kB / 1.009 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002619/0.8021, allocations: 75.44 kB / 1.009 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of SimCode: time 1.432e-06/0.8021, allocations: 0 / 1.009 GB, free: 9.016 MB / 0.7637 GB Notification: Performance of Templates: time 0.03528/0.8374, allocations: 23.31 MB / 1.032 GB, free: 1.973 MB / 0.7794 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)