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.001138/0.001139, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.008749/0.008749, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.385/1.385, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001756/0.001756, allocations: 267.2 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9243/0.9243, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004931/0.0004932, allocations: 14.53 kB / 0.5986 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1568, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.4895/0.6463, allocations: 183.7 MB / 0.8645 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.6605, allocations: 11.03 MB / 0.8753 GB, free: 9.973 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001214/0.6617, allocations: 39.66 kB / 0.8753 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00109/0.6628, allocations: 430.3 kB / 0.8758 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005466/0.6683, allocations: 2.419 MB / 0.8781 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004843/0.6732, allocations: 2.08 MB / 0.8802 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004054/0.6772, allocations: 3.987 MB / 0.884 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009047/0.6782, allocations: 0.6469 MB / 0.8847 GB, free: 3.758 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001569/0.6797, allocations: 0.8246 MB / 0.8855 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001807/0.6816, allocations: 1.058 MB / 0.8865 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.6817, allocations: 44 kB / 0.8866 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005862/0.6876, allocations: 3.289 MB / 0.8898 GB, free: 14.53 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004972/0.6881, allocations: 394.8 kB / 0.8901 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007021/0.6888, allocations: 0.5381 MB / 0.8907 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.006075/0.6949, allocations: 3.015 MB / 0.8936 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6949, allocations: 0 / 0.8936 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6949, allocations: 3.938 kB / 0.8936 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.04e-05/0.695, allocations: 0 / 0.8936 GB, free: 10.57 MB / 0.6075 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.003466/0.6984, allocations: 1.46 MB / 0.895 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.6985, allocations: 12.03 kB / 0.8951 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/0.7002, allocations: 298.4 kB / 0.8953 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.7014, allocations: 0.7804 MB / 0.8961 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.331e-05/0.7014, allocations: 53.3 kB / 0.8962 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.7016, allocations: 71.88 kB / 0.8962 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001503/0.7031, allocations: 0.996 MB / 0.8972 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.915e-05/0.7031, allocations: 0 / 0.8972 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.514e-05/0.7032, allocations: 31.98 kB / 0.8972 GB, free: 6.766 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-05/0.7033, allocations: 77.94 kB / 0.8973 GB, free: 6.691 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001533/0.7048, allocations: 1.003 MB / 0.8983 GB, free: 5.684 MB / 0.6075 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.005524/0.7104, allocations: 3.594 MB / 0.9018 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.7114, allocations: 0.659 MB / 0.9024 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005069/0.7119, allocations: 378.3 kB / 0.9028 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.7122, allocations: 194.8 kB / 0.903 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.7122, allocations: 43.5 kB / 0.903 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=62): time 2.024e-06/0.7122, allocations: 0 / 0.903 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of matching and sorting (n=62): time 0.001851/0.7141, allocations: 1.025 MB / 0.904 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.158e-05/0.7142, allocations: 111.4 kB / 0.9041 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009598/0.7151, allocations: 0.802 MB / 0.9049 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.697e-05/0.7152, allocations: 41.64 kB / 0.905 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003239/0.7155, allocations: 420 kB / 0.9054 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001933/0.7157, allocations: 224.8 kB / 0.9056 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.7159, allocations: 61.69 kB / 0.9056 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.716, allocations: 334 kB / 0.9059 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005333/0.7165, allocations: 337.8 kB / 0.9063 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006218/0.7172, allocations: 468.7 kB / 0.9067 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001092/0.7183, allocations: 0.7665 MB / 0.9075 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.7183, allocations: 4 kB / 0.9075 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001433/0.7197, allocations: 0.9333 MB / 0.9084 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001179/0.7198, allocations: 155.6 kB / 0.9085 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.7198, allocations: 0 / 0.9085 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.7199, allocations: 8 kB / 0.9085 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006679/0.7205, allocations: 151.8 kB / 0.9087 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.7206, allocations: 4 kB / 0.9087 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008204/0.7214, allocations: 111.2 kB / 0.9088 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.7215, allocations: 28 kB / 0.9088 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.795e-06/0.7215, allocations: 6.031 kB / 0.9088 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001192/0.7227, allocations: 0.7765 MB / 0.9096 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.7227, allocations: 8.219 kB / 0.9096 GB, free: 9.652 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.7227, allocations: 8 kB / 0.9096 GB, free: 9.645 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.7233, allocations: 151.8 kB / 0.9097 GB, free: 9.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.7233, allocations: 4 kB / 0.9097 GB, free: 9.492 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007064/0.7241, allocations: 103.2 kB / 0.9098 GB, free: 9.391 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-05/0.7241, allocations: 24 kB / 0.9099 GB, free: 9.367 MB / 0.6231 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.0004326/0.7246, allocations: 377.4 kB / 0.9102 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001341/0.7247, allocations: 94.81 kB / 0.9103 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/0.726, allocations: 0.8008 MB / 0.9111 GB, free: 8.082 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.7261, allocations: 8 kB / 0.9111 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7261, allocations: 4 kB / 0.9111 GB, free: 8.07 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009871/0.7271, allocations: 0.7438 MB / 0.9118 GB, free: 7.297 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002937/0.73, allocations: 2.089 MB / 0.9139 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.73, allocations: 4 kB / 0.9139 GB, free: 5.105 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/0.7306, allocations: 140.2 kB / 0.914 GB, free: 4.969 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.7306, allocations: 8 kB / 0.914 GB, free: 4.961 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.7307, allocations: 19.94 kB / 0.914 GB, free: 4.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.7307, allocations: 4.062 kB / 0.914 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.7307, allocations: 8 kB / 0.9141 GB, free: 4.93 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001771/0.7325, allocations: 1.363 MB / 0.9154 GB, free: 3.504 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003574/0.7329, allocations: 263.8 kB / 0.9156 GB, free: 3.227 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.733, allocations: 19.94 kB / 0.9157 GB, free: 3.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005951/0.7336, allocations: 47.95 kB / 0.9157 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.628e-05/0.7337, allocations: 40.39 kB / 0.9157 GB, free: 3.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.7337, allocations: 31.92 kB / 0.9158 GB, free: 3.09 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006716/0.7344, allocations: 0.5498 MB / 0.9163 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7344, allocations: 8 kB / 0.9163 GB, free: 2.535 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001675/0.7361, allocations: 0.7489 MB / 0.917 GB, free: 1.785 MB / 0.6231 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.00116/0.7373, allocations: 0.5412 MB / 0.9176 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001847/0.7391, allocations: 1.174 MB / 0.9187 GB, free: 76 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7392, allocations: 3.938 kB / 0.9187 GB, free: 72 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.7397, allocations: 376 kB / 0.9191 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/0.7424, allocations: 0.5033 MB / 0.9196 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.7454, allocations: 2.324 MB / 0.9218 GB, free: 12.81 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006621/0.7461, allocations: 1.081 MB / 0.9229 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001259/0.7473, allocations: 414.5 kB / 0.9233 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/0.7476, allocations: 75.44 kB / 0.9234 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of SimCode: time 7.11e-07/0.7476, allocations: 0 / 0.9234 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of Templates: time 0.03541/0.783, allocations: 21.95 MB / 0.9448 GB, free: 5.531 MB / 0.6544 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)