Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00104/0.00104, allocations: 90.84 kB / 16.67 MB, free: 5.742 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.001126/0.001126, allocations: 179.7 kB / 17.58 MB, free: 5.477 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.37/1.37, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7358/0.7358, allocations: 115.5 MB / 408.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003881/0.0003884, allocations: 8 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4477/0.4481, allocations: 77.53 MB / 0.5606 GB, free: 36.2 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization): time 0.2042/0.6524, allocations: 183.7 MB / 0.74 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01646/0.6689, allocations: 11.02 MB / 0.7508 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.4035/1.072, allocations: 42.67 kB / 0.7508 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/1.074, allocations: 427.6 kB / 0.7512 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007526/1.082, allocations: 2.419 MB / 0.7536 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006111/1.088, allocations: 2.069 MB / 0.7556 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00712/1.095, allocations: 3.987 MB / 0.7595 GB, free: 2.047 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001866/1.097, allocations: 0.6471 MB / 0.7601 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002722/1.1, allocations: 0.8327 MB / 0.7609 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003172/1.103, allocations: 1.058 MB / 0.762 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004399/1.103, allocations: 44.22 kB / 0.762 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007962/1.111, allocations: 3.289 MB / 0.7652 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001006/1.112, allocations: 385.8 kB / 0.7656 GB, free: 1.961 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002247/1.115, allocations: 0.5524 MB / 0.7661 GB, free: 17.93 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004943/1.12, allocations: 2.091 MB / 0.7682 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/1.12, allocations: 4 kB / 0.7682 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.314e-06/1.12, allocations: 0 / 0.7682 GB, free: 17.77 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.299e-05/1.12, allocations: 1.125 kB / 0.7682 GB, free: 17.77 MB / 0.5919 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.005084/1.125, allocations: 1.473 MB / 0.7696 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/1.125, allocations: 14.38 kB / 0.7696 GB, free: 16.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002431/1.127, allocations: 301 kB / 0.7699 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/1.129, allocations: 0.7685 MB / 0.7707 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.127e-05/1.129, allocations: 53.77 kB / 0.7707 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003249/1.13, allocations: 67.61 kB / 0.7708 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002479/1.132, allocations: 0.9968 MB / 0.7718 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.722e-05/1.132, allocations: 2.609 kB / 0.7718 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/1.132, allocations: 25.95 kB / 0.7718 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001366/1.133, allocations: 75.27 kB / 0.7719 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002212/1.135, allocations: 1.011 MB / 0.7728 GB, free: 16.43 MB / 0.5919 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.007557/1.142, allocations: 3.593 MB / 0.7763 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/1.144, allocations: 0.6569 MB / 0.777 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006478/1.144, allocations: 384.4 kB / 0.7774 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000307/1.145, allocations: 196.3 kB / 0.7775 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/1.145, allocations: 44.88 kB / 0.7776 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=62): time 3.426e-06/1.145, allocations: 3.75 kB / 0.7776 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of matching and sorting (n=62): time 0.002082/1.147, allocations: 1.025 MB / 0.7786 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.383e-05/1.147, allocations: 108.6 kB / 0.7787 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/1.148, allocations: 0.8019 MB / 0.7795 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.77e-05/1.148, allocations: 39.33 kB / 0.7795 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/1.149, allocations: 421.9 kB / 0.7799 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/1.149, allocations: 224.6 kB / 0.7801 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/1.149, allocations: 61.81 kB / 0.7802 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.149, allocations: 334.4 kB / 0.7805 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/1.15, allocations: 337.7 kB / 0.7808 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006396/1.15, allocations: 457.7 kB / 0.7813 GB, free: 13.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/1.151, allocations: 0.7738 MB / 0.782 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.151, allocations: 4 kB / 0.782 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001583/1.153, allocations: 0.9311 MB / 0.7829 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.153, allocations: 158.7 kB / 0.7831 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/1.153, allocations: 2.938 kB / 0.7831 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/1.153, allocations: 6.031 kB / 0.7831 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006772/1.154, allocations: 150.2 kB / 0.7832 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.694e-05/1.154, allocations: 8.25 kB / 0.7832 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001167/1.155, allocations: 108 kB / 0.7833 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.646e-05/1.155, allocations: 31.64 kB / 0.7834 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/1.155, allocations: 5.062 kB / 0.7834 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001233/1.156, allocations: 0.7707 MB / 0.7841 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/1.156, allocations: 2.625 kB / 0.7841 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/1.156, allocations: 14.38 kB / 0.7842 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006138/1.157, allocations: 145.3 kB / 0.7843 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/1.157, allocations: 6.656 kB / 0.7843 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/1.158, allocations: 106.3 kB / 0.7844 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.725e-05/1.158, allocations: 27.41 kB / 0.7844 GB, free: 13.24 MB / 0.5919 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.0005903/1.159, allocations: 374.7 kB / 0.7848 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/1.159, allocations: 90.56 kB / 0.7849 GB, free: 13 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001415/1.16, allocations: 0.8057 MB / 0.7857 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.16, allocations: 10.41 kB / 0.7857 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/1.16, allocations: 0 / 0.7857 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009653/1.161, allocations: 0.7459 MB / 0.7864 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/1.165, allocations: 2.09 MB / 0.7884 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/1.165, allocations: 6.875 kB / 0.7884 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/1.166, allocations: 133.7 kB / 0.7886 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.485e-05/1.166, allocations: 12.41 kB / 0.7886 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.362e-05/1.166, allocations: 15.41 kB / 0.7886 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/1.166, allocations: 13.12 kB / 0.7886 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/1.166, allocations: 5.25 kB / 0.7886 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/1.168, allocations: 1.358 MB / 0.7899 GB, free: 12 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006229/1.168, allocations: 259.2 kB / 0.7902 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002494/1.168, allocations: 16 kB / 0.7902 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008455/1.169, allocations: 57.42 kB / 0.7903 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.483e-05/1.169, allocations: 42.44 kB / 0.7903 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.171e-05/1.169, allocations: 24.27 kB / 0.7903 GB, free: 11.83 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0007721/1.17, allocations: 0.5562 MB / 0.7909 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.17, allocations: 0 / 0.7909 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002479/1.173, allocations: 0.7559 MB / 0.7916 GB, free: 11.61 MB / 0.5919 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.001774/1.174, allocations: 0.5396 MB / 0.7921 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002014/1.177, allocations: 1.169 MB / 0.7933 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/1.177, allocations: 0 / 0.7933 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000511/1.177, allocations: 375.4 kB / 0.7936 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/1.18, allocations: 0.5126 MB / 0.7941 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003829/1.184, allocations: 2.399 MB / 0.7965 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008481/1.185, allocations: 1.076 MB / 0.7975 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004253/1.186, allocations: 84.17 kB / 0.7976 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of SimCode: time 1.122e-06/1.186, allocations: 0 / 0.7976 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of Templates: time 0.03138/1.217, allocations: 18.34 MB / 0.8155 GB, free: 344 kB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolumeInitialization.pipe 2>&1)