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.8177/0.8177, allocations: 141.8 MB / 149.3 MB, free: 9.234 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.001153/0.001153, allocations: 176.9 kB / 182.2 MB, free: 9.469 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.566/1.566, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001076/0.001076, allocations: 86.7 kB / 0.5074 GB, free: 10.12 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001924/0.001924, allocations: 279.5 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.883e-05/1.867e-05, allocations: 4 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4828/0.4828, allocations: 82.78 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.393/5.876, allocations: 1.908 GB / 2.666 GB, free: 110 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000275/5.876, allocations: 90.7 kB / 2.666 GB, free: 110 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.134/8.01, allocations: 470.1 MB / 3.125 GB, free: 140.9 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.483e-06/8.01, allocations: 2.938 kB / 3.125 GB, free: 140.9 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000132/8.01, allocations: 29.48 kB / 3.125 GB, free: 140.9 MB / 0.698 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.004882/8.015, allocations: 1.476 MB / 3.126 GB, free: 140.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/8.015, allocations: 15.08 kB / 3.126 GB, free: 140.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/8.017, allocations: 280.2 kB / 3.127 GB, free: 140.1 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002284/8.02, allocations: 0.8284 MB / 3.127 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.667e-05/8.02, allocations: 26.86 kB / 3.127 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002346/8.02, allocations: 37.66 kB / 3.127 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001603/8.022, allocations: 0.8557 MB / 3.128 GB, free: 139.9 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00155/8.023, allocations: 0.8737 MB / 3.129 GB, free: 139.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/8.023, allocations: 0 / 3.129 GB, free: 139.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.067e-05/8.023, allocations: 0 / 3.129 GB, free: 139.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.023e-05/8.023, allocations: 78.08 kB / 3.129 GB, free: 139.8 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006049/8.03, allocations: 3.414 MB / 3.133 GB, free: 138.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000986/8.031, allocations: 0.8543 MB / 3.133 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004408/8.031, allocations: 348.1 kB / 3.134 GB, free: 138.2 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002536/8.031, allocations: 191.6 kB / 3.134 GB, free: 138 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/8.031, allocations: 40.03 kB / 3.134 GB, free: 138 MB / 0.698 GB Notification: Performance of pre-optimization done (n=62): time 3.075e-06/8.031, allocations: 5.469 kB / 3.134 GB, free: 138 MB / 0.698 GB Notification: Performance of matching and sorting (n=62): time 0.00167/8.033, allocations: 0.7031 MB / 3.135 GB, free: 137.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.079e-05/8.033, allocations: 109.6 kB / 3.135 GB, free: 137.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008186/8.034, allocations: 0.5507 MB / 3.135 GB, free: 137.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.279e-05/8.034, allocations: 36.09 kB / 3.135 GB, free: 137.6 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002955/8.034, allocations: 418 kB / 3.136 GB, free: 137.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001969/8.035, allocations: 203.7 kB / 3.136 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/8.035, allocations: 1.688 kB / 3.136 GB, free: 137.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001286/8.035, allocations: 391.4 kB / 3.136 GB, free: 137 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004006/8.035, allocations: 289.5 kB / 3.137 GB, free: 137 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/8.036, allocations: 434.7 kB / 3.137 GB, free: 136.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001489/8.037, allocations: 0.6239 MB / 3.138 GB, free: 136.9 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/8.037, allocations: 0 / 3.138 GB, free: 136.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002328/8.039, allocations: 1.07 MB / 3.139 GB, free: 136.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002507/8.04, allocations: 0.8802 MB / 3.14 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/8.04, allocations: 3.031 kB / 3.14 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.34e-05/8.04, allocations: 6.656 kB / 3.14 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007063/8.041, allocations: 140.6 kB / 3.14 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/8.041, allocations: 11.69 kB / 3.14 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/8.042, allocations: 79.44 kB / 3.14 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.363e-05/8.042, allocations: 31.89 kB / 3.14 GB, free: 135.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.029e-05/8.042, allocations: 0 / 3.14 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001729/8.044, allocations: 0.888 MB / 3.141 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/8.044, allocations: 10.59 kB / 3.141 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/8.044, allocations: 11.77 kB / 3.141 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/8.044, allocations: 139.3 kB / 3.141 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/8.044, allocations: 7.344 kB / 3.141 GB, free: 135.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009908/8.045, allocations: 66.92 kB / 3.141 GB, free: 135.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.444e-05/8.045, allocations: 31.78 kB / 3.141 GB, free: 135.8 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002271/8.046, allocations: 119.4 kB / 3.141 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002782/8.046, allocations: 79.91 kB / 3.141 GB, free: 135.7 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/8.047, allocations: 0.7192 MB / 3.142 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/8.048, allocations: 10.42 kB / 3.142 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/8.048, allocations: 3.188 kB / 3.142 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001096/8.049, allocations: 0.6947 MB / 3.142 GB, free: 135.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003636/8.052, allocations: 1.992 MB / 3.144 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/8.052, allocations: 3.875 kB / 3.144 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006556/8.053, allocations: 135 kB / 3.145 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-05/8.053, allocations: 6.594 kB / 3.145 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.703e-05/8.053, allocations: 10.36 kB / 3.145 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.788e-06/8.053, allocations: 6.75 kB / 3.145 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/8.053, allocations: 7 kB / 3.145 GB, free: 134.9 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/8.055, allocations: 1.439 MB / 3.146 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004998/8.055, allocations: 242.6 kB / 3.146 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/8.056, allocations: 7.578 kB / 3.146 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007985/8.056, allocations: 44.92 kB / 3.146 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.106e-05/8.057, allocations: 51.33 kB / 3.146 GB, free: 134.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/8.057, allocations: 21.88 kB / 3.146 GB, free: 134.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005366/8.057, allocations: 426.8 kB / 3.147 GB, free: 134.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.784e-06/8.057, allocations: 0 / 3.147 GB, free: 134.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003057/8.06, allocations: 0.868 MB / 3.148 GB, free: 134 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00383/8.064, allocations: 1.936 MB / 3.149 GB, free: 133.5 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001758/8.066, allocations: 1.059 MB / 3.151 GB, free: 133.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/8.066, allocations: 3.938 kB / 3.151 GB, free: 133.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004194/8.066, allocations: 326 kB / 3.151 GB, free: 133.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/8.069, allocations: 444.2 kB / 3.151 GB, free: 133.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/8.071, allocations: 1.413 MB / 3.153 GB, free: 133.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006365/8.072, allocations: 1.095 MB / 3.154 GB, free: 132.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001591/8.074, allocations: 423.4 kB / 3.154 GB, free: 132.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/8.074, allocations: 56.41 kB / 3.154 GB, free: 132.3 MB / 0.698 GB Notification: Performance of SimCode: time 2.265e-06/8.074, allocations: 3.438 kB / 3.154 GB, free: 132.3 MB / 0.698 GB Notification: Performance of Templates: time 0.04672/8.121, allocations: 27.44 MB / 3.181 GB, free: 130.7 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)