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.001508/0.001508, allocations: 100.8 kB / 16.27 MB, free: 5.996 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.001566/0.001566, allocations: 191.8 kB / 17.2 MB, free: 5.605 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.32/1.32, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 294.5 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9206/0.9206, allocations: 169.3 MB / 0.4988 GB, free: 4.488 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 98.56 kB / 0.5959 GB, free: 15.14 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1613, allocations: 86.98 MB / 0.6808 GB, free: 8.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.4919/0.6532, allocations: 187.8 MB / 0.8643 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.6687, allocations: 10.76 MB / 0.8748 GB, free: 8.309 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001495/0.6702, allocations: 43.69 kB / 0.8748 GB, free: 8.266 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001591/0.6719, allocations: 497 kB / 0.8753 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006575/0.6785, allocations: 2.575 MB / 0.8778 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006131/0.6846, allocations: 2.456 MB / 0.8802 GB, free: 2.746 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003538/0.6882, allocations: 2.771 MB / 0.8829 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.6895, allocations: 0.7795 MB / 0.8837 GB, free: 15.18 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001946/0.6915, allocations: 0.9886 MB / 0.8846 GB, free: 14.18 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002493/0.694, allocations: 1.053 MB / 0.8857 GB, free: 13.13 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003945/0.6944, allocations: 100 kB / 0.8858 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005944/0.7004, allocations: 2.993 MB / 0.8887 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007103/0.7011, allocations: 446.8 kB / 0.8891 GB, free: 9.594 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001113/0.7022, allocations: 0.5794 MB / 0.8897 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006004/0.7082, allocations: 2.946 MB / 0.8926 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.7083, allocations: 0 / 0.8926 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.804e-06/0.7083, allocations: 0 / 0.8926 GB, free: 6.059 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.022e-05/0.7083, allocations: 3.938 kB / 0.8926 GB, free: 6.055 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.004583/0.7129, allocations: 1.676 MB / 0.8942 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.713, allocations: 8.031 kB / 0.8942 GB, free: 4.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002043/0.715, allocations: 294.4 kB / 0.8945 GB, free: 4.031 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.7165, allocations: 0.7766 MB / 0.8952 GB, free: 3.215 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.028e-05/0.7166, allocations: 49.3 kB / 0.8953 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001727/0.7168, allocations: 67.89 kB / 0.8954 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.7186, allocations: 1.004 MB / 0.8963 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.439e-05/0.7186, allocations: 0 / 0.8963 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.52e-05/0.7187, allocations: 27.98 kB / 0.8964 GB, free: 2.051 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.952e-05/0.7188, allocations: 77.69 kB / 0.8964 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001764/0.7206, allocations: 1.007 MB / 0.8974 GB, free: 0.9688 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.006197/0.7268, allocations: 3.597 MB / 0.9009 GB, free: 13.14 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.7279, allocations: 0.6614 MB / 0.9016 GB, free: 12.47 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005545/0.7285, allocations: 375.9 kB / 0.9019 GB, free: 12.1 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.7288, allocations: 194.8 kB / 0.9021 GB, free: 11.88 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/0.7288, allocations: 43.06 kB / 0.9022 GB, free: 11.82 MB / 0.67 GB Notification: Performance of pre-optimization done (n=62): time 3.647e-06/0.7288, allocations: 3.984 kB / 0.9022 GB, free: 11.82 MB / 0.67 GB Notification: Performance of matching and sorting (n=62): time 0.002002/0.7309, allocations: 1.029 MB / 0.9032 GB, free: 10.79 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.912e-05/0.7309, allocations: 111.4 kB / 0.9033 GB, free: 10.65 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.732, allocations: 0.8019 MB / 0.9041 GB, free: 9.844 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 6.857e-05/0.7321, allocations: 37.7 kB / 0.9041 GB, free: 9.801 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003114/0.7324, allocations: 424 kB / 0.9045 GB, free: 9.379 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002052/0.7326, allocations: 220.8 kB / 0.9047 GB, free: 9.16 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.7329, allocations: 146.6 kB / 0.9049 GB, free: 9.012 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.733, allocations: 338 kB / 0.9052 GB, free: 8.676 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005556/0.7335, allocations: 336.7 kB / 0.9055 GB, free: 8.344 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006614/0.7342, allocations: 468.7 kB / 0.9059 GB, free: 7.855 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/0.7354, allocations: 0.7704 MB / 0.9067 GB, free: 7.055 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.7354, allocations: 0 / 0.9067 GB, free: 7.055 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001599/0.737, allocations: 0.9294 MB / 0.9076 GB, free: 6.117 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/0.737, allocations: 10.19 kB / 0.9076 GB, free: 6.109 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.737, allocations: 288 / 0.9076 GB, free: 6.109 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/0.7371, allocations: 12 kB / 0.9076 GB, free: 6.098 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007222/0.7378, allocations: 151.8 kB / 0.9078 GB, free: 5.949 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.537e-05/0.7378, allocations: 4 kB / 0.9078 GB, free: 5.945 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000868/0.7387, allocations: 79.19 kB / 0.9078 GB, free: 5.867 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-05/0.7388, allocations: 28 kB / 0.9079 GB, free: 5.84 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008303/0.7396, allocations: 0.537 MB / 0.9084 GB, free: 5.297 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006265/0.7403, allocations: 454.4 kB / 0.9088 GB, free: 4.812 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001059/0.7413, allocations: 0.733 MB / 0.9095 GB, free: 4.043 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.756e-06/0.7413, allocations: 0 / 0.9095 GB, free: 4.043 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001497/0.7428, allocations: 0.8942 MB / 0.9104 GB, free: 3.141 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.7429, allocations: 8 kB / 0.9104 GB, free: 3.133 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.7429, allocations: 4 kB / 0.9104 GB, free: 3.129 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.7429, allocations: 4 kB / 0.9104 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006543/0.7435, allocations: 151.7 kB / 0.9106 GB, free: 2.977 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.7436, allocations: 8 kB / 0.9106 GB, free: 2.969 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007891/0.7444, allocations: 63.7 kB / 0.9106 GB, free: 2.906 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.448e-05/0.7444, allocations: 35.98 kB / 0.9107 GB, free: 2.871 MB / 0.67 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.0001999/0.7446, allocations: 212.1 kB / 0.9109 GB, free: 2.656 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.7448, allocations: 94.91 kB / 0.911 GB, free: 2.562 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/0.7462, allocations: 0.8085 MB / 0.9118 GB, free: 1.754 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.363e-06/0.7463, allocations: 4 kB / 0.9118 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7463, allocations: 0.875 kB / 0.9118 GB, free: 1.75 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00102/0.7473, allocations: 0.7439 MB / 0.9125 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003172/0.7505, allocations: 2.101 MB / 0.9145 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/0.7505, allocations: 4 kB / 0.9146 GB, free: 14.77 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006369/0.7511, allocations: 135.8 kB / 0.9147 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.7512, allocations: 4 kB / 0.9147 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.7512, allocations: 21.55 kB / 0.9147 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.717e-06/0.7512, allocations: 15.94 kB / 0.9147 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.7512, allocations: 4 kB / 0.9147 GB, free: 14.59 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00187/0.7531, allocations: 1.352 MB / 0.916 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004047/0.7535, allocations: 255.8 kB / 0.9163 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.7537, allocations: 19.98 kB / 0.9163 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006096/0.7543, allocations: 23.98 kB / 0.9163 GB, free: 12.87 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.345e-05/0.7544, allocations: 48.27 kB / 0.9164 GB, free: 12.82 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.235e-05/0.7545, allocations: 24.12 kB / 0.9164 GB, free: 12.8 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0007217/0.7552, allocations: 0.5576 MB / 0.9169 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7552, allocations: 4 kB / 0.9169 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00177/0.757, allocations: 0.7489 MB / 0.9177 GB, free: 11.49 MB / 0.6856 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.001494/0.7585, allocations: 0.5547 MB / 0.9182 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002377/0.7609, allocations: 1.311 MB / 0.9195 GB, free: 9.637 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/0.7609, allocations: 5.125 kB / 0.9195 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005403/0.7615, allocations: 370.8 kB / 0.9199 GB, free: 9.27 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.7641, allocations: 0.5225 MB / 0.9204 GB, free: 8.762 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.7674, allocations: 1.993 MB / 0.9223 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000743/0.7682, allocations: 1.077 MB / 0.9234 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003237/0.7685, allocations: 83.42 kB / 0.9234 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of SimCode: time 9.32e-07/0.7685, allocations: 0 / 0.9234 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of Templates: time 0.02721/0.7958, allocations: 18.5 MB / 0.9415 GB, free: 3.141 MB / 0.7012 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)