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.001618/0.001618, allocations: 106.1 kB / 16.35 MB, free: 5.824 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.00196/0.00196, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.347/1.347, 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.002323/0.002323, allocations: 289.9 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9241/0.9241, allocations: 169.3 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 97.33 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1577, allocations: 86.98 MB / 0.6816 GB, free: 7.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.4854/0.6431, allocations: 187.8 MB / 0.865 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.6581, allocations: 10.76 MB / 0.8755 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001227/0.6594, allocations: 39.75 kB / 0.8756 GB, free: 7.781 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001271/0.6607, allocations: 489 kB / 0.876 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005835/0.6666, allocations: 2.58 MB / 0.8786 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005605/0.6722, allocations: 2.455 MB / 0.881 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003333/0.6756, allocations: 2.779 MB / 0.8837 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.6766, allocations: 0.7706 MB / 0.8844 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.6781, allocations: 1 MB / 0.8854 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001954/0.6801, allocations: 1.057 MB / 0.8864 GB, free: 12.63 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001702/0.6803, allocations: 96 kB / 0.8865 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007442/0.6877, allocations: 3.005 MB / 0.8895 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0009042/0.6887, allocations: 442.8 kB / 0.8899 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.6898, allocations: 0.5794 MB / 0.8905 GB, free: 8.508 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007724/0.6975, allocations: 2.953 MB / 0.8933 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.6976, allocations: 8 kB / 0.8933 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6976, allocations: 0 / 0.8933 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.6976, allocations: 0 / 0.8933 GB, free: 5.539 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.005334/0.703, allocations: 1.679 MB / 0.895 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.703, allocations: 12.03 kB / 0.895 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003705/0.7068, allocations: 297.6 kB / 0.8953 GB, free: 3.508 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.7094, allocations: 0.8273 MB / 0.8961 GB, free: 2.641 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.184e-05/0.7096, allocations: 61.22 kB / 0.8961 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.7098, allocations: 67.89 kB / 0.8962 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002923/0.7127, allocations: 0.9922 MB / 0.8972 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/0.7128, allocations: 0 / 0.8972 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000123/0.7129, allocations: 27.98 kB / 0.8972 GB, free: 1.477 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000172/0.7131, allocations: 81.94 kB / 0.8973 GB, free: 1.398 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003151/0.7163, allocations: 1.007 MB / 0.8983 GB, free: 396 kB / 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.01102/0.7273, allocations: 3.582 MB / 0.9018 GB, free: 12.57 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.7294, allocations: 0.6564 MB / 0.9024 GB, free: 11.91 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.7305, allocations: 387.1 kB / 0.9028 GB, free: 11.54 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004398/0.7309, allocations: 194.8 kB / 0.903 GB, free: 11.31 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.731, allocations: 39.12 kB / 0.903 GB, free: 11.26 MB / 0.67 GB Notification: Performance of pre-optimization done (n=62): time 4.217e-06/0.731, allocations: 0 / 0.903 GB, free: 11.26 MB / 0.67 GB Notification: Performance of matching and sorting (n=62): time 0.003645/0.7347, allocations: 1.029 MB / 0.904 GB, free: 10.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001616/0.7349, allocations: 111.4 kB / 0.9041 GB, free: 10.09 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001765/0.7367, allocations: 0.7981 MB / 0.9049 GB, free: 9.289 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0001306/0.7368, allocations: 37.7 kB / 0.9049 GB, free: 9.246 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006758/0.7375, allocations: 428 kB / 0.9053 GB, free: 8.82 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003469/0.7379, allocations: 224.8 kB / 0.9055 GB, free: 8.598 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004459/0.7383, allocations: 142.6 kB / 0.9057 GB, free: 8.453 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002393/0.7386, allocations: 334 kB / 0.906 GB, free: 8.121 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/0.7397, allocations: 336.7 kB / 0.9063 GB, free: 7.789 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001228/0.741, allocations: 468.7 kB / 0.9068 GB, free: 7.301 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/0.7433, allocations: 0.7704 MB / 0.9075 GB, free: 6.5 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.7433, allocations: 3.938 kB / 0.9075 GB, free: 6.496 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003057/0.7464, allocations: 0.9294 MB / 0.9084 GB, free: 5.559 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.7464, allocations: 8.266 kB / 0.9084 GB, free: 5.551 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.7465, allocations: 8 kB / 0.9084 GB, free: 5.543 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.597e-05/0.7465, allocations: 4 kB / 0.9085 GB, free: 5.539 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.7479, allocations: 147.8 kB / 0.9086 GB, free: 5.395 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.604e-05/0.748, allocations: 11.94 kB / 0.9086 GB, free: 5.383 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.7496, allocations: 79.19 kB / 0.9087 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.7497, allocations: 28 kB / 0.9087 GB, free: 5.277 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001586/0.7513, allocations: 0.5331 MB / 0.9092 GB, free: 4.738 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001228/0.7526, allocations: 454.5 kB / 0.9097 GB, free: 4.254 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002186/0.7548, allocations: 0.7291 MB / 0.9104 GB, free: 3.488 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.548e-06/0.7548, allocations: 4 kB / 0.9104 GB, free: 3.484 MB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00299/0.7578, allocations: 0.8942 MB / 0.9112 GB, free: 2.582 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.7579, allocations: 6.188 kB / 0.9113 GB, free: 2.578 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.7579, allocations: 5.125 kB / 0.9113 GB, free: 2.574 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.7579, allocations: 11.94 kB / 0.9113 GB, free: 2.562 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/0.7593, allocations: 151.8 kB / 0.9114 GB, free: 2.414 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.227e-05/0.7594, allocations: 7.938 kB / 0.9114 GB, free: 2.406 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.7609, allocations: 71.69 kB / 0.9115 GB, free: 2.336 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001224/0.761, allocations: 27.98 kB / 0.9115 GB, free: 2.309 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.0003877/0.7614, allocations: 216.1 kB / 0.9117 GB, free: 2.09 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/0.7618, allocations: 90.91 kB / 0.9118 GB, free: 2 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002736/0.7646, allocations: 0.8008 MB / 0.9126 GB, free: 1.199 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/0.7646, allocations: 8 kB / 0.9126 GB, free: 1.191 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.7646, allocations: 0.875 kB / 0.9126 GB, free: 1.191 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002011/0.7667, allocations: 0.7477 MB / 0.9133 GB, free: 424 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006531/0.7732, allocations: 2.101 MB / 0.9154 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.337e-06/0.7733, allocations: 0 / 0.9154 GB, free: 14.21 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.7747, allocations: 135.8 kB / 0.9155 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.529e-05/0.7747, allocations: 12.38 kB / 0.9155 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.914e-05/0.7748, allocations: 24.11 kB / 0.9155 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.487e-05/0.7749, allocations: 8 kB / 0.9156 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.7749, allocations: 4 kB / 0.9156 GB, free: 14.04 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003647/0.7785, allocations: 1.36 MB / 0.9169 GB, free: 12.62 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008339/0.7794, allocations: 255.8 kB / 0.9171 GB, free: 12.35 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000297/0.7797, allocations: 23.98 kB / 0.9172 GB, free: 12.32 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.7809, allocations: 16 kB / 0.9172 GB, free: 12.31 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.7811, allocations: 48.31 kB / 0.9172 GB, free: 12.26 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.945e-05/0.7812, allocations: 20 kB / 0.9172 GB, free: 12.24 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001416/0.7826, allocations: 0.5615 MB / 0.9178 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.71e-07/0.7826, allocations: 3.938 kB / 0.9178 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.003123/0.7858, allocations: 0.7489 MB / 0.9185 GB, free: 10.93 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.002118/0.7879, allocations: 0.5337 MB / 0.919 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003963/0.7919, allocations: 1.186 MB / 0.9202 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.7919, allocations: 1.125 kB / 0.9202 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001083/0.793, allocations: 378.4 kB / 0.9206 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004746/0.7978, allocations: 0.5347 MB / 0.9211 GB, free: 8.32 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005366/0.8032, allocations: 1.899 MB / 0.9229 GB, free: 6.344 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/0.8044, allocations: 1.085 MB / 0.924 GB, free: 5.227 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002455/0.8069, allocations: 407.4 kB / 0.9244 GB, free: 4.824 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.8073, allocations: 75.42 kB / 0.9245 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of SimCode: time 1.272e-06/0.8074, allocations: 0 / 0.9245 GB, free: 4.75 MB / 0.6856 GB Notification: Performance of Templates: time 0.0452/0.8526, allocations: 22.83 MB / 0.9467 GB, free: 14.2 MB / 0.7169 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)