Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 107.1 kB / 16.64 MB, free: 6.371 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.001311/0.001311, allocations: 185.5 kB / 17.56 MB, free: 5.801 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.436/1.436, allocations: 222.9 MB / 241.2 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8423/0.8423, allocations: 125.4 MB / 416.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 0.4943 GB, free: 4.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.443, allocations: 78.56 MB / 0.571 GB, free: 31.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.MixingVolumes.Validation.MixingVolume): time 0.6802/1.123, allocations: 239.8 MB / 0.8052 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02168/1.145, allocations: 15.87 MB / 0.8207 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004221/1.149, allocations: 73.97 kB / 0.8208 GB, free: 1.141 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003636/1.153, allocations: 1.052 MB / 0.8218 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01187/1.165, allocations: 3.565 MB / 0.8253 GB, free: 0.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005561/1.17, allocations: 1.659 MB / 0.8269 GB, free: 0.9023 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007904/1.178, allocations: 5.243 MB / 0.832 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/1.181, allocations: 1.627 MB / 0.8336 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007721/1.189, allocations: 2.872 MB / 0.8364 GB, free: 0 / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004814/1.194, allocations: 1.782 MB / 0.8382 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005956/1.194, allocations: 176.1 kB / 0.8383 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007006/1.201, allocations: 2.817 MB / 0.8411 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001519/1.203, allocations: 0.774 MB / 0.8418 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002482/1.205, allocations: 1.15 MB / 0.843 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005063/1.21, allocations: 2.644 MB / 0.8455 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/1.211, allocations: 0 / 0.8455 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.294e-06/1.211, allocations: 0 / 0.8455 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.611e-05/1.211, allocations: 0 / 0.8455 GB, free: 11.79 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.005308/1.216, allocations: 2.496 MB / 0.848 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/1.216, allocations: 9.031 kB / 0.848 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003241/1.219, allocations: 0.509 MB / 0.8485 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002913/1.222, allocations: 1.277 MB / 0.8497 GB, free: 8.906 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001965/1.222, allocations: 172.2 kB / 0.8499 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002866/1.223, allocations: 151.9 kB / 0.85 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003404/1.226, allocations: 1.741 MB / 0.8517 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/1.226, allocations: 2.438 kB / 0.8517 GB, free: 6.824 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001533/1.226, allocations: 64 kB / 0.8518 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.822e-05/1.226, allocations: 58.69 kB / 0.8519 GB, free: 6.703 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002696/1.229, allocations: 1.38 MB / 0.8532 GB, free: 5.332 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.01179/1.241, allocations: 8.353 MB / 0.8614 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001738/1.243, allocations: 0.9026 MB / 0.8622 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009094/1.244, allocations: 0.5341 MB / 0.8628 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006705/1.244, allocations: 319.4 kB / 0.8631 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/1.244, allocations: 54.03 kB / 0.8631 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=96): time 2.524e-06/1.244, allocations: 0 / 0.8631 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=102): time 0.008116/1.252, allocations: 3.112 MB / 0.8662 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.545e-05/1.253, allocations: 64.41 kB / 0.8662 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001904/1.254, allocations: 1.27 MB / 0.8675 GB, free: 6.023 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001645/1.255, allocations: 49.7 kB / 0.8675 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000728/1.255, allocations: 0.8108 MB / 0.8683 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/1.256, allocations: 367 kB / 0.8686 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003626/1.256, allocations: 226.8 kB / 0.8689 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001776/1.256, allocations: 348.5 kB / 0.8692 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000877/1.257, allocations: 449.8 kB / 0.8696 GB, free: 3.773 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/1.258, allocations: 0.8232 MB / 0.8704 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002082/1.261, allocations: 1.25 MB / 0.8717 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/1.261, allocations: 4 kB / 0.8717 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002757/1.263, allocations: 1.41 MB / 0.873 GB, free: 72 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.879e-05/1.263, allocations: 18.28 kB / 0.8731 GB, free: 56 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/1.263, allocations: 8 kB / 0.8731 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/1.263, allocations: 16 kB / 0.8731 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/1.265, allocations: 278.3 kB / 0.8733 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.842e-05/1.265, allocations: 18.62 kB / 0.8734 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001956/1.267, allocations: 178.1 kB / 0.8735 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001025/1.267, allocations: 52 kB / 0.8736 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001509/1.268, allocations: 0.7679 MB / 0.8743 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001178/1.269, allocations: 0.8218 MB / 0.8751 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002002/1.271, allocations: 1.234 MB / 0.8763 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.573e-06/1.271, allocations: 4 kB / 0.8763 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002629/1.274, allocations: 1.384 MB / 0.8777 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/1.274, allocations: 12.92 kB / 0.8777 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/1.274, allocations: 10.53 kB / 0.8777 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/1.274, allocations: 16 kB / 0.8777 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/1.275, allocations: 273.7 kB / 0.878 GB, free: 10.84 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.499e-05/1.275, allocations: 22.61 kB / 0.878 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001952/1.277, allocations: 179.5 kB / 0.8782 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-05/1.277, allocations: 51.94 kB / 0.8782 GB, free: 10.59 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.000419/1.278, allocations: 258 kB / 0.8785 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002949/1.278, allocations: 162 kB / 0.8786 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002372/1.281, allocations: 1.161 MB / 0.8798 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.281, allocations: 12 kB / 0.8798 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.281, allocations: 3.938 kB / 0.8798 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00181/1.282, allocations: 1.082 MB / 0.8808 GB, free: 7.871 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005226/1.288, allocations: 2.793 MB / 0.8836 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/1.288, allocations: 7.938 kB / 0.8836 GB, free: 5.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001212/1.289, allocations: 242.2 kB / 0.8838 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/1.289, allocations: 8 kB / 0.8838 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.399e-05/1.289, allocations: 31.98 kB / 0.8838 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/1.289, allocations: 4 kB / 0.8838 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.289, allocations: 4 kB / 0.8838 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/1.292, allocations: 1.77 MB / 0.8856 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008633/1.293, allocations: 335 kB / 0.8859 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/1.293, allocations: 31.98 kB / 0.8859 GB, free: 2.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/1.295, allocations: 136 kB / 0.8861 GB, free: 2.441 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/1.295, allocations: 71.47 kB / 0.8861 GB, free: 2.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.512e-05/1.295, allocations: 35.98 kB / 0.8862 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001245/1.296, allocations: 0.8465 MB / 0.887 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.7e-07/1.296, allocations: 4 kB / 0.887 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002236/1.298, allocations: 0.7578 MB / 0.8877 GB, free: 0.7344 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.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 (102): * Single equations (assignments): 102 * 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.0006913/1.299, allocations: 284.1 kB / 0.888 GB, free: 492 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004221/1.303, allocations: 2.002 MB / 0.89 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/1.303, allocations: 4.125 kB / 0.89 GB, free: 14.56 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009347/1.304, allocations: 0.5163 MB / 0.8905 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004391/1.309, allocations: 0.9205 MB / 0.8914 GB, free: 13.19 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00706/1.316, allocations: 4.241 MB / 0.8955 GB, free: 8.91 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001264/1.317, allocations: 1.441 MB / 0.8969 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006298/1.318, allocations: 135.4 kB / 0.897 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of SimCode: time 1.303e-06/1.318, allocations: 0 / 0.897 GB, free: 7.301 MB / 0.6387 GB Notification: Performance of Templates: time 0.04707/1.365, allocations: 26.47 MB / 0.9229 GB, free: 13.06 MB / 0.67 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1)